0s autopkgtest [13:10:37]: starting date and time: 2025-02-21 13:10:37+0000 0s autopkgtest [13:10:37]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [13:10:37]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.idgy3me3/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:build-essential --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=build-essential/12.12 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-s390x-2.secgroup --name adt-plucky-s390x-glib2.0-20250221-131036-juju-7f2275-prod-proposed-migration-environment-20-5a8bdd53-6444-4d7c-850a-57bdb1b70f3c --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-s390x -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/ 108s autopkgtest [13:12:25]: testbed dpkg architecture: s390x 108s autopkgtest [13:12:25]: testbed apt version: 2.9.30ubuntu1 108s autopkgtest [13:12:25]: @@@@@@@@@@@@@@@@@@@@ test bed setup 108s autopkgtest [13:12:25]: testbed release detected to be: None 109s autopkgtest [13:12:26]: updating testbed package index (apt update) 109s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 110s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 110s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 110s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 110s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [719 kB] 110s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [90.3 kB] 110s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 110s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.8 kB] 110s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [131 kB] 110s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [760 B] 110s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [637 kB] 110s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4436 B] 110s Fetched 1711 kB in 1s (1910 kB/s) 111s Reading package lists... 111s Reading package lists... 111s Building dependency tree... 111s Reading state information... 112s Calculating upgrade... 112s Calculating upgrade... 112s The following packages were automatically installed and are no longer required: 112s libnsl2 libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 112s linux-headers-6.11.0-8 linux-headers-6.11.0-8-generic 112s linux-modules-6.11.0-8-generic linux-tools-6.11.0-8 112s linux-tools-6.11.0-8-generic 112s Use 'sudo apt autoremove' to remove them. 112s The following packages will be upgraded: 112s base-files gcc-14-base motd-news-config 112s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 112s Need to get 134 kB of archives. 112s After this operation, 0 B of additional disk space will be used. 112s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x motd-news-config all 13.6ubuntu1 [5168 B] 112s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x base-files s390x 13.6ubuntu1 [75.4 kB] 112s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-base s390x 14.2.0-17ubuntu3 [53.6 kB] 112s Fetched 134 kB in 0s (325 kB/s) 113s (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 ... 81030 files and directories currently installed.) 113s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ... 113s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ... 113s Preparing to unpack .../base-files_13.6ubuntu1_s390x.deb ... 113s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ... 113s Setting up base-files (13.6ubuntu1) ... 113s Updating /root/.profile to current default. 113s motd-news.service is a disabled or a static unit not running, not starting it. 113s (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 ... 81030 files and directories currently installed.) 113s Preparing to unpack .../gcc-14-base_14.2.0-17ubuntu3_s390x.deb ... 113s Unpacking gcc-14-base:s390x (14.2.0-17ubuntu3) over (14.2.0-17ubuntu1) ... 113s Setting up motd-news-config (13.6ubuntu1) ... 113s Setting up gcc-14-base:s390x (14.2.0-17ubuntu3) ... 113s Processing triggers for plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ... 113s Processing triggers for install-info (7.1.1-1) ... 113s Processing triggers for man-db (2.13.0-1) ... 113s Processing triggers for initramfs-tools (0.145ubuntu2) ... 113s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic 113s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 117s Using config file '/etc/zipl.conf' 117s Building bootmap in '/boot' 117s Adding IPL section 'ubuntu' (default) 117s Preparing boot device for LD-IPL: vda (0000). 117s Done. 118s Reading package lists... 118s Building dependency tree... 118s Reading state information... 118s Solving dependencies... 118s The following packages will be REMOVED: 118s libnsl2* libpython3.12-minimal* libpython3.12-stdlib* libpython3.12t64* 118s linux-headers-6.11.0-8* linux-headers-6.11.0-8-generic* 118s linux-modules-6.11.0-8-generic* linux-tools-6.11.0-8* 118s linux-tools-6.11.0-8-generic* 118s 0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded. 118s After this operation, 167 MB disk space will be freed. 118s (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 ... 81030 files and directories currently installed.) 118s Removing linux-tools-6.11.0-8-generic (6.11.0-8.8) ... 118s Removing linux-tools-6.11.0-8 (6.11.0-8.8) ... 118s Removing libpython3.12t64:s390x (3.12.9-1) ... 118s Removing libpython3.12-stdlib:s390x (3.12.9-1) ... 118s Removing libnsl2:s390x (1.3.0-3build3) ... 118s Removing libpython3.12-minimal:s390x (3.12.9-1) ... 118s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 118s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 119s Removing linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 119s Processing triggers for libc-bin (2.40-4ubuntu1) ... 119s (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 ... 55930 files and directories currently installed.) 119s Purging configuration files for libpython3.12-minimal:s390x (3.12.9-1) ... 119s Purging configuration files for linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 120s autopkgtest [13:12:37]: upgrading testbed (apt dist-upgrade and autopurge) 120s Reading package lists... 120s Building dependency tree... 120s Reading state information... 120s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 120s Starting 2 pkgProblemResolver with broken count: 0 120s Done 120s Entering ResolveByKeep 120s 120s Calculating upgrade... 120s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 121s Reading package lists... 121s Building dependency tree... 121s Reading state information... 121s Starting pkgProblemResolver with broken count: 0 121s Starting 2 pkgProblemResolver with broken count: 0 121s Done 121s Solving dependencies... 121s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 121s autopkgtest [13:12:38]: rebooting testbed after setup commands that affected boot 140s autopkgtest [13:12:57]: testbed running kernel: Linux 6.12.0-15-generic #15-Ubuntu SMP Tue Feb 4 15:05:57 UTC 2025 142s autopkgtest [13:12:59]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 152s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.83.3-2 (dsc) [4812 B] 152s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.83.3-2 (tar) [670 kB] 152s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.83.3-2 (tar) [5603 kB] 152s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.83.3-2 (diff) [136 kB] 152s gpgv: Signature made Tue Feb 4 19:07:25 2025 UTC 152s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 152s gpgv: Can't check signature: No public key 152s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.83.3-2.dsc: no acceptable signature found 152s autopkgtest [13:13:09]: testing package glib2.0 version 2.83.3-2 157s autopkgtest [13:13:14]: build not needed 165s autopkgtest [13:13:22]: test build: preparing testbed 166s Reading package lists... 166s Building dependency tree... 166s Reading state information... 166s Starting pkgProblemResolver with broken count: 0 166s Starting 2 pkgProblemResolver with broken count: 0 166s Done 166s The following NEW packages will be installed: 166s build-essential cpp cpp-14 cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu g++ 166s g++-14 g++-14-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-14 166s gcc-14-s390x-linux-gnu gcc-s390x-linux-gnu libasan8 libblkid-dev libcc1-0 166s libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1 libisl23 libitm1 166s libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 166s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-14-dev 166s libsysprof-capture-4-dev libubsan1 pkgconf pkgconf-bin uuid-dev zlib1g-dev 166s 0 upgraded, 38 newly installed, 0 to remove and 0 not upgraded. 166s Need to get 53.8 MB of archives. 166s After this operation, 177 MB of additional disk space will be used. 166s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libisl23 s390x 0.27-1 [704 kB] 167s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x libmpc3 s390x 1.3.1-1build2 [57.8 kB] 167s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14-s390x-linux-gnu s390x 14.2.0-17ubuntu3 [9572 kB] 167s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14 s390x 14.2.0-17ubuntu3 [1028 B] 167s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [5556 B] 167s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x cpp s390x 4:14.2.0-1ubuntu1 [22.4 kB] 167s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libcc1-0 s390x 15-20250213-1ubuntu1 [49.2 kB] 167s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libgomp1 s390x 15-20250213-1ubuntu1 [151 kB] 167s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libitm1 s390x 15-20250213-1ubuntu1 [31.2 kB] 167s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libasan8 s390x 15-20250213-1ubuntu1 [2970 kB] 167s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libubsan1 s390x 15-20250213-1ubuntu1 [1213 kB] 167s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-14-dev s390x 14.2.0-17ubuntu3 [1037 kB] 167s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-s390x-linux-gnu s390x 14.2.0-17ubuntu3 [18.7 MB] 168s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14 s390x 14.2.0-17ubuntu3 [526 kB] 168s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [1204 B] 168s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x gcc s390x 4:14.2.0-1ubuntu1 [5004 B] 168s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++-14-dev s390x 14.2.0-17ubuntu3 [2611 kB] 168s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14-s390x-linux-gnu s390x 14.2.0-17ubuntu3 [11.0 MB] 168s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14 s390x 14.2.0-17ubuntu3 [21.8 kB] 168s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x g++-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [956 B] 168s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x g++ s390x 4:14.2.0-1ubuntu1 [1080 B] 168s Get:22 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x build-essential s390x 12.12 [4610 B] 168s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libffi-dev s390x 3.4.7-1 [58.9 kB] 168s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x uuid-dev s390x 2.40.2-14ubuntu1 [54.0 kB] 168s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x libblkid-dev s390x 2.40.2-14ubuntu1 [233 kB] 168s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x libsepol-dev s390x 3.7-1 [412 kB] 168s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-16-0 s390x 10.42-4ubuntu3 [236 kB] 168s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-32-0 s390x 10.42-4ubuntu3 [221 kB] 168s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-posix3 s390x 10.42-4ubuntu3 [6820 B] 168s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-dev s390x 10.42-4ubuntu3 [815 kB] 168s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libselinux1-dev s390x 3.7-3ubuntu2 [169 kB] 168s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libmount-dev s390x 2.40.2-14ubuntu1 [34.6 kB] 168s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libsysprof-capture-4-dev s390x 48~beta-2 [51.9 kB] 168s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x libpkgconf3 s390x 1.8.1-4 [31.2 kB] 168s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf-bin s390x 1.8.1-4 [21.5 kB] 168s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf s390x 1.8.1-4 [16.7 kB] 168s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x zlib1g-dev s390x 1:1.3.dfsg+really1.3.1-1ubuntu1 [898 kB] 168s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x libgio-2.0-dev s390x 2.83.3-2 [1818 kB] 168s Fetched 53.8 MB in 2s (27.5 MB/s) 168s Selecting previously unselected package libisl23:s390x. 168s (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 ... 55928 files and directories currently installed.) 168s Preparing to unpack .../00-libisl23_0.27-1_s390x.deb ... 168s Unpacking libisl23:s390x (0.27-1) ... 169s Selecting previously unselected package libmpc3:s390x. 169s Preparing to unpack .../01-libmpc3_1.3.1-1build2_s390x.deb ... 169s Unpacking libmpc3:s390x (1.3.1-1build2) ... 169s Selecting previously unselected package cpp-14-s390x-linux-gnu. 169s Preparing to unpack .../02-cpp-14-s390x-linux-gnu_14.2.0-17ubuntu3_s390x.deb ... 169s Unpacking cpp-14-s390x-linux-gnu (14.2.0-17ubuntu3) ... 169s Selecting previously unselected package cpp-14. 169s Preparing to unpack .../03-cpp-14_14.2.0-17ubuntu3_s390x.deb ... 169s Unpacking cpp-14 (14.2.0-17ubuntu3) ... 169s Selecting previously unselected package cpp-s390x-linux-gnu. 169s Preparing to unpack .../04-cpp-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ... 169s Unpacking cpp-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 169s Selecting previously unselected package cpp. 169s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_s390x.deb ... 169s Unpacking cpp (4:14.2.0-1ubuntu1) ... 169s Selecting previously unselected package libcc1-0:s390x. 169s Preparing to unpack .../06-libcc1-0_15-20250213-1ubuntu1_s390x.deb ... 169s Unpacking libcc1-0:s390x (15-20250213-1ubuntu1) ... 169s Selecting previously unselected package libgomp1:s390x. 169s Preparing to unpack .../07-libgomp1_15-20250213-1ubuntu1_s390x.deb ... 169s Unpacking libgomp1:s390x (15-20250213-1ubuntu1) ... 169s Selecting previously unselected package libitm1:s390x. 169s Preparing to unpack .../08-libitm1_15-20250213-1ubuntu1_s390x.deb ... 169s Unpacking libitm1:s390x (15-20250213-1ubuntu1) ... 169s Selecting previously unselected package libasan8:s390x. 169s Preparing to unpack .../09-libasan8_15-20250213-1ubuntu1_s390x.deb ... 169s Unpacking libasan8:s390x (15-20250213-1ubuntu1) ... 169s Selecting previously unselected package libubsan1:s390x. 169s Preparing to unpack .../10-libubsan1_15-20250213-1ubuntu1_s390x.deb ... 169s Unpacking libubsan1:s390x (15-20250213-1ubuntu1) ... 169s Selecting previously unselected package libgcc-14-dev:s390x. 169s Preparing to unpack .../11-libgcc-14-dev_14.2.0-17ubuntu3_s390x.deb ... 169s Unpacking libgcc-14-dev:s390x (14.2.0-17ubuntu3) ... 169s Selecting previously unselected package gcc-14-s390x-linux-gnu. 169s Preparing to unpack .../12-gcc-14-s390x-linux-gnu_14.2.0-17ubuntu3_s390x.deb ... 169s Unpacking gcc-14-s390x-linux-gnu (14.2.0-17ubuntu3) ... 169s Selecting previously unselected package gcc-14. 169s Preparing to unpack .../13-gcc-14_14.2.0-17ubuntu3_s390x.deb ... 169s Unpacking gcc-14 (14.2.0-17ubuntu3) ... 169s Selecting previously unselected package gcc-s390x-linux-gnu. 169s Preparing to unpack .../14-gcc-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ... 169s Unpacking gcc-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 169s Selecting previously unselected package gcc. 169s Preparing to unpack .../15-gcc_4%3a14.2.0-1ubuntu1_s390x.deb ... 169s Unpacking gcc (4:14.2.0-1ubuntu1) ... 169s Selecting previously unselected package libstdc++-14-dev:s390x. 169s Preparing to unpack .../16-libstdc++-14-dev_14.2.0-17ubuntu3_s390x.deb ... 169s Unpacking libstdc++-14-dev:s390x (14.2.0-17ubuntu3) ... 169s Selecting previously unselected package g++-14-s390x-linux-gnu. 169s Preparing to unpack .../17-g++-14-s390x-linux-gnu_14.2.0-17ubuntu3_s390x.deb ... 169s Unpacking g++-14-s390x-linux-gnu (14.2.0-17ubuntu3) ... 169s Selecting previously unselected package g++-14. 169s Preparing to unpack .../18-g++-14_14.2.0-17ubuntu3_s390x.deb ... 169s Unpacking g++-14 (14.2.0-17ubuntu3) ... 169s Selecting previously unselected package g++-s390x-linux-gnu. 169s Preparing to unpack .../19-g++-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ... 169s Unpacking g++-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 169s Selecting previously unselected package g++. 169s Preparing to unpack .../20-g++_4%3a14.2.0-1ubuntu1_s390x.deb ... 169s Unpacking g++ (4:14.2.0-1ubuntu1) ... 169s Selecting previously unselected package build-essential. 169s Preparing to unpack .../21-build-essential_12.12_s390x.deb ... 169s Unpacking build-essential (12.12) ... 169s Selecting previously unselected package libffi-dev:s390x. 169s Preparing to unpack .../22-libffi-dev_3.4.7-1_s390x.deb ... 169s Unpacking libffi-dev:s390x (3.4.7-1) ... 169s Selecting previously unselected package uuid-dev:s390x. 169s Preparing to unpack .../23-uuid-dev_2.40.2-14ubuntu1_s390x.deb ... 169s Unpacking uuid-dev:s390x (2.40.2-14ubuntu1) ... 169s Selecting previously unselected package libblkid-dev:s390x. 169s Preparing to unpack .../24-libblkid-dev_2.40.2-14ubuntu1_s390x.deb ... 169s Unpacking libblkid-dev:s390x (2.40.2-14ubuntu1) ... 169s Selecting previously unselected package libsepol-dev:s390x. 169s Preparing to unpack .../25-libsepol-dev_3.7-1_s390x.deb ... 169s Unpacking libsepol-dev:s390x (3.7-1) ... 169s Selecting previously unselected package libpcre2-16-0:s390x. 169s Preparing to unpack .../26-libpcre2-16-0_10.42-4ubuntu3_s390x.deb ... 169s Unpacking libpcre2-16-0:s390x (10.42-4ubuntu3) ... 169s Selecting previously unselected package libpcre2-32-0:s390x. 169s Preparing to unpack .../27-libpcre2-32-0_10.42-4ubuntu3_s390x.deb ... 169s Unpacking libpcre2-32-0:s390x (10.42-4ubuntu3) ... 169s Selecting previously unselected package libpcre2-posix3:s390x. 169s Preparing to unpack .../28-libpcre2-posix3_10.42-4ubuntu3_s390x.deb ... 169s Unpacking libpcre2-posix3:s390x (10.42-4ubuntu3) ... 169s Selecting previously unselected package libpcre2-dev:s390x. 169s Preparing to unpack .../29-libpcre2-dev_10.42-4ubuntu3_s390x.deb ... 169s Unpacking libpcre2-dev:s390x (10.42-4ubuntu3) ... 169s Selecting previously unselected package libselinux1-dev:s390x. 169s Preparing to unpack .../30-libselinux1-dev_3.7-3ubuntu2_s390x.deb ... 169s Unpacking libselinux1-dev:s390x (3.7-3ubuntu2) ... 170s Selecting previously unselected package libmount-dev:s390x. 170s Preparing to unpack .../31-libmount-dev_2.40.2-14ubuntu1_s390x.deb ... 170s Unpacking libmount-dev:s390x (2.40.2-14ubuntu1) ... 170s Selecting previously unselected package libsysprof-capture-4-dev:s390x. 170s Preparing to unpack .../32-libsysprof-capture-4-dev_48~beta-2_s390x.deb ... 170s Unpacking libsysprof-capture-4-dev:s390x (48~beta-2) ... 170s Selecting previously unselected package libpkgconf3:s390x. 170s Preparing to unpack .../33-libpkgconf3_1.8.1-4_s390x.deb ... 170s Unpacking libpkgconf3:s390x (1.8.1-4) ... 170s Selecting previously unselected package pkgconf-bin. 170s Preparing to unpack .../34-pkgconf-bin_1.8.1-4_s390x.deb ... 170s Unpacking pkgconf-bin (1.8.1-4) ... 170s Selecting previously unselected package pkgconf:s390x. 170s Preparing to unpack .../35-pkgconf_1.8.1-4_s390x.deb ... 170s Unpacking pkgconf:s390x (1.8.1-4) ... 170s Selecting previously unselected package zlib1g-dev:s390x. 170s Preparing to unpack .../36-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_s390x.deb ... 170s Unpacking zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 170s Selecting previously unselected package libgio-2.0-dev:s390x. 170s Preparing to unpack .../37-libgio-2.0-dev_2.83.3-2_s390x.deb ... 170s Unpacking libgio-2.0-dev:s390x (2.83.3-2) ... 170s Setting up libgomp1:s390x (15-20250213-1ubuntu1) ... 170s Setting up libffi-dev:s390x (3.4.7-1) ... 170s Setting up libpcre2-16-0:s390x (10.42-4ubuntu3) ... 170s Setting up libsysprof-capture-4-dev:s390x (48~beta-2) ... 170s Setting up libpcre2-32-0:s390x (10.42-4ubuntu3) ... 170s Setting up libpkgconf3:s390x (1.8.1-4) ... 170s Setting up uuid-dev:s390x (2.40.2-14ubuntu1) ... 170s Setting up libmpc3:s390x (1.3.1-1build2) ... 170s Setting up libsepol-dev:s390x (3.7-1) ... 170s Setting up pkgconf-bin (1.8.1-4) ... 170s Setting up libubsan1:s390x (15-20250213-1ubuntu1) ... 170s Setting up zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 170s Setting up libpcre2-posix3:s390x (10.42-4ubuntu3) ... 170s Setting up libasan8:s390x (15-20250213-1ubuntu1) ... 170s Setting up libisl23:s390x (0.27-1) ... 170s Setting up libcc1-0:s390x (15-20250213-1ubuntu1) ... 170s Setting up libitm1:s390x (15-20250213-1ubuntu1) ... 170s Setting up libblkid-dev:s390x (2.40.2-14ubuntu1) ... 170s Setting up libpcre2-dev:s390x (10.42-4ubuntu3) ... 170s Setting up libselinux1-dev:s390x (3.7-3ubuntu2) ... 170s Setting up pkgconf:s390x (1.8.1-4) ... 170s Setting up cpp-14-s390x-linux-gnu (14.2.0-17ubuntu3) ... 170s Setting up cpp-14 (14.2.0-17ubuntu3) ... 170s Setting up libgcc-14-dev:s390x (14.2.0-17ubuntu3) ... 170s Setting up libstdc++-14-dev:s390x (14.2.0-17ubuntu3) ... 170s Setting up libmount-dev:s390x (2.40.2-14ubuntu1) ... 170s Setting up libgio-2.0-dev:s390x (2.83.3-2) ... 170s Setting up cpp-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 170s Setting up gcc-14-s390x-linux-gnu (14.2.0-17ubuntu3) ... 170s Setting up gcc-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 170s Setting up g++-14-s390x-linux-gnu (14.2.0-17ubuntu3) ... 170s Setting up cpp (4:14.2.0-1ubuntu1) ... 170s Setting up g++-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 170s Setting up gcc-14 (14.2.0-17ubuntu3) ... 170s Setting up g++-14 (14.2.0-17ubuntu3) ... 170s Setting up gcc (4:14.2.0-1ubuntu1) ... 170s Setting up g++ (4:14.2.0-1ubuntu1) ... 170s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 170s Setting up build-essential (12.12) ... 170s Processing triggers for libc-bin (2.40-4ubuntu1) ... 170s Processing triggers for man-db (2.13.0-1) ... 170s Processing triggers for libglib2.0-0t64:s390x (2.83.3-2) ... 170s No schema files found: doing nothing. 170s Processing triggers for install-info (7.1.1-1) ... 171s autopkgtest [13:13:28]: test build: [----------------------- 172s + mode=dynamic 172s + getopt -o --long static -n debian/tests/build -- 172s + getopt_temp= -- 172s + eval set -- -- 172s + set -- -- 172s + true 172s + shift 172s + break 172s + mktemp -d 172s + WORKDIR=/tmp/tmp.e2zBPzTUwq 172s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 172s + cd /tmp/tmp.e2zBPzTUwq 172s + [ -n ] 172s + CROSS_COMPILE= 172s + cat 172s + cat 172s + cat 172s + cat 172s + cat 172s + cat 172s + cflags= 172s + pcflags= 172s + packages=glib-2.0 172s + pkg-config --cflags --libs glib-2.0 172s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 172s build (glib, dynamic): OK 172s run (glib, dynamic): OK 172s + echo build (glib, dynamic): OK 172s + [ -x glib-dynamic ] 172s + foo=bar ./glib-dynamic 172s + echo run (glib, dynamic): OK 172s + cflags= 172s + pcflags= 172s + packages=gobject-2.0 172s + pkg-config --cflags --libs gobject-2.0 172s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 172s + echo build (gobject, dynamic): OK 172s + [ -x gobject-dynamic ] 172s + foo=bar ./gobject-dynamic 172s build (gobject, dynamic): OK 172s run (gobject, dynamic): OK 172s + echo run (gobject, dynamic): OK 172s + cflags= 172s + pcflags= 172s + packages=gio-2.0 172s + pkg-config --cflags --libs gio-2.0 172s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 172s + echo build (gio, dynamic): OK 172s + [ -x gio-dynamic ] 172s + foo=bar ./gio-dynamic 172s build (gio, dynamic): OK 172s + echo run (gio, dynamic): OK 172s + cflags= 172s + pcflags= 172s + packages=gio-unix-2.0 172s run (gio, dynamic): OK 172s + pkg-config --cflags --libs gio-unix-2.0 172s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 172s + echo build (gio-unix, dynamic): OK 172s + [ -x gio-unix-dynamic ] 172s + foo=bar ./gio-unix-dynamic 172s build (gio-unix, dynamic): OK 172s + echo run (gio-unix, dynamic): OK 172s + cflags= 172s + pcflags= 172s + packages=gmodule-2.0 172s run (gio-unix, dynamic): OK 172s + pkg-config --cflags --libs gmodule-2.0 172s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 172s + echo build (gmodule, dynamic): OK 172s + [ -x gmodule-dynamic ] 172s + foo=bar ./gmodule-dynamic 172s + echo run (gmodule, dynamic): OK 172s + cflags= 172s + pcflags= 172s + packages=gthread-2.0 172s + pkg-config --cflags --libs gthread-2.0 172s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 172s build (gmodule, dynamic): OK 172s run (gmodule, dynamic): OK 172s + echo build (gthread, dynamic): OK 172s + [ -x gthread-dynamic ] 172s + foo=bar ./gthread-dynamic 172s build (gthread, dynamic): OK 172s + echo run (gthread, dynamic): OK 172s + rm -rf /tmp/tmp.e2zBPzTUwq 172s run (gthread, dynamic): OK 172s autopkgtest [13:13:29]: test build: -----------------------] 173s build PASS (superficial) 173s autopkgtest [13:13:30]: test build: - - - - - - - - - - results - - - - - - - - - - 173s autopkgtest [13:13:30]: test build-static: preparing testbed 173s Reading package lists... 173s Building dependency tree... 173s Reading state information... 174s Starting pkgProblemResolver with broken count: 0 174s Starting 2 pkgProblemResolver with broken count: 0 174s Done 174s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 174s autopkgtest [13:13:31]: test build-static: [----------------------- 175s + mode=dynamic 175s + getopt -o --long static -n debian/tests/build -- --static 175s + getopt_temp= --static -- 175s + eval set -- --static -- 175s + set -- --static -- 175s + true 175s + mode=static 175s + shift 175s + continue 175s + true 175s + shift 175s + break 175s + mktemp -d 175s + WORKDIR=/tmp/tmp.b6RAydkAlV 175s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 175s + cd /tmp/tmp.b6RAydkAlV 175s + [ -n ] 175s + CROSS_COMPILE= 175s + cat 175s + cat 175s + cat 175s + cat 175s + cat 175s + cat 175s + cflags= 175s + pcflags= 175s + packages=glib-2.0 175s + cflags=-static 175s + pcflags=--static 175s + pkg-config --static --cflags --libs glib-2.0 175s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 175s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 175s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 175s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 175s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 175s build (glib, static): OK 175s + echo build (glib, static): OK 175s + [ -x glib-static ] 175s + foo=bar ./glib-static 175s + echo run (glib, static): OK 175s + cflags= 175s + pcflags= 175s + packages=gobject-2.0 175s + cflags=-static 175s + pcflags=--static 175s run (glib, static): OK 175s + pkg-config --static --cflags --libs gobject-2.0 175s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 175s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 175s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 175s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 175s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 175s build (gobject, static): OK 175s + echo build (gobject, static): OK 175s + [ -x gobject-static ] 175s + foo=bar ./gobject-static 175s + echo run (gobject, static): OK 175s + run (gobject, static): OK 175s cflags= 175s + pcflags= 175s + packages=gio-2.0 175s + cflags=-static 175s + pcflags=--static 175s + continue 175s + cflags= 175s + pcflags= 175s + packages=gio-unix-2.0 175s + cflags=-static 175s + pcflags=--static 175s + continue 175s + cflags= 175s + pcflags= 175s + packages=gmodule-2.0 175s + cflags=-static 175s + pcflags=--static 175s + pkg-config --static --cflags --libs gmodule-2.0 175s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 175s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 175s (.text+0x64a): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 175s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 175s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 175s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 175s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 175s build (gmodule, static): OK 175s + echo build (gmodule, static): OK 175s + [ -x gmodule-static ] 175s + foo=bar ./gmodule-static 175s + echo run (gmodule, static): OK 175s + cflags= 175s + pcflags= 175s + packages=gthread-2.0 175s + cflags=-static 175s + pcflags=--static 175s run (gmodule, static): OK 175s + pkg-config --static --cflags --libs gthread-2.0 175s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 175s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 175s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 175s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 175s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 175s build (gthread, static): OK 175s + echo build (gthread, static): OK 175s + [ -x gthread-static ] 175s + foo=bar ./gthread-static 175s + echo run (gthread, static): OK 175s run (gthread, static): OK 175s + rm -rf /tmp/tmp.b6RAydkAlV 175s autopkgtest [13:13:32]: test build-static: -----------------------] 176s build-static PASS (superficial) 176s autopkgtest [13:13:33]: test build-static: - - - - - - - - - - results - - - - - - - - - - 176s autopkgtest [13:13:33]: test girepository-tools: preparing testbed 323s autopkgtest [13:16:00]: testbed dpkg architecture: s390x 323s autopkgtest [13:16:00]: testbed apt version: 2.9.30ubuntu1 323s autopkgtest [13:16:00]: @@@@@@@@@@@@@@@@@@@@ test bed setup 323s autopkgtest [13:16:00]: testbed release detected to be: plucky 324s autopkgtest [13:16:01]: updating testbed package index (apt update) 325s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 325s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 325s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 325s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 325s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [719 kB] 325s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [90.3 kB] 325s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.8 kB] 325s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 325s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [131 kB] 325s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [760 B] 325s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [637 kB] 325s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4436 B] 325s Fetched 1711 kB in 1s (1844 kB/s) 326s Reading package lists... 327s Reading package lists... 327s Building dependency tree... 327s Reading state information... 327s Calculating upgrade... 327s Calculating upgrade... 327s The following packages were automatically installed and are no longer required: 327s libnsl2 libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 327s linux-headers-6.11.0-8 linux-headers-6.11.0-8-generic 327s linux-modules-6.11.0-8-generic linux-tools-6.11.0-8 327s linux-tools-6.11.0-8-generic 327s Use 'sudo apt autoremove' to remove them. 327s The following packages will be upgraded: 327s base-files gcc-14-base motd-news-config 327s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 327s Need to get 134 kB of archives. 327s After this operation, 0 B of additional disk space will be used. 327s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x motd-news-config all 13.6ubuntu1 [5168 B] 327s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x base-files s390x 13.6ubuntu1 [75.4 kB] 327s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-base s390x 14.2.0-17ubuntu3 [53.6 kB] 328s Fetched 134 kB in 0s (333 kB/s) 328s (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 ... 81030 files and directories currently installed.) 328s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ... 328s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ... 328s Preparing to unpack .../base-files_13.6ubuntu1_s390x.deb ... 328s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ... 328s Setting up base-files (13.6ubuntu1) ... 328s Updating /root/.profile to current default. 328s motd-news.service is a disabled or a static unit not running, not starting it. 329s (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 ... 81030 files and directories currently installed.) 329s Preparing to unpack .../gcc-14-base_14.2.0-17ubuntu3_s390x.deb ... 329s Unpacking gcc-14-base:s390x (14.2.0-17ubuntu3) over (14.2.0-17ubuntu1) ... 329s Setting up motd-news-config (13.6ubuntu1) ... 329s Setting up gcc-14-base:s390x (14.2.0-17ubuntu3) ... 329s Processing triggers for plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ... 329s Processing triggers for install-info (7.1.1-1) ... 329s Processing triggers for man-db (2.13.0-1) ... 329s Processing triggers for initramfs-tools (0.145ubuntu2) ... 329s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic 329s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 333s Using config file '/etc/zipl.conf' 333s Building bootmap in '/boot' 333s Adding IPL section 'ubuntu' (default) 333s Preparing boot device for LD-IPL: vda (0000). 333s Done. 333s Reading package lists... 333s Building dependency tree... 333s Reading state information... 333s Solving dependencies... 333s The following packages will be REMOVED: 333s libnsl2* libpython3.12-minimal* libpython3.12-stdlib* libpython3.12t64* 333s linux-headers-6.11.0-8* linux-headers-6.11.0-8-generic* 333s linux-modules-6.11.0-8-generic* linux-tools-6.11.0-8* 333s linux-tools-6.11.0-8-generic* 333s 0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded. 333s After this operation, 167 MB disk space will be freed. 333s (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 ... 81030 files and directories currently installed.) 333s Removing linux-tools-6.11.0-8-generic (6.11.0-8.8) ... 333s Removing linux-tools-6.11.0-8 (6.11.0-8.8) ... 333s Removing libpython3.12t64:s390x (3.12.9-1) ... 333s Removing libpython3.12-stdlib:s390x (3.12.9-1) ... 333s Removing libnsl2:s390x (1.3.0-3build3) ... 333s Removing libpython3.12-minimal:s390x (3.12.9-1) ... 333s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 334s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 334s Removing linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 334s Processing triggers for libc-bin (2.40-4ubuntu1) ... 334s (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 ... 55930 files and directories currently installed.) 334s Purging configuration files for libpython3.12-minimal:s390x (3.12.9-1) ... 334s Purging configuration files for linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 335s autopkgtest [13:16:12]: upgrading testbed (apt dist-upgrade and autopurge) 335s Reading package lists... 335s Building dependency tree... 335s Reading state information... 335s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 335s Starting 2 pkgProblemResolver with broken count: 0 335s Done 335s Entering ResolveByKeep 335s 336s Calculating upgrade... 336s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 336s Reading package lists... 336s Building dependency tree... 336s Reading state information... 336s Starting pkgProblemResolver with broken count: 0 336s Starting 2 pkgProblemResolver with broken count: 0 336s Done 336s Solving dependencies... 336s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 337s autopkgtest [13:16:14]: rebooting testbed after setup commands that affected boot 360s Reading package lists... 360s Building dependency tree... 360s Reading state information... 361s Starting pkgProblemResolver with broken count: 0 361s Starting 2 pkgProblemResolver with broken count: 0 361s Done 361s The following NEW packages will be installed: 361s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 361s native-architecture 361s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 361s Need to get 1051 kB of archives. 361s After this operation, 12.7 MB of additional disk space will be used. 361s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x gir1.2-glib-2.0-dev s390x 2.83.3-2 [860 kB] 361s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x native-architecture all 0.2.5 [2082 B] 361s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libgirepository-2.0-0 s390x 2.83.3-2 [75.4 kB] 361s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x girepository-tools s390x 2.83.3-2 [114 kB] 362s Fetched 1051 kB in 1s (1739 kB/s) 362s Selecting previously unselected package gir1.2-glib-2.0-dev:s390x. 362s (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 ... 55928 files and directories currently installed.) 362s Preparing to unpack .../gir1.2-glib-2.0-dev_2.83.3-2_s390x.deb ... 362s Unpacking gir1.2-glib-2.0-dev:s390x (2.83.3-2) ... 362s Selecting previously unselected package native-architecture. 362s Preparing to unpack .../native-architecture_0.2.5_all.deb ... 362s Unpacking native-architecture (0.2.5) ... 362s Selecting previously unselected package libgirepository-2.0-0:s390x. 362s Preparing to unpack .../libgirepository-2.0-0_2.83.3-2_s390x.deb ... 362s Unpacking libgirepository-2.0-0:s390x (2.83.3-2) ... 362s Selecting previously unselected package girepository-tools:s390x. 362s Preparing to unpack .../girepository-tools_2.83.3-2_s390x.deb ... 362s Unpacking girepository-tools:s390x (2.83.3-2) ... 362s Setting up native-architecture (0.2.5) ... 362s Setting up libgirepository-2.0-0:s390x (2.83.3-2) ... 362s Setting up gir1.2-glib-2.0-dev:s390x (2.83.3-2) ... 362s Setting up girepository-tools:s390x (2.83.3-2) ... 362s Processing triggers for man-db (2.13.0-1) ... 362s Processing triggers for libc-bin (2.40-4ubuntu1) ... 373s autopkgtest [13:16:50]: test girepository-tools: [----------------------- 373s + cd /tmp/autopkgtest.yKsP97/autopkgtest_tmp 373s + dpkg-architecture -qDEB_HOST_GNU_TYPE 373s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 373s + DEB_HOST_GNU_TYPE=s390x-linux-gnu 373s + dpkg-architecture -qDEB_HOST_MULTIARCH 373s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 373s + DEB_HOST_MULTIARCH=s390x-linux-gnu 373s + s390x-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 373s typelib: GLib-2.0 373s + s390x-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir 373s + s390x-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 374s autopkgtest [13:16:51]: test girepository-tools: -----------------------] 374s autopkgtest [13:16:51]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 374s girepository-tools PASS (superficial) 374s autopkgtest [13:16:51]: test libgio-2.0-dev-bin: preparing testbed 506s autopkgtest [13:19:03]: testbed dpkg architecture: s390x 506s autopkgtest [13:19:03]: testbed apt version: 2.9.30ubuntu1 506s autopkgtest [13:19:03]: @@@@@@@@@@@@@@@@@@@@ test bed setup 507s autopkgtest [13:19:04]: testbed release detected to be: plucky 507s autopkgtest [13:19:04]: updating testbed package index (apt update) 508s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 508s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 508s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 508s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 508s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [90.3 kB] 508s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.8 kB] 508s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [719 kB] 508s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 508s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [131 kB] 508s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [760 B] 508s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [637 kB] 508s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4436 B] 508s Fetched 1711 kB in 1s (1897 kB/s) 509s Reading package lists... 509s Reading package lists... 510s Building dependency tree... 510s Reading state information... 510s Calculating upgrade... 510s Calculating upgrade... 510s The following packages were automatically installed and are no longer required: 510s libnsl2 libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 510s linux-headers-6.11.0-8 linux-headers-6.11.0-8-generic 510s linux-modules-6.11.0-8-generic linux-tools-6.11.0-8 510s linux-tools-6.11.0-8-generic 510s Use 'sudo apt autoremove' to remove them. 510s The following packages will be upgraded: 510s base-files gcc-14-base motd-news-config 510s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 510s Need to get 134 kB of archives. 510s After this operation, 0 B of additional disk space will be used. 510s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x motd-news-config all 13.6ubuntu1 [5168 B] 510s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x base-files s390x 13.6ubuntu1 [75.4 kB] 510s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-base s390x 14.2.0-17ubuntu3 [53.6 kB] 510s Fetched 134 kB in 0s (315 kB/s) 511s (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 ... 81030 files and directories currently installed.) 511s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ... 511s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ... 511s Preparing to unpack .../base-files_13.6ubuntu1_s390x.deb ... 511s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ... 511s Setting up base-files (13.6ubuntu1) ... 511s Updating /root/.profile to current default. 511s motd-news.service is a disabled or a static unit not running, not starting it. 511s (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 ... 81030 files and directories currently installed.) 511s Preparing to unpack .../gcc-14-base_14.2.0-17ubuntu3_s390x.deb ... 511s Unpacking gcc-14-base:s390x (14.2.0-17ubuntu3) over (14.2.0-17ubuntu1) ... 511s Setting up motd-news-config (13.6ubuntu1) ... 511s Setting up gcc-14-base:s390x (14.2.0-17ubuntu3) ... 511s Processing triggers for plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ... 511s Processing triggers for install-info (7.1.1-1) ... 511s Processing triggers for man-db (2.13.0-1) ... 511s Processing triggers for initramfs-tools (0.145ubuntu2) ... 512s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic 512s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 515s Using config file '/etc/zipl.conf' 515s Building bootmap in '/boot' 515s Adding IPL section 'ubuntu' (default) 515s Preparing boot device for LD-IPL: vda (0000). 515s Done. 516s Reading package lists... 516s Building dependency tree... 516s Reading state information... 516s Solving dependencies... 516s The following packages will be REMOVED: 516s libnsl2* libpython3.12-minimal* libpython3.12-stdlib* libpython3.12t64* 516s linux-headers-6.11.0-8* linux-headers-6.11.0-8-generic* 516s linux-modules-6.11.0-8-generic* linux-tools-6.11.0-8* 516s linux-tools-6.11.0-8-generic* 516s 0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded. 516s After this operation, 167 MB disk space will be freed. 516s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 81030 files and directories currently installed.) 516s Removing linux-tools-6.11.0-8-generic (6.11.0-8.8) ... 516s Removing linux-tools-6.11.0-8 (6.11.0-8.8) ... 516s Removing libpython3.12t64:s390x (3.12.9-1) ... 516s Removing libpython3.12-stdlib:s390x (3.12.9-1) ... 516s Removing libnsl2:s390x (1.3.0-3build3) ... 516s Removing libpython3.12-minimal:s390x (3.12.9-1) ... 516s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 516s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 517s Removing linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 517s Processing triggers for libc-bin (2.40-4ubuntu1) ... 517s (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 ... 55930 files and directories currently installed.) 517s Purging configuration files for libpython3.12-minimal:s390x (3.12.9-1) ... 517s Purging configuration files for linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 517s autopkgtest [13:19:14]: upgrading testbed (apt dist-upgrade and autopurge) 517s Reading package lists... 518s Building dependency tree... 518s Reading state information... 518s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 518s Starting 2 pkgProblemResolver with broken count: 0 518s Done 518s Entering ResolveByKeep 518s 518s Calculating upgrade... 518s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 518s Reading package lists... 518s Building dependency tree... 518s Reading state information... 519s Starting pkgProblemResolver with broken count: 0 519s Starting 2 pkgProblemResolver with broken count: 0 519s Done 519s Solving dependencies... 519s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 519s autopkgtest [13:19:16]: rebooting testbed after setup commands that affected boot 528s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 541s Reading package lists... 541s Building dependency tree... 541s Reading state information... 541s Starting pkgProblemResolver with broken count: 0 542s Starting 2 pkgProblemResolver with broken count: 0 542s Done 542s The following NEW packages will be installed: 542s libgio-2.0-dev-bin python3-packaging 542s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 542s Need to get 181 kB of archives. 542s After this operation, 949 kB of additional disk space will be used. 542s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.2-1 [51.5 kB] 542s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x libgio-2.0-dev-bin s390x 2.83.3-2 [129 kB] 542s Fetched 181 kB in 0s (447 kB/s) 542s Selecting previously unselected package python3-packaging. 542s (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 ... 55928 files and directories currently installed.) 542s Preparing to unpack .../python3-packaging_24.2-1_all.deb ... 542s Unpacking python3-packaging (24.2-1) ... 542s Selecting previously unselected package libgio-2.0-dev-bin. 542s Preparing to unpack .../libgio-2.0-dev-bin_2.83.3-2_s390x.deb ... 542s Unpacking libgio-2.0-dev-bin (2.83.3-2) ... 543s Setting up python3-packaging (24.2-1) ... 543s Setting up libgio-2.0-dev-bin (2.83.3-2) ... 543s Processing triggers for man-db (2.13.0-1) ... 550s autopkgtest [13:19:47]: test libgio-2.0-dev-bin: [----------------------- 550s + gdbus-codegen --help 550s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 550s [--c-namespace NAMESPACE] [--c-generate-object-manager] 550s [--c-generate-autocleanup {none,objects,all}] 550s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 550s [--generate-rst OUTFILES] [--pragma-once] 550s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 550s [--glib-min-required VERSION] 550s [--glib-max-allowed VERSION] 550s [--symbol-decorator SYMBOL_DECORATOR] 550s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 550s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 550s [--generate-c-code OUTFILES | --header | --body | 550s --interface-info-header | --interface-info-body] 550s [--output FILE | --output-directory OUTDIR] 550s FILE [FILE ...] 550s 550s D-Bus code and documentation generator 550s 550s positional arguments: 550s FILE D-Bus introspection XML file 550s 550s options: 550s -h, --help show this help message and exit 550s --interface-prefix PREFIX 550s String to strip from D-Bus interface names for code 550s and docs 550s --c-namespace NAMESPACE 550s The namespace to use for generated C code 550s --c-generate-object-manager 550s Generate a GDBusObjectManagerClient subclass when 550s generating C code 550s --c-generate-autocleanup {none,objects,all} 550s Generate autocleanup support 550s --generate-docbook OUTFILES 550s Generate Docbook in OUTFILES-org.Project.IFace.xml 550s --generate-md OUTFILES 550s Generate Markdown in OUTFILES-org.Project.IFace.md 550s --generate-rst OUTFILES 550s Generate reStructuredText in OUTFILES- 550s org.Project.IFace.rst 550s --pragma-once Use "pragma once" as the inclusion guard 550s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 550s Add annotation (may be used several times) 550s --glib-min-required VERSION 550s Minimum version of GLib to be supported by the 550s outputted code (default: 2.30) 550s --glib-max-allowed VERSION 550s Maximum version of GLib to be used by the outputted 550s code (default: current GLib version) 550s --symbol-decorator SYMBOL_DECORATOR 550s Macro used to decorate a symbol in the outputted 550s header, possibly to export symbols 550s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 550s Additional header required for decorator specified by 550s --symbol-decorator 550s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 550s Additional define required for decorator specified by 550s --symbol-decorator 550s --generate-c-code OUTFILES 550s Generate C code in OUTFILES.[ch] 550s --header Generate C headers 550s --body Generate C code 550s --interface-info-header 550s Generate GDBusInterfaceInfo C header 550s --interface-info-body 550s Generate GDBusInterfaceInfo C code 550s --output FILE Write output into the specified file 550s --output-directory OUTDIR 550s Location to output generated files 550s + glib-compile-resources --version 550s 2.83.3 550s + glib-genmarshal --version 550s glib-genmarshal version 2.83.3 550s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 550s You may redistribute copies of glib-genmarshal under the terms of 550s the GNU General Public License which can be found in the 550s GLib source package. Sources, examples and contact 550s information are available at http://www.gtk.org 550s + glib-gettextize --version 550s + glib-mkenums --version/usr/bin/glib-gettextize (GNU glib) 2.83.3 550s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 550s This is free software; see the source for copying conditions. There is NO 550s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 550s Written by Ulrich Drepper 550s 550s glib-mkenums version 2.83.3 550s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 550s You may redistribute copies of glib-mkenums under the terms of 550s the GNU General Public License which can be found in the 550s GLib source package. Sources, examples and contact 550s information are available at http://www.gtk.org 550s + gobject-query tree 550s GObject 550s + gtester --version 550s + gtester-report --version 550s gtester version 2.83.3 550s gtester-report (GLib utils) version 2.83.3. 550s autopkgtest [13:19:47]: test libgio-2.0-dev-bin: -----------------------] 551s libgio-2.0-dev-bin PASS (superficial) 551s autopkgtest [13:19:48]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 551s autopkgtest [13:19:48]: test libglib2.0-dev: preparing testbed 674s autopkgtest [13:21:51]: testbed dpkg architecture: s390x 674s autopkgtest [13:21:51]: testbed apt version: 2.9.30ubuntu1 675s autopkgtest [13:21:52]: @@@@@@@@@@@@@@@@@@@@ test bed setup 675s autopkgtest [13:21:52]: testbed release detected to be: plucky 676s autopkgtest [13:21:53]: updating testbed package index (apt update) 676s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 676s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 676s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 676s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 676s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [90.3 kB] 676s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [719 kB] 677s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.8 kB] 677s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 677s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [131 kB] 677s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [760 B] 677s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [637 kB] 677s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4436 B] 677s Fetched 1711 kB in 1s (1826 kB/s) 677s Reading package lists... 678s Reading package lists... 678s Building dependency tree... 678s Reading state information... 678s Calculating upgrade... 678s Calculating upgrade... 679s The following packages were automatically installed and are no longer required: 679s libnsl2 libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 679s linux-headers-6.11.0-8 linux-headers-6.11.0-8-generic 679s linux-modules-6.11.0-8-generic linux-tools-6.11.0-8 679s linux-tools-6.11.0-8-generic 679s Use 'sudo apt autoremove' to remove them. 679s The following packages will be upgraded: 679s base-files gcc-14-base motd-news-config 679s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 679s Need to get 134 kB of archives. 679s After this operation, 0 B of additional disk space will be used. 679s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x motd-news-config all 13.6ubuntu1 [5168 B] 679s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x base-files s390x 13.6ubuntu1 [75.4 kB] 679s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-base s390x 14.2.0-17ubuntu3 [53.6 kB] 679s Fetched 134 kB in 0s (306 kB/s) 679s (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 ... 81030 files and directories currently installed.) 679s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ... 679s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ... 679s Preparing to unpack .../base-files_13.6ubuntu1_s390x.deb ... 679s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ... 679s Setting up base-files (13.6ubuntu1) ... 679s Updating /root/.profile to current default. 680s motd-news.service is a disabled or a static unit not running, not starting it. 680s (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 ... 81030 files and directories currently installed.) 680s Preparing to unpack .../gcc-14-base_14.2.0-17ubuntu3_s390x.deb ... 680s Unpacking gcc-14-base:s390x (14.2.0-17ubuntu3) over (14.2.0-17ubuntu1) ... 680s Setting up motd-news-config (13.6ubuntu1) ... 680s Setting up gcc-14-base:s390x (14.2.0-17ubuntu3) ... 680s Processing triggers for plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ... 680s Processing triggers for install-info (7.1.1-1) ... 680s Processing triggers for man-db (2.13.0-1) ... 680s Processing triggers for initramfs-tools (0.145ubuntu2) ... 680s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic 680s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 684s Using config file '/etc/zipl.conf' 684s Building bootmap in '/boot' 684s Adding IPL section 'ubuntu' (default) 684s Preparing boot device for LD-IPL: vda (0000). 684s Done. 684s Reading package lists... 685s Building dependency tree... 685s Reading state information... 685s Solving dependencies... 685s The following packages will be REMOVED: 685s libnsl2* libpython3.12-minimal* libpython3.12-stdlib* libpython3.12t64* 685s linux-headers-6.11.0-8* linux-headers-6.11.0-8-generic* 685s linux-modules-6.11.0-8-generic* linux-tools-6.11.0-8* 685s linux-tools-6.11.0-8-generic* 685s 0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded. 685s After this operation, 167 MB disk space will be freed. 685s (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 ... 81030 files and directories currently installed.) 685s Removing linux-tools-6.11.0-8-generic (6.11.0-8.8) ... 685s Removing linux-tools-6.11.0-8 (6.11.0-8.8) ... 685s Removing libpython3.12t64:s390x (3.12.9-1) ... 685s Removing libpython3.12-stdlib:s390x (3.12.9-1) ... 685s Removing libnsl2:s390x (1.3.0-3build3) ... 685s Removing libpython3.12-minimal:s390x (3.12.9-1) ... 685s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 685s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 686s Removing linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 686s Processing triggers for libc-bin (2.40-4ubuntu1) ... 686s (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 ... 55930 files and directories currently installed.) 686s Purging configuration files for libpython3.12-minimal:s390x (3.12.9-1) ... 686s Purging configuration files for linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 686s autopkgtest [13:22:03]: upgrading testbed (apt dist-upgrade and autopurge) 686s Reading package lists... 687s Building dependency tree... 687s Reading state information... 687s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 687s Starting 2 pkgProblemResolver with broken count: 0 687s Done 687s Entering ResolveByKeep 687s 687s Calculating upgrade... 687s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 687s Reading package lists... 688s Building dependency tree... 688s Reading state information... 688s Starting pkgProblemResolver with broken count: 0 688s Starting 2 pkgProblemResolver with broken count: 0 688s Done 688s Solving dependencies... 688s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 688s autopkgtest [13:22:05]: rebooting testbed after setup commands that affected boot 710s Reading package lists... 710s Building dependency tree... 710s Reading state information... 711s Starting pkgProblemResolver with broken count: 0 711s Starting 2 pkgProblemResolver with broken count: 0 711s Done 711s The following NEW packages will be installed: 711s build-essential cpp cpp-14 cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu g++ 711s g++-14 g++-14-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-14 711s gcc-14-s390x-linux-gnu gcc-s390x-linux-gnu gir1.2-glib-2.0-dev 711s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-14-dev 711s libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin 711s libglib2.0-dev libglib2.0-dev-bin libgomp1 libisl23 libitm1 libmount-dev 711s libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 711s libselinux1-dev libsepol-dev libstdc++-14-dev libsysprof-capture-4-dev 711s libubsan1 native-architecture pkgconf pkgconf-bin python3-packaging uuid-dev 711s zlib1g-dev 711s 0 upgraded, 47 newly installed, 0 to remove and 0 not upgraded. 711s Need to get 55.2 MB of archives. 711s After this operation, 191 MB of additional disk space will be used. 711s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libisl23 s390x 0.27-1 [704 kB] 712s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x libmpc3 s390x 1.3.1-1build2 [57.8 kB] 712s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14-s390x-linux-gnu s390x 14.2.0-17ubuntu3 [9572 kB] 716s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14 s390x 14.2.0-17ubuntu3 [1028 B] 716s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [5556 B] 716s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x cpp s390x 4:14.2.0-1ubuntu1 [22.4 kB] 716s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libcc1-0 s390x 15-20250213-1ubuntu1 [49.2 kB] 716s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libgomp1 s390x 15-20250213-1ubuntu1 [151 kB] 716s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libitm1 s390x 15-20250213-1ubuntu1 [31.2 kB] 716s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libasan8 s390x 15-20250213-1ubuntu1 [2970 kB] 717s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libubsan1 s390x 15-20250213-1ubuntu1 [1213 kB] 718s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-14-dev s390x 14.2.0-17ubuntu3 [1037 kB] 718s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-s390x-linux-gnu s390x 14.2.0-17ubuntu3 [18.7 MB] 725s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14 s390x 14.2.0-17ubuntu3 [526 kB] 725s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [1204 B] 725s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x gcc s390x 4:14.2.0-1ubuntu1 [5004 B] 725s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++-14-dev s390x 14.2.0-17ubuntu3 [2611 kB] 726s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14-s390x-linux-gnu s390x 14.2.0-17ubuntu3 [11.0 MB] 730s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14 s390x 14.2.0-17ubuntu3 [21.8 kB] 730s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x g++-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [956 B] 730s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x g++ s390x 4:14.2.0-1ubuntu1 [1080 B] 730s Get:22 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x build-essential s390x 12.12 [4610 B] 730s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x gir1.2-glib-2.0-dev s390x 2.83.3-2 [860 kB] 730s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x native-architecture all 0.2.5 [2082 B] 730s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x libgirepository-2.0-0 s390x 2.83.3-2 [75.4 kB] 730s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x girepository-tools s390x 2.83.3-2 [114 kB] 730s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x libffi-dev s390x 3.4.7-1 [58.9 kB] 730s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x uuid-dev s390x 2.40.2-14ubuntu1 [54.0 kB] 730s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x libblkid-dev s390x 2.40.2-14ubuntu1 [233 kB] 730s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x libsepol-dev s390x 3.7-1 [412 kB] 730s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-16-0 s390x 10.42-4ubuntu3 [236 kB] 730s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-32-0 s390x 10.42-4ubuntu3 [221 kB] 730s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-posix3 s390x 10.42-4ubuntu3 [6820 B] 730s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-dev s390x 10.42-4ubuntu3 [815 kB] 730s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x libselinux1-dev s390x 3.7-3ubuntu2 [169 kB] 731s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x libmount-dev s390x 2.40.2-14ubuntu1 [34.6 kB] 731s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x libsysprof-capture-4-dev s390x 48~beta-2 [51.9 kB] 731s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x libpkgconf3 s390x 1.8.1-4 [31.2 kB] 731s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf-bin s390x 1.8.1-4 [21.5 kB] 731s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf s390x 1.8.1-4 [16.7 kB] 731s Get:41 http://ftpmaster.internal/ubuntu plucky/main s390x zlib1g-dev s390x 1:1.3.dfsg+really1.3.1-1ubuntu1 [898 kB] 731s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x libgio-2.0-dev s390x 2.83.3-2 [1818 kB] 731s Get:43 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.2-1 [51.5 kB] 731s Get:44 http://ftpmaster.internal/ubuntu plucky/main s390x libgio-2.0-dev-bin s390x 2.83.3-2 [129 kB] 731s Get:45 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-bin s390x 2.83.3-2 [99.5 kB] 731s Get:46 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-dev-bin s390x 2.83.3-2 [18.1 kB] 731s Get:47 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-dev s390x 2.83.3-2 [18.9 kB] 732s Fetched 55.2 MB in 20s (2699 kB/s) 732s Selecting previously unselected package libisl23:s390x. 732s (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 ... 55928 files and directories currently installed.) 732s Preparing to unpack .../00-libisl23_0.27-1_s390x.deb ... 732s Unpacking libisl23:s390x (0.27-1) ... 732s Selecting previously unselected package libmpc3:s390x. 732s Preparing to unpack .../01-libmpc3_1.3.1-1build2_s390x.deb ... 732s Unpacking libmpc3:s390x (1.3.1-1build2) ... 732s Selecting previously unselected package cpp-14-s390x-linux-gnu. 732s Preparing to unpack .../02-cpp-14-s390x-linux-gnu_14.2.0-17ubuntu3_s390x.deb ... 732s Unpacking cpp-14-s390x-linux-gnu (14.2.0-17ubuntu3) ... 732s Selecting previously unselected package cpp-14. 732s Preparing to unpack .../03-cpp-14_14.2.0-17ubuntu3_s390x.deb ... 732s Unpacking cpp-14 (14.2.0-17ubuntu3) ... 732s Selecting previously unselected package cpp-s390x-linux-gnu. 732s Preparing to unpack .../04-cpp-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ... 732s Unpacking cpp-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 732s Selecting previously unselected package cpp. 732s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_s390x.deb ... 732s Unpacking cpp (4:14.2.0-1ubuntu1) ... 732s Selecting previously unselected package libcc1-0:s390x. 732s Preparing to unpack .../06-libcc1-0_15-20250213-1ubuntu1_s390x.deb ... 732s Unpacking libcc1-0:s390x (15-20250213-1ubuntu1) ... 732s Selecting previously unselected package libgomp1:s390x. 732s Preparing to unpack .../07-libgomp1_15-20250213-1ubuntu1_s390x.deb ... 732s Unpacking libgomp1:s390x (15-20250213-1ubuntu1) ... 732s Selecting previously unselected package libitm1:s390x. 732s Preparing to unpack .../08-libitm1_15-20250213-1ubuntu1_s390x.deb ... 732s Unpacking libitm1:s390x (15-20250213-1ubuntu1) ... 732s Selecting previously unselected package libasan8:s390x. 732s Preparing to unpack .../09-libasan8_15-20250213-1ubuntu1_s390x.deb ... 732s Unpacking libasan8:s390x (15-20250213-1ubuntu1) ... 732s Selecting previously unselected package libubsan1:s390x. 732s Preparing to unpack .../10-libubsan1_15-20250213-1ubuntu1_s390x.deb ... 732s Unpacking libubsan1:s390x (15-20250213-1ubuntu1) ... 732s Selecting previously unselected package libgcc-14-dev:s390x. 732s Preparing to unpack .../11-libgcc-14-dev_14.2.0-17ubuntu3_s390x.deb ... 732s Unpacking libgcc-14-dev:s390x (14.2.0-17ubuntu3) ... 732s Selecting previously unselected package gcc-14-s390x-linux-gnu. 732s Preparing to unpack .../12-gcc-14-s390x-linux-gnu_14.2.0-17ubuntu3_s390x.deb ... 732s Unpacking gcc-14-s390x-linux-gnu (14.2.0-17ubuntu3) ... 732s Selecting previously unselected package gcc-14. 732s Preparing to unpack .../13-gcc-14_14.2.0-17ubuntu3_s390x.deb ... 732s Unpacking gcc-14 (14.2.0-17ubuntu3) ... 732s Selecting previously unselected package gcc-s390x-linux-gnu. 732s Preparing to unpack .../14-gcc-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ... 732s Unpacking gcc-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 732s Selecting previously unselected package gcc. 732s Preparing to unpack .../15-gcc_4%3a14.2.0-1ubuntu1_s390x.deb ... 732s Unpacking gcc (4:14.2.0-1ubuntu1) ... 732s Selecting previously unselected package libstdc++-14-dev:s390x. 732s Preparing to unpack .../16-libstdc++-14-dev_14.2.0-17ubuntu3_s390x.deb ... 732s Unpacking libstdc++-14-dev:s390x (14.2.0-17ubuntu3) ... 732s Selecting previously unselected package g++-14-s390x-linux-gnu. 732s Preparing to unpack .../17-g++-14-s390x-linux-gnu_14.2.0-17ubuntu3_s390x.deb ... 732s Unpacking g++-14-s390x-linux-gnu (14.2.0-17ubuntu3) ... 732s Selecting previously unselected package g++-14. 732s Preparing to unpack .../18-g++-14_14.2.0-17ubuntu3_s390x.deb ... 732s Unpacking g++-14 (14.2.0-17ubuntu3) ... 733s Selecting previously unselected package g++-s390x-linux-gnu. 733s Preparing to unpack .../19-g++-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ... 733s Unpacking g++-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 733s Selecting previously unselected package g++. 733s Preparing to unpack .../20-g++_4%3a14.2.0-1ubuntu1_s390x.deb ... 733s Unpacking g++ (4:14.2.0-1ubuntu1) ... 733s Selecting previously unselected package build-essential. 733s Preparing to unpack .../21-build-essential_12.12_s390x.deb ... 733s Unpacking build-essential (12.12) ... 733s Selecting previously unselected package gir1.2-glib-2.0-dev:s390x. 733s Preparing to unpack .../22-gir1.2-glib-2.0-dev_2.83.3-2_s390x.deb ... 733s Unpacking gir1.2-glib-2.0-dev:s390x (2.83.3-2) ... 733s Selecting previously unselected package native-architecture. 733s Preparing to unpack .../23-native-architecture_0.2.5_all.deb ... 733s Unpacking native-architecture (0.2.5) ... 733s Selecting previously unselected package libgirepository-2.0-0:s390x. 733s Preparing to unpack .../24-libgirepository-2.0-0_2.83.3-2_s390x.deb ... 733s Unpacking libgirepository-2.0-0:s390x (2.83.3-2) ... 733s Selecting previously unselected package girepository-tools:s390x. 733s Preparing to unpack .../25-girepository-tools_2.83.3-2_s390x.deb ... 733s Unpacking girepository-tools:s390x (2.83.3-2) ... 733s Selecting previously unselected package libffi-dev:s390x. 733s Preparing to unpack .../26-libffi-dev_3.4.7-1_s390x.deb ... 733s Unpacking libffi-dev:s390x (3.4.7-1) ... 733s Selecting previously unselected package uuid-dev:s390x. 733s Preparing to unpack .../27-uuid-dev_2.40.2-14ubuntu1_s390x.deb ... 733s Unpacking uuid-dev:s390x (2.40.2-14ubuntu1) ... 733s Selecting previously unselected package libblkid-dev:s390x. 733s Preparing to unpack .../28-libblkid-dev_2.40.2-14ubuntu1_s390x.deb ... 733s Unpacking libblkid-dev:s390x (2.40.2-14ubuntu1) ... 733s Selecting previously unselected package libsepol-dev:s390x. 733s Preparing to unpack .../29-libsepol-dev_3.7-1_s390x.deb ... 733s Unpacking libsepol-dev:s390x (3.7-1) ... 733s Selecting previously unselected package libpcre2-16-0:s390x. 733s Preparing to unpack .../30-libpcre2-16-0_10.42-4ubuntu3_s390x.deb ... 733s Unpacking libpcre2-16-0:s390x (10.42-4ubuntu3) ... 733s Selecting previously unselected package libpcre2-32-0:s390x. 733s Preparing to unpack .../31-libpcre2-32-0_10.42-4ubuntu3_s390x.deb ... 733s Unpacking libpcre2-32-0:s390x (10.42-4ubuntu3) ... 733s Selecting previously unselected package libpcre2-posix3:s390x. 733s Preparing to unpack .../32-libpcre2-posix3_10.42-4ubuntu3_s390x.deb ... 733s Unpacking libpcre2-posix3:s390x (10.42-4ubuntu3) ... 733s Selecting previously unselected package libpcre2-dev:s390x. 733s Preparing to unpack .../33-libpcre2-dev_10.42-4ubuntu3_s390x.deb ... 733s Unpacking libpcre2-dev:s390x (10.42-4ubuntu3) ... 733s Selecting previously unselected package libselinux1-dev:s390x. 733s Preparing to unpack .../34-libselinux1-dev_3.7-3ubuntu2_s390x.deb ... 733s Unpacking libselinux1-dev:s390x (3.7-3ubuntu2) ... 733s Selecting previously unselected package libmount-dev:s390x. 733s Preparing to unpack .../35-libmount-dev_2.40.2-14ubuntu1_s390x.deb ... 733s Unpacking libmount-dev:s390x (2.40.2-14ubuntu1) ... 733s Selecting previously unselected package libsysprof-capture-4-dev:s390x. 733s Preparing to unpack .../36-libsysprof-capture-4-dev_48~beta-2_s390x.deb ... 733s Unpacking libsysprof-capture-4-dev:s390x (48~beta-2) ... 733s Selecting previously unselected package libpkgconf3:s390x. 733s Preparing to unpack .../37-libpkgconf3_1.8.1-4_s390x.deb ... 733s Unpacking libpkgconf3:s390x (1.8.1-4) ... 733s Selecting previously unselected package pkgconf-bin. 733s Preparing to unpack .../38-pkgconf-bin_1.8.1-4_s390x.deb ... 733s Unpacking pkgconf-bin (1.8.1-4) ... 733s Selecting previously unselected package pkgconf:s390x. 733s Preparing to unpack .../39-pkgconf_1.8.1-4_s390x.deb ... 733s Unpacking pkgconf:s390x (1.8.1-4) ... 733s Selecting previously unselected package zlib1g-dev:s390x. 733s Preparing to unpack .../40-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_s390x.deb ... 733s Unpacking zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 733s Selecting previously unselected package libgio-2.0-dev:s390x. 733s Preparing to unpack .../41-libgio-2.0-dev_2.83.3-2_s390x.deb ... 733s Unpacking libgio-2.0-dev:s390x (2.83.3-2) ... 733s Selecting previously unselected package python3-packaging. 733s Preparing to unpack .../42-python3-packaging_24.2-1_all.deb ... 733s Unpacking python3-packaging (24.2-1) ... 733s Selecting previously unselected package libgio-2.0-dev-bin. 733s Preparing to unpack .../43-libgio-2.0-dev-bin_2.83.3-2_s390x.deb ... 733s Unpacking libgio-2.0-dev-bin (2.83.3-2) ... 733s Selecting previously unselected package libglib2.0-bin. 733s Preparing to unpack .../44-libglib2.0-bin_2.83.3-2_s390x.deb ... 733s Unpacking libglib2.0-bin (2.83.3-2) ... 733s Selecting previously unselected package libglib2.0-dev-bin. 733s Preparing to unpack .../45-libglib2.0-dev-bin_2.83.3-2_s390x.deb ... 733s Unpacking libglib2.0-dev-bin (2.83.3-2) ... 733s Selecting previously unselected package libglib2.0-dev:s390x. 733s Preparing to unpack .../46-libglib2.0-dev_2.83.3-2_s390x.deb ... 733s Unpacking libglib2.0-dev:s390x (2.83.3-2) ... 733s Setting up native-architecture (0.2.5) ... 733s Setting up libgirepository-2.0-0:s390x (2.83.3-2) ... 733s Setting up libglib2.0-bin (2.83.3-2) ... 733s Setting up libgomp1:s390x (15-20250213-1ubuntu1) ... 733s Setting up libffi-dev:s390x (3.4.7-1) ... 733s Setting up libpcre2-16-0:s390x (10.42-4ubuntu3) ... 733s Setting up libsysprof-capture-4-dev:s390x (48~beta-2) ... 733s Setting up libpcre2-32-0:s390x (10.42-4ubuntu3) ... 733s Setting up python3-packaging (24.2-1) ... 733s Setting up libpkgconf3:s390x (1.8.1-4) ... 733s Setting up uuid-dev:s390x (2.40.2-14ubuntu1) ... 733s Setting up libmpc3:s390x (1.3.1-1build2) ... 733s Setting up libsepol-dev:s390x (3.7-1) ... 733s Setting up pkgconf-bin (1.8.1-4) ... 733s Setting up libubsan1:s390x (15-20250213-1ubuntu1) ... 733s Setting up zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 733s Setting up libpcre2-posix3:s390x (10.42-4ubuntu3) ... 733s Setting up gir1.2-glib-2.0-dev:s390x (2.83.3-2) ... 733s Setting up libasan8:s390x (15-20250213-1ubuntu1) ... 733s Setting up libisl23:s390x (0.27-1) ... 733s Setting up libcc1-0:s390x (15-20250213-1ubuntu1) ... 733s Setting up libitm1:s390x (15-20250213-1ubuntu1) ... 733s Setting up libblkid-dev:s390x (2.40.2-14ubuntu1) ... 733s Setting up libgio-2.0-dev-bin (2.83.3-2) ... 733s Setting up girepository-tools:s390x (2.83.3-2) ... 733s Setting up libpcre2-dev:s390x (10.42-4ubuntu3) ... 733s Setting up libselinux1-dev:s390x (3.7-3ubuntu2) ... 733s Setting up pkgconf:s390x (1.8.1-4) ... 733s Setting up cpp-14-s390x-linux-gnu (14.2.0-17ubuntu3) ... 733s Setting up cpp-14 (14.2.0-17ubuntu3) ... 733s Setting up libgcc-14-dev:s390x (14.2.0-17ubuntu3) ... 733s Setting up libstdc++-14-dev:s390x (14.2.0-17ubuntu3) ... 733s Setting up libmount-dev:s390x (2.40.2-14ubuntu1) ... 733s Setting up libglib2.0-dev-bin (2.83.3-2) ... 733s Setting up libgio-2.0-dev:s390x (2.83.3-2) ... 733s Setting up cpp-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 733s Setting up gcc-14-s390x-linux-gnu (14.2.0-17ubuntu3) ... 733s Setting up gcc-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 733s Setting up g++-14-s390x-linux-gnu (14.2.0-17ubuntu3) ... 733s Setting up cpp (4:14.2.0-1ubuntu1) ... 733s Setting up g++-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 733s Setting up gcc-14 (14.2.0-17ubuntu3) ... 733s Setting up g++-14 (14.2.0-17ubuntu3) ... 733s Setting up gcc (4:14.2.0-1ubuntu1) ... 733s Setting up g++ (4:14.2.0-1ubuntu1) ... 733s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 733s Setting up build-essential (12.12) ... 733s Processing triggers for install-info (7.1.1-1) ... 733s Processing triggers for libc-bin (2.40-4ubuntu1) ... 733s Processing triggers for man-db (2.13.0-1) ... 734s Processing triggers for libglib2.0-0t64:s390x (2.83.3-2) ... 734s No schema files found: doing nothing. 734s Setting up libglib2.0-dev:s390x (2.83.3-2) ... 742s autopkgtest [13:22:59]: test libglib2.0-dev: [----------------------- 742s + debian/tests/build 742s + mode=dynamic 742s + getopt -o --long static -n debian/tests/build -- 742s + getopt_temp= -- 742s + eval set -- -- 742s + set -- -- 742s + true 742s + shift 742s + break 742s + mktemp -d 742s + WORKDIR=/tmp/tmp.HUASF8S4U1 742s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 742s + cd /tmp/tmp.HUASF8S4U1 742s + [ -n ] 742s + CROSS_COMPILE= 742s + cat 742s + cat 742s + cat 742s + cat 742s + cat 742s + cat 742s + cflags= 742s + pcflags= 742s + packages=glib-2.0 742s + pkg-config --cflags --libs glib-2.0 742s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 742s build (glib, dynamic): OK 742s + echo build (glib, dynamic): OK 742s + [ -x glib-dynamic ] 742s + foo=bar ./glib-dynamic 742s + echo run (glib, dynamic): OK 742s + cflags= 742s + pcflags= 742s + packages=gobject-2.0 742s run (glib, dynamic): OK 742s + pkg-config --cflags --libs gobject-2.0 742s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 742s build (gobject, dynamic): OK 742s run (gobject, dynamic): OK 742s + echo build (gobject, dynamic): OK 742s + [ -x gobject-dynamic ] 742s + foo=bar ./gobject-dynamic 742s + echo run (gobject, dynamic): OK 742s + cflags= 742s + pcflags= 742s + packages=gio-2.0 742s + pkg-config --cflags --libs gio-2.0 742s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 742s build (gio, dynamic): OK 742s + echo build (gio, dynamic): OK 742s + [ -x gio-dynamic ] 742s + foo=bar ./gio-dynamic 742s + echo run (gio, dynamic): OK 742s + cflags= 742s + pcflags= 742s + packages=gio-unix-2.0 742s + pkg-config --cflags --libs gio-unix-2.0 742s run (gio, dynamic): OK 742s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 742s + echo build (gio-unix, dynamic): OK 742s + [ -x gio-unix-dynamic ] 742s + foo=bar ./gio-unix-dynamic 742s build (gio-unix, dynamic): OK 742s run (gio-unix, dynamic): OK 742s + echo run (gio-unix, dynamic): OK 742s + cflags= 742s + pcflags= 742s + packages=gmodule-2.0 742s + pkg-config --cflags --libs gmodule-2.0 742s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 742s + echo build (gmodule, dynamic): OK 742s + [ -x gmodule-dynamic ] 742s + foo=bar ./gmodule-dynamic 742s build (gmodule, dynamic): OK 742s + echo run (gmodule, dynamic): OK 742s + cflags= 742s + pcflags= 742s + packages=gthread-2.0 742s + pkg-config --cflags --libs gthread-2.0 742s run (gmodule, dynamic): OK 742s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 742s + echo build (gthread, dynamic): OK 742s + [ -x gthread-dynamic ] 742s + foo=bar ./gthread-dynamic 742s build (gthread, dynamic): OK 742s + echo run (gthread, dynamic): OK 742s + rm -rf /tmp/tmp.HUASF8S4U1 742s run (gthread, dynamic): OK 742s + debian/tests/build-static 742s + mode=dynamic 742s + getopt -o --long static -n debian/tests/build -- --static 742s + getopt_temp= --static -- 742s + eval set -- --static -- 742s + set -- --static -- 742s + true 742s + mode=static 742s + shift 742s + continue 742s + true 742s + shift 742s + break 742s + mktemp -d 742s + WORKDIR=/tmp/tmp.lIE1Jt1PX7 742s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 742s + cd /tmp/tmp.lIE1Jt1PX7 742s + [ -n ] 742s + CROSS_COMPILE= 742s + cat 742s + cat 742s + cat 742s + cat 742s + cat 742s + cat 742s + cflags= 742s + pcflags= 742s + packages=glib-2.0 742s + cflags=-static 742s + pcflags=--static 742s + pkg-config --static --cflags --libs glib-2.0 742s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 743s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 743s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 743s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 743s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 743s build (glib, static): OK 743s + echo build (glib, static): OK 743s + [ -x glib-static ] 743s + foo=bar ./glib-static 743s + echo run (glib, static): OK 743s + cflags= 743s + pcflags= 743s + packages=gobject-2.0 743s + cflags=-static 743s + pcflags=--static 743s + pkg-config --static --cflags --libs gobject-2.0 743s run (glib, static): OK 743s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 743s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 743s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 743s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 743s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 743s build (gobject, static): OK 743s + echo build (gobject, static): OK 743s + [ -x gobject-static ] 743s + foo=bar ./gobject-static 743s + echo run (gobject, static): OK 743s + cflags= 743s + pcflags= 743s + packages=gio-2.0 743s + cflags=-static 743s + pcflags=--static 743s + continue 743s + cflags= 743s + pcflags= 743s + packages=gio-unix-2.0 743s + cflags=-static 743s + pcflags=--static 743s + continue 743s + cflags= 743s + pcflags= 743s + packages=gmodule-2.0 743s + cflags=-static 743s + pcflags=--static 743s + pkg-config --static --cflags --libs gmodule-2.0 743s run (gobject, static): OK 743s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 743s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 743s (.text+0x64a): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 743s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 743s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 743s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 743s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 743s + echo build (gmodule, static): OK 743s + [ -x gmodule-static ] 743s + foo=bar ./gmodule-static 743s build (gmodule, static): OK 743s + echo run (gmodule, static): OK 743s + cflags= 743s + pcflags= 743s + packages=gthread-2.0 743s + cflags=-static 743s + pcflags=--static 743s run (gmodule, static): OK 743s + pkg-config --static --cflags --libs gthread-2.0 743s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 743s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 743s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 743s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 743s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 743s + echo build (gthread, static): OK 743s + [ -x gthread-static ] 743s + foo=bar ./gthread-static 743s build (gthread, static): OK 743s run (gthread, static): OK 743s + echo run (gthread, static): OK 743s + rm -rf /tmp/tmp.lIE1Jt1PX7 743s + debian/tests/girepository-tools 743s + cd /tmp/autopkgtest.yKsP97/autopkgtest_tmp 743s + dpkg-architecture -qDEB_HOST_GNU_TYPE 743s + DEB_HOST_GNU_TYPE=s390x-linux-gnu 743s + dpkg-architecture -qDEB_HOST_MULTIARCH 743s + DEB_HOST_MULTIARCH=s390x-linux-gnu 743s + s390x-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 743s typelib: GLib-2.0 743s + s390x-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir 743s + s390x-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 743s + debian/tests/libgio-2.0-dev-bin 743s + gdbus-codegen --help 743s + glib-compile-resources --version 743s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 743s [--c-namespace NAMESPACE] [--c-generate-object-manager] 743s [--c-generate-autocleanup {none,objects,all}] 743s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 743s [--generate-rst OUTFILES] [--pragma-once] 743s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 743s [--glib-min-required VERSION] 743s [--glib-max-allowed VERSION] 743s [--symbol-decorator SYMBOL_DECORATOR] 743s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 743s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 743s [--generate-c-code OUTFILES | --header | --body | 743s --interface-info-header | --interface-info-body] 743s [--output FILE | --output-directory OUTDIR] 743s FILE [FILE ...] 743s 743s D-Bus code and documentation generator 743s 743s positional arguments: 743s FILE D-Bus introspection XML file 743s 743s options: 743s -h, --help show this help message and exit 743s --interface-prefix PREFIX 743s String to strip from D-Bus interface names for code 743s and docs 743s --c-namespace NAMESPACE 743s The namespace to use for generated C code 743s --c-generate-object-manager 743s Generate a GDBusObjectManagerClient subclass when 743s generating C code 743s --c-generate-autocleanup {none,objects,all} 743s Generate autocleanup support 743s --generate-docbook OUTFILES 743s Generate Docbook in OUTFILES-org.Project.IFace.xml 743s --generate-md OUTFILES 743s Generate Markdown in OUTFILES-org.Project.IFace.md 743s --generate-rst OUTFILES 743s Generate reStructuredText in OUTFILES- 743s org.Project.IFace.rst 743s --pragma-once Use "pragma once" as the inclusion guard 743s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 743s Add annotation (may be used several times) 743s --glib-min-required VERSION 743s Minimum version of GLib to be supported by the 743s outputted code (default: 2.30) 743s --glib-max-allowed VERSION 743s Maximum version of GLib to be used by the outputted 743s code (default: current GLib version) 743s --symbol-decorator SYMBOL_DECORATOR 743s Macro used to decorate a symbol in the outputted 743s header, possibly to export symbols 743s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 743s Additional header required for decorator specified by 743s --symbol-decorator 743s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 743s Additional define required for decorator specified by 743s --symbol-decorator 743s --generate-c-code OUTFILES 743s Generate C code in OUTFILES.[ch] 743s --header Generate C headers 743s --body Generate C code 743s --interface-info-header 743s Generate GDBusInterfaceInfo C header 743s --interface-info-body 743s Generate GDBusInterfaceInfo C code 743s --output FILE Write output into the specified file 743s --output-directory OUTDIR 743s Location to output generated files 743s + glib-genmarshal --version 743s 2.83.3 743s + glib-gettextize --version 743s + glib-mkenums --version 743s glib-genmarshal version 2.83.3 743s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 743s You may redistribute copies of glib-genmarshal under the terms of 743s the GNU General Public License which can be found in the 743s GLib source package. Sources, examples and contact 743s information are available at http://www.gtk.org 743s /usr/bin/glib-gettextize (GNU glib) 2.83.3 743s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 743s This is free software; see the source for copying conditions. There is NO 743s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 743s Written by Ulrich Drepper 743s glib-mkenums version 2.83.3 743s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 743s You may redistribute copies of glib-mkenums under the terms of 743s the GNU General Public License which can be found in the 743s GLib source package. Sources, examples and contact 743s information are available at http://www.gtk.org 743s + gobject-query tree 743s + gtester --version 743s GObject 743s + gtester-report --version 743s gtester version 2.83.3 743s gtester-report (GLib utils) version 2.83.3. 743s + cd /tmp/autopkgtest.yKsP97/autopkgtest_tmp 743s + dpkg-architecture -qDEB_HOST_MULTIARCH 743s + DEB_HOST_MULTIARCH=s390x-linux-gnu 743s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 743s + gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir 743s typelib: GLib-2.0 743s + gi-decompile-typelib -o GLib.gir GLib.typelib 744s autopkgtest [13:23:01]: test libglib2.0-dev: -----------------------] 744s autopkgtest [13:23:01]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 744s libglib2.0-dev PASS (superficial) 745s autopkgtest [13:23:02]: test installed-tests: preparing testbed 869s autopkgtest [13:25:06]: testbed dpkg architecture: s390x 870s autopkgtest [13:25:07]: testbed apt version: 2.9.30ubuntu1 870s autopkgtest [13:25:07]: @@@@@@@@@@@@@@@@@@@@ test bed setup 870s autopkgtest [13:25:07]: testbed release detected to be: plucky 871s autopkgtest [13:25:08]: updating testbed package index (apt update) 871s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 871s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 871s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 871s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 872s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [90.3 kB] 872s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [719 kB] 872s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 872s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.8 kB] 872s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [131 kB] 872s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [760 B] 872s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [637 kB] 872s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4436 B] 872s Fetched 1711 kB in 1s (1938 kB/s) 872s Reading package lists... 873s Reading package lists... 873s Building dependency tree... 873s Reading state information... 873s Calculating upgrade... 873s Calculating upgrade... 873s The following packages were automatically installed and are no longer required: 873s libnsl2 libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 873s linux-headers-6.11.0-8 linux-headers-6.11.0-8-generic 873s linux-modules-6.11.0-8-generic linux-tools-6.11.0-8 873s linux-tools-6.11.0-8-generic 873s Use 'sudo apt autoremove' to remove them. 873s The following packages will be upgraded: 873s base-files gcc-14-base motd-news-config 874s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 874s Need to get 134 kB of archives. 874s After this operation, 0 B of additional disk space will be used. 874s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x motd-news-config all 13.6ubuntu1 [5168 B] 874s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x base-files s390x 13.6ubuntu1 [75.4 kB] 874s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-base s390x 14.2.0-17ubuntu3 [53.6 kB] 874s Fetched 134 kB in 0s (324 kB/s) 874s (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 ... 81030 files and directories currently installed.) 874s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ... 874s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ... 874s Preparing to unpack .../base-files_13.6ubuntu1_s390x.deb ... 874s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ... 874s Setting up base-files (13.6ubuntu1) ... 874s Updating /root/.profile to current default. 875s motd-news.service is a disabled or a static unit not running, not starting it. 875s (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 ... 81030 files and directories currently installed.) 875s Preparing to unpack .../gcc-14-base_14.2.0-17ubuntu3_s390x.deb ... 875s Unpacking gcc-14-base:s390x (14.2.0-17ubuntu3) over (14.2.0-17ubuntu1) ... 875s Setting up motd-news-config (13.6ubuntu1) ... 875s Setting up gcc-14-base:s390x (14.2.0-17ubuntu3) ... 875s Processing triggers for plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ... 875s Processing triggers for install-info (7.1.1-1) ... 875s Processing triggers for man-db (2.13.0-1) ... 875s Processing triggers for initramfs-tools (0.145ubuntu2) ... 875s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic 875s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 879s Using config file '/etc/zipl.conf' 879s Building bootmap in '/boot' 879s Adding IPL section 'ubuntu' (default) 879s Preparing boot device for LD-IPL: vda (0000). 879s Done. 879s Reading package lists... 879s Building dependency tree... 879s Reading state information... 879s Solving dependencies... 879s The following packages will be REMOVED: 879s libnsl2* libpython3.12-minimal* libpython3.12-stdlib* libpython3.12t64* 879s linux-headers-6.11.0-8* linux-headers-6.11.0-8-generic* 879s linux-modules-6.11.0-8-generic* linux-tools-6.11.0-8* 879s linux-tools-6.11.0-8-generic* 879s 0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded. 879s After this operation, 167 MB disk space will be freed. 880s (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 ... 81030 files and directories currently installed.) 880s Removing linux-tools-6.11.0-8-generic (6.11.0-8.8) ... 880s Removing linux-tools-6.11.0-8 (6.11.0-8.8) ... 880s Removing libpython3.12t64:s390x (3.12.9-1) ... 880s Removing libpython3.12-stdlib:s390x (3.12.9-1) ... 880s Removing libnsl2:s390x (1.3.0-3build3) ... 880s Removing libpython3.12-minimal:s390x (3.12.9-1) ... 880s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 880s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 880s Removing linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 880s Processing triggers for libc-bin (2.40-4ubuntu1) ... 880s (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 ... 55930 files and directories currently installed.) 880s Purging configuration files for libpython3.12-minimal:s390x (3.12.9-1) ... 880s Purging configuration files for linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 881s autopkgtest [13:25:18]: upgrading testbed (apt dist-upgrade and autopurge) 881s Reading package lists... 881s Building dependency tree... 881s Reading state information... 881s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 881s Starting 2 pkgProblemResolver with broken count: 0 881s Done 881s Entering ResolveByKeep 881s 881s Calculating upgrade... 882s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 882s Reading package lists... 882s Building dependency tree... 882s Reading state information... 882s Starting pkgProblemResolver with broken count: 0 882s Starting 2 pkgProblemResolver with broken count: 0 882s Done 882s Solving dependencies... 882s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 882s autopkgtest [13:25:19]: rebooting testbed after setup commands that affected boot 907s Reading package lists... 907s Building dependency tree... 907s Reading state information... 907s Starting pkgProblemResolver with broken count: 0 907s Starting 2 pkgProblemResolver with broken count: 0 907s Done 908s The following NEW packages will be installed: 908s dbus-x11 desktop-file-utils girepository-tools gnome-desktop-testing 908s libdrm-radeon1 libfontenc1 libfreetype6 libgbm1 libgio-2.0-dev-bin 908s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 908s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 908s libpixman-1-0 libsm6 libvulkan1 libwayland-server0 libx11-xcb1 libxaw7 908s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 908s libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 libxpm4 libxrandr2 908s libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium 908s native-architecture python3-dbusmock python3-packaging tzdata-legacy 908s x11-common x11-xkb-utils xserver-common xvfb 908s 0 upgraded, 51 newly installed, 0 to remove and 0 not upgraded. 908s Need to get 14.4 MB of archives. 908s After this operation, 61.6 MB of additional disk space will be used. 908s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x dbus-x11 s390x 1.16.0-1ubuntu1 [23.9 kB] 908s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x desktop-file-utils s390x 0.28-1 [53.9 kB] 908s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x native-architecture all 0.2.5 [2082 B] 908s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libgirepository-2.0-0 s390x 2.83.3-2 [75.4 kB] 908s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x girepository-tools s390x 2.83.3-2 [114 kB] 908s Get:6 http://ftpmaster.internal/ubuntu plucky/universe s390x gnome-desktop-testing s390x 2021.1-4 [16.6 kB] 908s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libdrm-radeon1 s390x 2.4.123-1 [22.4 kB] 908s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libfontenc1 s390x 1:1.1.8-1build1 [14.8 kB] 908s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libfreetype6 s390x 2.13.3+dfsg-1 [431 kB] 908s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libwayland-server0 s390x 1.23.1-3 [37.3 kB] 908s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libglapi-mesa s390x 24.3.4-3ubuntu1 [68.4 kB] 908s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x libx11-xcb1 s390x 2:1.8.10-2 [7954 B] 908s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-dri3-0 s390x 1.17.0-2 [7616 B] 908s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-present0 s390x 1.17.0-2 [6244 B] 908s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-randr0 s390x 1.17.0-2 [19.2 kB] 908s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-sync1 s390x 1.17.0-2 [9488 B] 908s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-xfixes0 s390x 1.17.0-2 [10.5 kB] 908s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libxshmfence1 s390x 1.3-1build5 [4772 B] 908s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x mesa-libgallium s390x 24.3.4-3ubuntu1 [7967 kB] 908s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x libgbm1 s390x 24.3.4-3ubuntu1 [34.5 kB] 908s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.2-1 [51.5 kB] 908s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x libgio-2.0-dev-bin s390x 2.83.3-2 [129 kB] 908s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libvulkan1 s390x 1.4.304.0-1 [147 kB] 908s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x libgl1-mesa-dri s390x 24.3.4-3ubuntu1 [35.3 kB] 908s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-bin s390x 2.83.3-2 [99.5 kB] 908s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-dev-bin s390x 2.83.3-2 [18.1 kB] 908s Get:27 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-dbusmock all 0.34.0-1 [92.2 kB] 908s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x tzdata-legacy all 2025a-2ubuntu1 [99.2 kB] 908s Get:29 http://ftpmaster.internal/ubuntu plucky/universe s390x libglib2.0-tests s390x 2.83.3-2 [2204 kB] 909s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-glx0 s390x 1.17.0-2 [26.0 kB] 909s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-shm0 s390x 1.17.0-2 [5862 B] 909s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libxxf86vm1 s390x 1:1.1.4-1build4 [9630 B] 909s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libglx-mesa0 s390x 24.3.4-3ubuntu1 [162 kB] 909s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x x11-common all 1:7.7+23ubuntu3 [21.7 kB] 909s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x libice6 s390x 2:1.1.1-1 [45.4 kB] 909s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x libpixman-1-0 s390x 0.44.0-3 [201 kB] 909s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x libsm6 s390x 2:1.2.4-1 [18.4 kB] 909s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x libxt6t64 s390x 1:1.2.1-1.2build1 [184 kB] 909s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x libxmu6 s390x 2:1.1.3-3build2 [53.0 kB] 909s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x libxpm4 s390x 1:3.5.17-1build2 [41.2 kB] 909s Get:41 http://ftpmaster.internal/ubuntu plucky/main s390x libxaw7 s390x 2:1.0.16-1 [201 kB] 909s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x libxfont2 s390x 1:2.0.6-1build1 [101 kB] 909s Get:43 http://ftpmaster.internal/ubuntu plucky/main s390x libxkbfile1 s390x 1:1.1.0-1build4 [76.5 kB] 909s Get:44 http://ftpmaster.internal/ubuntu plucky/main s390x libxrender1 s390x 1:0.9.10-1.1build1 [20.4 kB] 909s Get:45 http://ftpmaster.internal/ubuntu plucky/main s390x libxrandr2 s390x 2:1.5.4-1 [20.8 kB] 909s Get:46 http://ftpmaster.internal/ubuntu plucky/main s390x x11-xkb-utils s390x 7.7+9 [169 kB] 909s Get:47 http://ftpmaster.internal/ubuntu plucky/main s390x xserver-common all 2:21.1.14-2ubuntu1 [33.7 kB] 909s Get:48 http://ftpmaster.internal/ubuntu plucky/main s390x libglvnd0 s390x 1.7.0-1build1 [110 kB] 909s Get:49 http://ftpmaster.internal/ubuntu plucky/main s390x libglx0 s390x 1.7.0-1build1 [32.2 kB] 909s Get:50 http://ftpmaster.internal/ubuntu plucky/main s390x libgl1 s390x 1.7.0-1build1 [142 kB] 909s Get:51 http://ftpmaster.internal/ubuntu plucky/universe s390x xvfb s390x 2:21.1.14-2ubuntu1 [941 kB] 909s Fetched 14.4 MB in 1s (11.7 MB/s) 909s Selecting previously unselected package dbus-x11. 909s (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 ... 55928 files and directories currently installed.) 909s Preparing to unpack .../00-dbus-x11_1.16.0-1ubuntu1_s390x.deb ... 909s Unpacking dbus-x11 (1.16.0-1ubuntu1) ... 909s Selecting previously unselected package desktop-file-utils. 909s Preparing to unpack .../01-desktop-file-utils_0.28-1_s390x.deb ... 909s Unpacking desktop-file-utils (0.28-1) ... 909s Selecting previously unselected package native-architecture. 909s Preparing to unpack .../02-native-architecture_0.2.5_all.deb ... 909s Unpacking native-architecture (0.2.5) ... 909s Selecting previously unselected package libgirepository-2.0-0:s390x. 909s Preparing to unpack .../03-libgirepository-2.0-0_2.83.3-2_s390x.deb ... 909s Unpacking libgirepository-2.0-0:s390x (2.83.3-2) ... 909s Selecting previously unselected package girepository-tools:s390x. 909s Preparing to unpack .../04-girepository-tools_2.83.3-2_s390x.deb ... 909s Unpacking girepository-tools:s390x (2.83.3-2) ... 909s Selecting previously unselected package gnome-desktop-testing. 909s Preparing to unpack .../05-gnome-desktop-testing_2021.1-4_s390x.deb ... 909s Unpacking gnome-desktop-testing (2021.1-4) ... 909s Selecting previously unselected package libdrm-radeon1:s390x. 909s Preparing to unpack .../06-libdrm-radeon1_2.4.123-1_s390x.deb ... 909s Unpacking libdrm-radeon1:s390x (2.4.123-1) ... 909s Selecting previously unselected package libfontenc1:s390x. 909s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build1_s390x.deb ... 909s Unpacking libfontenc1:s390x (1:1.1.8-1build1) ... 909s Selecting previously unselected package libfreetype6:s390x. 909s Preparing to unpack .../08-libfreetype6_2.13.3+dfsg-1_s390x.deb ... 909s Unpacking libfreetype6:s390x (2.13.3+dfsg-1) ... 909s Selecting previously unselected package libwayland-server0:s390x. 909s Preparing to unpack .../09-libwayland-server0_1.23.1-3_s390x.deb ... 909s Unpacking libwayland-server0:s390x (1.23.1-3) ... 909s Selecting previously unselected package libglapi-mesa:s390x. 909s Preparing to unpack .../10-libglapi-mesa_24.3.4-3ubuntu1_s390x.deb ... 909s Unpacking libglapi-mesa:s390x (24.3.4-3ubuntu1) ... 909s Selecting previously unselected package libx11-xcb1:s390x. 909s Preparing to unpack .../11-libx11-xcb1_2%3a1.8.10-2_s390x.deb ... 909s Unpacking libx11-xcb1:s390x (2:1.8.10-2) ... 909s Selecting previously unselected package libxcb-dri3-0:s390x. 909s Preparing to unpack .../12-libxcb-dri3-0_1.17.0-2_s390x.deb ... 909s Unpacking libxcb-dri3-0:s390x (1.17.0-2) ... 909s Selecting previously unselected package libxcb-present0:s390x. 909s Preparing to unpack .../13-libxcb-present0_1.17.0-2_s390x.deb ... 909s Unpacking libxcb-present0:s390x (1.17.0-2) ... 909s Selecting previously unselected package libxcb-randr0:s390x. 909s Preparing to unpack .../14-libxcb-randr0_1.17.0-2_s390x.deb ... 909s Unpacking libxcb-randr0:s390x (1.17.0-2) ... 909s Selecting previously unselected package libxcb-sync1:s390x. 909s Preparing to unpack .../15-libxcb-sync1_1.17.0-2_s390x.deb ... 909s Unpacking libxcb-sync1:s390x (1.17.0-2) ... 909s Selecting previously unselected package libxcb-xfixes0:s390x. 909s Preparing to unpack .../16-libxcb-xfixes0_1.17.0-2_s390x.deb ... 909s Unpacking libxcb-xfixes0:s390x (1.17.0-2) ... 909s Selecting previously unselected package libxshmfence1:s390x. 909s Preparing to unpack .../17-libxshmfence1_1.3-1build5_s390x.deb ... 909s Unpacking libxshmfence1:s390x (1.3-1build5) ... 909s Selecting previously unselected package mesa-libgallium:s390x. 909s Preparing to unpack .../18-mesa-libgallium_24.3.4-3ubuntu1_s390x.deb ... 909s Unpacking mesa-libgallium:s390x (24.3.4-3ubuntu1) ... 909s Selecting previously unselected package libgbm1:s390x. 909s Preparing to unpack .../19-libgbm1_24.3.4-3ubuntu1_s390x.deb ... 909s Unpacking libgbm1:s390x (24.3.4-3ubuntu1) ... 909s Selecting previously unselected package python3-packaging. 909s Preparing to unpack .../20-python3-packaging_24.2-1_all.deb ... 909s Unpacking python3-packaging (24.2-1) ... 909s Selecting previously unselected package libgio-2.0-dev-bin. 909s Preparing to unpack .../21-libgio-2.0-dev-bin_2.83.3-2_s390x.deb ... 909s Unpacking libgio-2.0-dev-bin (2.83.3-2) ... 910s Selecting previously unselected package libvulkan1:s390x. 910s Preparing to unpack .../22-libvulkan1_1.4.304.0-1_s390x.deb ... 910s Unpacking libvulkan1:s390x (1.4.304.0-1) ... 910s Selecting previously unselected package libgl1-mesa-dri:s390x. 910s Preparing to unpack .../23-libgl1-mesa-dri_24.3.4-3ubuntu1_s390x.deb ... 910s Unpacking libgl1-mesa-dri:s390x (24.3.4-3ubuntu1) ... 910s Selecting previously unselected package libglib2.0-bin. 910s Preparing to unpack .../24-libglib2.0-bin_2.83.3-2_s390x.deb ... 910s Unpacking libglib2.0-bin (2.83.3-2) ... 910s Selecting previously unselected package libglib2.0-dev-bin. 910s Preparing to unpack .../25-libglib2.0-dev-bin_2.83.3-2_s390x.deb ... 910s Unpacking libglib2.0-dev-bin (2.83.3-2) ... 910s Selecting previously unselected package python3-dbusmock. 910s Preparing to unpack .../26-python3-dbusmock_0.34.0-1_all.deb ... 910s Unpacking python3-dbusmock (0.34.0-1) ... 910s Selecting previously unselected package tzdata-legacy. 910s Preparing to unpack .../27-tzdata-legacy_2025a-2ubuntu1_all.deb ... 910s Unpacking tzdata-legacy (2025a-2ubuntu1) ... 910s Selecting previously unselected package libglib2.0-tests. 910s Preparing to unpack .../28-libglib2.0-tests_2.83.3-2_s390x.deb ... 910s Unpacking libglib2.0-tests (2.83.3-2) ... 910s Selecting previously unselected package libxcb-glx0:s390x. 910s Preparing to unpack .../29-libxcb-glx0_1.17.0-2_s390x.deb ... 910s Unpacking libxcb-glx0:s390x (1.17.0-2) ... 910s Selecting previously unselected package libxcb-shm0:s390x. 910s Preparing to unpack .../30-libxcb-shm0_1.17.0-2_s390x.deb ... 910s Unpacking libxcb-shm0:s390x (1.17.0-2) ... 910s Selecting previously unselected package libxxf86vm1:s390x. 910s Preparing to unpack .../31-libxxf86vm1_1%3a1.1.4-1build4_s390x.deb ... 910s Unpacking libxxf86vm1:s390x (1:1.1.4-1build4) ... 910s Selecting previously unselected package libglx-mesa0:s390x. 910s Preparing to unpack .../32-libglx-mesa0_24.3.4-3ubuntu1_s390x.deb ... 910s Unpacking libglx-mesa0:s390x (24.3.4-3ubuntu1) ... 910s Selecting previously unselected package x11-common. 910s Preparing to unpack .../33-x11-common_1%3a7.7+23ubuntu3_all.deb ... 910s Unpacking x11-common (1:7.7+23ubuntu3) ... 910s Selecting previously unselected package libice6:s390x. 910s Preparing to unpack .../34-libice6_2%3a1.1.1-1_s390x.deb ... 910s Unpacking libice6:s390x (2:1.1.1-1) ... 910s Selecting previously unselected package libpixman-1-0:s390x. 910s Preparing to unpack .../35-libpixman-1-0_0.44.0-3_s390x.deb ... 910s Unpacking libpixman-1-0:s390x (0.44.0-3) ... 910s Selecting previously unselected package libsm6:s390x. 910s Preparing to unpack .../36-libsm6_2%3a1.2.4-1_s390x.deb ... 910s Unpacking libsm6:s390x (2:1.2.4-1) ... 910s Selecting previously unselected package libxt6t64:s390x. 910s Preparing to unpack .../37-libxt6t64_1%3a1.2.1-1.2build1_s390x.deb ... 910s Unpacking libxt6t64:s390x (1:1.2.1-1.2build1) ... 910s Selecting previously unselected package libxmu6:s390x. 910s Preparing to unpack .../38-libxmu6_2%3a1.1.3-3build2_s390x.deb ... 910s Unpacking libxmu6:s390x (2:1.1.3-3build2) ... 910s Selecting previously unselected package libxpm4:s390x. 910s Preparing to unpack .../39-libxpm4_1%3a3.5.17-1build2_s390x.deb ... 910s Unpacking libxpm4:s390x (1:3.5.17-1build2) ... 910s Selecting previously unselected package libxaw7:s390x. 910s Preparing to unpack .../40-libxaw7_2%3a1.0.16-1_s390x.deb ... 910s Unpacking libxaw7:s390x (2:1.0.16-1) ... 910s Selecting previously unselected package libxfont2:s390x. 910s Preparing to unpack .../41-libxfont2_1%3a2.0.6-1build1_s390x.deb ... 910s Unpacking libxfont2:s390x (1:2.0.6-1build1) ... 910s Selecting previously unselected package libxkbfile1:s390x. 910s Preparing to unpack .../42-libxkbfile1_1%3a1.1.0-1build4_s390x.deb ... 910s Unpacking libxkbfile1:s390x (1:1.1.0-1build4) ... 910s Selecting previously unselected package libxrender1:s390x. 910s Preparing to unpack .../43-libxrender1_1%3a0.9.10-1.1build1_s390x.deb ... 910s Unpacking libxrender1:s390x (1:0.9.10-1.1build1) ... 910s Selecting previously unselected package libxrandr2:s390x. 910s Preparing to unpack .../44-libxrandr2_2%3a1.5.4-1_s390x.deb ... 910s Unpacking libxrandr2:s390x (2:1.5.4-1) ... 910s Selecting previously unselected package x11-xkb-utils. 910s Preparing to unpack .../45-x11-xkb-utils_7.7+9_s390x.deb ... 910s Unpacking x11-xkb-utils (7.7+9) ... 910s Selecting previously unselected package xserver-common. 910s Preparing to unpack .../46-xserver-common_2%3a21.1.14-2ubuntu1_all.deb ... 910s Unpacking xserver-common (2:21.1.14-2ubuntu1) ... 910s Selecting previously unselected package libglvnd0:s390x. 910s Preparing to unpack .../47-libglvnd0_1.7.0-1build1_s390x.deb ... 910s Unpacking libglvnd0:s390x (1.7.0-1build1) ... 910s Selecting previously unselected package libglx0:s390x. 910s Preparing to unpack .../48-libglx0_1.7.0-1build1_s390x.deb ... 910s Unpacking libglx0:s390x (1.7.0-1build1) ... 910s Selecting previously unselected package libgl1:s390x. 910s Preparing to unpack .../49-libgl1_1.7.0-1build1_s390x.deb ... 910s Unpacking libgl1:s390x (1.7.0-1build1) ... 910s Selecting previously unselected package xvfb. 910s Preparing to unpack .../50-xvfb_2%3a21.1.14-2ubuntu1_s390x.deb ... 910s Unpacking xvfb (2:21.1.14-2ubuntu1) ... 910s Setting up gnome-desktop-testing (2021.1-4) ... 910s Setting up libxcb-dri3-0:s390x (1.17.0-2) ... 910s Setting up libpixman-1-0:s390x (0.44.0-3) ... 910s Setting up libwayland-server0:s390x (1.23.1-3) ... 910s Setting up libx11-xcb1:s390x (2:1.8.10-2) ... 910s Setting up native-architecture (0.2.5) ... 910s Setting up libxcb-xfixes0:s390x (1.17.0-2) ... 910s Setting up desktop-file-utils (0.28-1) ... 910s Setting up libxpm4:s390x (1:3.5.17-1build2) ... 910s Setting up libxrender1:s390x (1:0.9.10-1.1build1) ... 910s Setting up libgirepository-2.0-0:s390x (2.83.3-2) ... 910s Setting up libdrm-radeon1:s390x (2.4.123-1) ... 910s Setting up libglvnd0:s390x (1.7.0-1build1) ... 910s Setting up libxcb-glx0:s390x (1.17.0-2) ... 910s Setting up x11-common (1:7.7+23ubuntu3) ... 910s Setting up libglib2.0-bin (2.83.3-2) ... 910s Setting up libxcb-shm0:s390x (1.17.0-2) ... 910s Setting up python3-dbusmock (0.34.0-1) ... 910s Setting up tzdata-legacy (2025a-2ubuntu1) ... 910s Setting up libxxf86vm1:s390x (1:1.1.4-1build4) ... 910s Setting up libxcb-present0:s390x (1.17.0-2) ... 910s Setting up libfontenc1:s390x (1:1.1.8-1build1) ... 910s Setting up python3-packaging (24.2-1) ... 910s Setting up libfreetype6:s390x (2.13.3+dfsg-1) ... 910s Setting up libxcb-sync1:s390x (1.17.0-2) ... 910s Setting up libxrandr2:s390x (2:1.5.4-1) ... 910s Setting up libglapi-mesa:s390x (24.3.4-3ubuntu1) ... 910s Setting up libvulkan1:s390x (1.4.304.0-1) ... 910s Setting up libxshmfence1:s390x (1.3-1build5) ... 910s Setting up dbus-x11 (1.16.0-1ubuntu1) ... 910s Setting up libxcb-randr0:s390x (1.17.0-2) ... 910s Setting up libxkbfile1:s390x (1:1.1.0-1build4) ... 910s Setting up libxfont2:s390x (1:2.0.6-1build1) ... 910s Setting up libice6:s390x (2:1.1.1-1) ... 910s Setting up mesa-libgallium:s390x (24.3.4-3ubuntu1) ... 910s Setting up libgio-2.0-dev-bin (2.83.3-2) ... 911s Setting up girepository-tools:s390x (2.83.3-2) ... 911s Setting up libgbm1:s390x (24.3.4-3ubuntu1) ... 911s Setting up libgl1-mesa-dri:s390x (24.3.4-3ubuntu1) ... 911s Setting up libsm6:s390x (2:1.2.4-1) ... 911s Setting up libglib2.0-dev-bin (2.83.3-2) ... 911s Setting up libglx-mesa0:s390x (24.3.4-3ubuntu1) ... 911s Setting up libglx0:s390x (1.7.0-1build1) ... 911s Setting up libgl1:s390x (1.7.0-1build1) ... 911s Setting up libxt6t64:s390x (1:1.2.1-1.2build1) ... 911s Setting up libglib2.0-tests (2.83.3-2) ... 911s Setting up libxmu6:s390x (2:1.1.3-3build2) ... 911s Setting up libxaw7:s390x (2:1.0.16-1) ... 911s Setting up x11-xkb-utils (7.7+9) ... 911s Setting up xserver-common (2:21.1.14-2ubuntu1) ... 911s Setting up xvfb (2:21.1.14-2ubuntu1) ... 911s Processing triggers for man-db (2.13.0-1) ... 911s Processing triggers for libc-bin (2.40-4ubuntu1) ... 921s autopkgtest [13:25:58]: test installed-tests: [----------------------- 921s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd),107(cpacfstats) 921s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 921s group entry: ubuntu:x:1000: 921s Environment: 921s ADTTMP=/tmp/autopkgtest.yKsP97/autopkgtest_tmp 921s ADT_ARTIFACTS=/tmp/autopkgtest.yKsP97/installed-tests-artifacts 921s ADT_TEST_TRIGGERS=build-essential/12.12 921s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.yKsP97/installed-tests-artifacts 921s AUTOPKGTEST_TESTBED_ARCH=s390x 921s AUTOPKGTEST_TEST_ARCH=s390x 921s AUTOPKGTEST_TMP=/tmp/autopkgtest.yKsP97/autopkgtest_tmp 921s DEBIAN_FRONTEND=noninteractive 921s DEB_BUILD_OPTIONS=parallel=2 921s GIO_USE_VFS=local 921s GIO_USE_VOLUME_MONITOR=unix 921s HOME=/home/ubuntu 921s LANG=C.UTF-8 921s LOGNAME=ubuntu 921s MAIL=/var/mail/ubuntu 921s OLDPWD=/home/ubuntu 921s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 921s PWD=/tmp/autopkgtest.yKsP97/build.cqb/src 921s SHELL=/bin/bash 921s SHLVL=1 921s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests 921s SUDO_GID=1000 921s SUDO_UID=1000 921s SUDO_USER=ubuntu 921s TERM=linux 921s USER=ubuntu 921s XDG_RUNTIME_DIR=/tmp/autopkgtest.yKsP97/autopkgtest_tmp 921s http_proxy=http://squid.internal:3128 921s https_proxy=http://squid.internal:3128 921s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com 921s run-with-locales: de_DE=ISO-8859-1... 921s Character set: ISO-8859-1 921s Source file: de_DE 921s Output: /tmp/tmp.zXyil72Jkn/de_DE 922s run-with-locales: de_DE.utf8... 922s Character set: UTF-8 922s Source file: de_DE 922s Output: /tmp/tmp.zXyil72Jkn/de_DE.utf8 922s run-with-locales: de_DE@euro.utf8... 922s Character set: UTF-8 922s Source file: de_DE@euro 922s Output: /tmp/tmp.zXyil72Jkn/de_DE@euro.utf8 923s run-with-locales: el_GR.utf8... 923s Character set: UTF-8 923s Source file: el_GR 923s Output: /tmp/tmp.zXyil72Jkn/el_GR.utf8 924s run-with-locales: en_GB=ISO-8859-1... 924s Character set: ISO-8859-1 924s Source file: en_GB 924s Output: /tmp/tmp.zXyil72Jkn/en_GB 925s run-with-locales: en_GB.utf8... 925s Character set: UTF-8 925s Source file: en_GB 925s Output: /tmp/tmp.zXyil72Jkn/en_GB.utf8 925s run-with-locales: en_US=ISO-8859-1... 925s Character set: ISO-8859-1 925s Source file: en_US 925s Output: /tmp/tmp.zXyil72Jkn/en_US 926s run-with-locales: en_US.utf8... 926s Character set: UTF-8 926s Source file: en_US 926s Output: /tmp/tmp.zXyil72Jkn/en_US.utf8 927s run-with-locales: es_ES.utf8... 927s Character set: UTF-8 927s Source file: es_ES 927s Output: /tmp/tmp.zXyil72Jkn/es_ES.utf8 927s run-with-locales: fa_IR=UTF-8... 927s Character set: UTF-8 927s Source file: fa_IR 927s Output: /tmp/tmp.zXyil72Jkn/fa_IR 928s run-with-locales: fa_IR.utf8... 928s Character set: UTF-8 928s Source file: fa_IR 928s Output: /tmp/tmp.zXyil72Jkn/fa_IR.utf8 929s run-with-locales: fr_FR.utf8... 929s Character set: UTF-8 929s Source file: fr_FR 929s Output: /tmp/tmp.zXyil72Jkn/fr_FR.utf8 930s run-with-locales: hr_HR.utf8... 930s Character set: UTF-8 930s Source file: hr_HR 930s Output: /tmp/tmp.zXyil72Jkn/hr_HR.utf8 931s run-with-locales: ja_JP.utf8... 931s Character set: UTF-8 931s Source file: ja_JP 931s Output: /tmp/tmp.zXyil72Jkn/ja_JP.utf8 932s run-with-locales: ja_JP.EUC-JP... 932s Character set: EUC-JP 932s Source file: ja_JP 932s Output: /tmp/tmp.zXyil72Jkn/ja_JP.eucjp 932s run-with-locales: lt_LT.utf8... 932s Character set: UTF-8 932s Source file: lt_LT 932s Output: /tmp/tmp.zXyil72Jkn/lt_LT.utf8 933s run-with-locales: pl_PL=ISO-8859-2... 933s Character set: ISO-8859-2 933s Source file: pl_PL 933s Output: /tmp/tmp.zXyil72Jkn/pl_PL 933s run-with-locales: pl_PL.ISO-8859-2... 933s Character set: ISO-8859-2 933s Source file: pl_PL 933s Output: /tmp/tmp.zXyil72Jkn/pl_PL.iso88592 934s run-with-locales: pl_PL.utf8... 934s Character set: UTF-8 934s Source file: pl_PL 934s Output: /tmp/tmp.zXyil72Jkn/pl_PL.utf8 934s run-with-locales: ru_RU=ISO-8859-5... 934s Character set: ISO-8859-5 934s Source file: ru_RU 934s Output: /tmp/tmp.zXyil72Jkn/ru_RU 935s run-with-locales: ru_RU.utf8... 935s Character set: UTF-8 935s Source file: ru_RU 935s Output: /tmp/tmp.zXyil72Jkn/ru_RU.utf8 936s run-with-locales: sr_RS=UTF-8... 936s Character set: UTF-8 936s Source file: sr_RS 936s Output: /tmp/tmp.zXyil72Jkn/sr_RS 937s run-with-locales: sr_RS@latin=UTF-8... 937s Character set: UTF-8 937s Source file: sr_RS@latin 937s Output: /tmp/tmp.zXyil72Jkn/sr_RS@latin 937s run-with-locales: sv_SE=ISO-8859-1... 937s Character set: ISO-8859-1 937s Source file: sv_SE 937s Output: /tmp/tmp.zXyil72Jkn/sv_SE 938s run-with-locales: sv_SE.utf8... 938s Character set: UTF-8 938s Source file: sv_SE 938s Output: /tmp/tmp.zXyil72Jkn/sv_SE.utf8 939s run-with-locales: tr_TR=ISO-8859-9... 939s Character set: ISO-8859-9 939s Source file: tr_TR 939s Output: /tmp/tmp.zXyil72Jkn/tr_TR 939s run-with-locales: tr_TR.utf8... 939s Character set: UTF-8 939s Source file: tr_TR 939s Output: /tmp/tmp.zXyil72Jkn/tr_TR.utf8 940s run-with-locales: tt_RU=UTF-8... 940s Character set: UTF-8 940s Source file: tt_RU 940s Output: /tmp/tmp.zXyil72Jkn/tt_RU 941s run-with-locales: tt_RU.utf8... 941s Character set: UTF-8 941s Source file: tt_RU 941s Output: /tmp/tmp.zXyil72Jkn/tt_RU.utf8 942s run-with-locales: tt_RU@iqtelif=UTF-8... 942s Character set: UTF-8 942s Source file: tt_RU@iqtelif 942s Output: /tmp/tmp.zXyil72Jkn/tt_RU@iqtelif 942s /tmp/tmp.zXyil72Jkn 942s /tmp/tmp.zXyil72Jkn/ru_RU.utf8 942s /tmp/tmp.zXyil72Jkn/ru_RU.utf8/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/ru_RU.utf8/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/ru_RU.utf8/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/ru_RU.utf8/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/ru_RU.utf8/LC_NAME 942s /tmp/tmp.zXyil72Jkn/ru_RU.utf8/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/ru_RU.utf8/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/ru_RU.utf8/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/ru_RU.utf8/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/ru_RU.utf8/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/ru_RU.utf8/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/ru_RU.utf8/LC_TIME 942s /tmp/tmp.zXyil72Jkn/fa_IR 942s /tmp/tmp.zXyil72Jkn/fa_IR/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/fa_IR/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/fa_IR/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/fa_IR/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/fa_IR/LC_NAME 942s /tmp/tmp.zXyil72Jkn/fa_IR/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/fa_IR/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/fa_IR/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/fa_IR/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/fa_IR/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/fa_IR/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/fa_IR/LC_TIME 942s /tmp/tmp.zXyil72Jkn/pl_PL.iso88592 942s /tmp/tmp.zXyil72Jkn/pl_PL.iso88592/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/pl_PL.iso88592/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/pl_PL.iso88592/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/pl_PL.iso88592/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/pl_PL.iso88592/LC_NAME 942s /tmp/tmp.zXyil72Jkn/pl_PL.iso88592/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/pl_PL.iso88592/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/pl_PL.iso88592/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/pl_PL.iso88592/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/pl_PL.iso88592/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/pl_PL.iso88592/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/pl_PL.iso88592/LC_TIME 942s /tmp/tmp.zXyil72Jkn/hr_HR.utf8 942s /tmp/tmp.zXyil72Jkn/hr_HR.utf8/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/hr_HR.utf8/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/hr_HR.utf8/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/hr_HR.utf8/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/hr_HR.utf8/LC_NAME 942s /tmp/tmp.zXyil72Jkn/hr_HR.utf8/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/hr_HR.utf8/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/hr_HR.utf8/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/hr_HR.utf8/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/hr_HR.utf8/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/hr_HR.utf8/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/hr_HR.utf8/LC_TIME 942s /tmp/tmp.zXyil72Jkn/tr_TR.utf8 942s /tmp/tmp.zXyil72Jkn/tr_TR.utf8/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/tr_TR.utf8/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/tr_TR.utf8/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/tr_TR.utf8/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/tr_TR.utf8/LC_NAME 942s /tmp/tmp.zXyil72Jkn/tr_TR.utf8/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/tr_TR.utf8/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/tr_TR.utf8/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/tr_TR.utf8/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/tr_TR.utf8/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/tr_TR.utf8/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/tr_TR.utf8/LC_TIME 942s /tmp/tmp.zXyil72Jkn/en_GB 942s /tmp/tmp.zXyil72Jkn/en_GB/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/en_GB/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/en_GB/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/en_GB/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/en_GB/LC_NAME 942s /tmp/tmp.zXyil72Jkn/en_GB/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/en_GB/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/en_GB/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/en_GB/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/en_GB/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/en_GB/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/en_GB/LC_TIME 942s /tmp/tmp.zXyil72Jkn/sr_RS@latin 942s /tmp/tmp.zXyil72Jkn/sr_RS@latin/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/sr_RS@latin/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/sr_RS@latin/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/sr_RS@latin/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/sr_RS@latin/LC_NAME 942s /tmp/tmp.zXyil72Jkn/sr_RS@latin/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/sr_RS@latin/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/sr_RS@latin/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/sr_RS@latin/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/sr_RS@latin/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/sr_RS@latin/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/sr_RS@latin/LC_TIME 942s /tmp/tmp.zXyil72Jkn/pl_PL.utf8 942s /tmp/tmp.zXyil72Jkn/pl_PL.utf8/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/pl_PL.utf8/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/pl_PL.utf8/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/pl_PL.utf8/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/pl_PL.utf8/LC_NAME 942s /tmp/tmp.zXyil72Jkn/pl_PL.utf8/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/pl_PL.utf8/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/pl_PL.utf8/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/pl_PL.utf8/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/pl_PL.utf8/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/pl_PL.utf8/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/pl_PL.utf8/LC_TIME 942s /tmp/tmp.zXyil72Jkn/fa_IR.utf8 942s /tmp/tmp.zXyil72Jkn/fa_IR.utf8/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/fa_IR.utf8/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/fa_IR.utf8/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/fa_IR.utf8/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/fa_IR.utf8/LC_NAME 942s /tmp/tmp.zXyil72Jkn/fa_IR.utf8/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/fa_IR.utf8/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/fa_IR.utf8/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/fa_IR.utf8/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/fa_IR.utf8/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/fa_IR.utf8/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/fa_IR.utf8/LC_TIME 942s /tmp/tmp.zXyil72Jkn/sv_SE.utf8 942s /tmp/tmp.zXyil72Jkn/sv_SE.utf8/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/sv_SE.utf8/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/sv_SE.utf8/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/sv_SE.utf8/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/sv_SE.utf8/LC_NAME 942s /tmp/tmp.zXyil72Jkn/sv_SE.utf8/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/sv_SE.utf8/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/sv_SE.utf8/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/sv_SE.utf8/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/sv_SE.utf8/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/sv_SE.utf8/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/sv_SE.utf8/LC_TIME 942s /tmp/tmp.zXyil72Jkn/de_DE@euro.utf8 942s /tmp/tmp.zXyil72Jkn/de_DE@euro.utf8/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/de_DE@euro.utf8/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/de_DE@euro.utf8/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/de_DE@euro.utf8/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/de_DE@euro.utf8/LC_NAME 942s /tmp/tmp.zXyil72Jkn/de_DE@euro.utf8/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/de_DE@euro.utf8/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/de_DE@euro.utf8/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/de_DE@euro.utf8/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/de_DE@euro.utf8/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/de_DE@euro.utf8/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/de_DE@euro.utf8/LC_TIME 942s /tmp/tmp.zXyil72Jkn/pl_PL 942s /tmp/tmp.zXyil72Jkn/pl_PL/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/pl_PL/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/pl_PL/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/pl_PL/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/pl_PL/LC_NAME 942s /tmp/tmp.zXyil72Jkn/pl_PL/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/pl_PL/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/pl_PL/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/pl_PL/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/pl_PL/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/pl_PL/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/pl_PL/LC_TIME 942s /tmp/tmp.zXyil72Jkn/sr_RS 942s /tmp/tmp.zXyil72Jkn/sr_RS/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/sr_RS/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/sr_RS/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/sr_RS/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/sr_RS/LC_NAME 942s /tmp/tmp.zXyil72Jkn/sr_RS/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/sr_RS/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/sr_RS/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/sr_RS/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/sr_RS/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/sr_RS/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/sr_RS/LC_TIME 942s /tmp/tmp.zXyil72Jkn/tt_RU@iqtelif 942s /tmp/tmp.zXyil72Jkn/tt_RU@iqtelif/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/tt_RU@iqtelif/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/tt_RU@iqtelif/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/tt_RU@iqtelif/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/tt_RU@iqtelif/LC_NAME 942s /tmp/tmp.zXyil72Jkn/tt_RU@iqtelif/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/tt_RU@iqtelif/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/tt_RU@iqtelif/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/tt_RU@iqtelif/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/tt_RU@iqtelif/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/tt_RU@iqtelif/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/tt_RU@iqtelif/LC_TIME 942s /tmp/tmp.zXyil72Jkn/sv_SE 942s /tmp/tmp.zXyil72Jkn/sv_SE/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/sv_SE/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/sv_SE/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/sv_SE/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/sv_SE/LC_NAME 942s /tmp/tmp.zXyil72Jkn/sv_SE/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/sv_SE/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/sv_SE/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/sv_SE/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/sv_SE/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/sv_SE/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/sv_SE/LC_TIME 942s /tmp/tmp.zXyil72Jkn/es_ES.utf8 942s /tmp/tmp.zXyil72Jkn/es_ES.utf8/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/es_ES.utf8/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/es_ES.utf8/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/es_ES.utf8/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/es_ES.utf8/LC_NAME 942s /tmp/tmp.zXyil72Jkn/es_ES.utf8/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/es_ES.utf8/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/es_ES.utf8/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/es_ES.utf8/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/es_ES.utf8/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/es_ES.utf8/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/es_ES.utf8/LC_TIME 942s /tmp/tmp.zXyil72Jkn/en_US 942s /tmp/tmp.zXyil72Jkn/en_US/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/en_US/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/en_US/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/en_US/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/en_US/LC_NAME 942s /tmp/tmp.zXyil72Jkn/en_US/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/en_US/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/en_US/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/en_US/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/en_US/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/en_US/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/en_US/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/en_US/LC_TIME 942s /tmp/tmp.zXyil72Jkn/en_GB.utf8 942s /tmp/tmp.zXyil72Jkn/en_GB.utf8/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/en_GB.utf8/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/en_GB.utf8/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/en_GB.utf8/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/en_GB.utf8/LC_NAME 942s /tmp/tmp.zXyil72Jkn/en_GB.utf8/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/en_GB.utf8/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/en_GB.utf8/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/en_GB.utf8/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/en_GB.utf8/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/en_GB.utf8/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/en_GB.utf8/LC_TIME 942s /tmp/tmp.zXyil72Jkn/fr_FR.utf8 942s /tmp/tmp.zXyil72Jkn/fr_FR.utf8/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/fr_FR.utf8/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/fr_FR.utf8/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/fr_FR.utf8/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/fr_FR.utf8/LC_NAME 942s /tmp/tmp.zXyil72Jkn/fr_FR.utf8/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/fr_FR.utf8/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/fr_FR.utf8/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/fr_FR.utf8/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/fr_FR.utf8/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/fr_FR.utf8/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/fr_FR.utf8/LC_TIME 942s /tmp/tmp.zXyil72Jkn/ja_JP.utf8 942s /tmp/tmp.zXyil72Jkn/ja_JP.utf8/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/ja_JP.utf8/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/ja_JP.utf8/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/ja_JP.utf8/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/ja_JP.utf8/LC_NAME 942s /tmp/tmp.zXyil72Jkn/ja_JP.utf8/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/ja_JP.utf8/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/ja_JP.utf8/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/ja_JP.utf8/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/ja_JP.utf8/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/ja_JP.utf8/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/ja_JP.utf8/LC_TIME 942s /tmp/tmp.zXyil72Jkn/de_DE.utf8 942s /tmp/tmp.zXyil72Jkn/de_DE.utf8/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/de_DE.utf8/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/de_DE.utf8/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/de_DE.utf8/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/de_DE.utf8/LC_NAME 942s /tmp/tmp.zXyil72Jkn/de_DE.utf8/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/de_DE.utf8/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/de_DE.utf8/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/de_DE.utf8/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/de_DE.utf8/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/de_DE.utf8/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/de_DE.utf8/LC_TIME 942s /tmp/tmp.zXyil72Jkn/ja_JP.eucjp 942s /tmp/tmp.zXyil72Jkn/ja_JP.eucjp/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/ja_JP.eucjp/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/ja_JP.eucjp/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/ja_JP.eucjp/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/ja_JP.eucjp/LC_NAME 942s /tmp/tmp.zXyil72Jkn/ja_JP.eucjp/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/ja_JP.eucjp/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/ja_JP.eucjp/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/ja_JP.eucjp/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/ja_JP.eucjp/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/ja_JP.eucjp/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/ja_JP.eucjp/LC_TIME 942s /tmp/tmp.zXyil72Jkn/lt_LT.utf8 942s /tmp/tmp.zXyil72Jkn/lt_LT.utf8/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/lt_LT.utf8/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/lt_LT.utf8/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/lt_LT.utf8/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/lt_LT.utf8/LC_NAME 942s /tmp/tmp.zXyil72Jkn/lt_LT.utf8/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/lt_LT.utf8/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/lt_LT.utf8/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/lt_LT.utf8/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/lt_LT.utf8/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/lt_LT.utf8/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/lt_LT.utf8/LC_TIME 942s /tmp/tmp.zXyil72Jkn/de_DE 942s /tmp/tmp.zXyil72Jkn/de_DE/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/de_DE/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/de_DE/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/de_DE/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/de_DE/LC_NAME 942s /tmp/tmp.zXyil72Jkn/de_DE/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/de_DE/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/de_DE/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/de_DE/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/de_DE/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/de_DE/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/de_DE/LC_TIME 942s /tmp/tmp.zXyil72Jkn/tt_RU 942s /tmp/tmp.zXyil72Jkn/tt_RU/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/tt_RU/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/tt_RU/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/tt_RU/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/tt_RU/LC_NAME 942s /tmp/tmp.zXyil72Jkn/tt_RU/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/tt_RU/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/tt_RU/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/tt_RU/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/tt_RU/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/tt_RU/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/tt_RU/LC_TIME 942s /tmp/tmp.zXyil72Jkn/tr_TR 942s /tmp/tmp.zXyil72Jkn/tr_TR/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/tr_TR/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/tr_TR/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/tr_TR/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/tr_TR/LC_NAME 942s /tmp/tmp.zXyil72Jkn/tr_TR/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/tr_TR/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/tr_TR/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/tr_TR/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/tr_TR/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/tr_TR/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/tr_TR/LC_TIME 942s /tmp/tmp.zXyil72Jkn/ru_RU 942s /tmp/tmp.zXyil72Jkn/ru_RU/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/ru_RU/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/ru_RU/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/ru_RU/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/ru_RU/LC_NAME 942s /tmp/tmp.zXyil72Jkn/ru_RU/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/ru_RU/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/ru_RU/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/ru_RU/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/ru_RU/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/ru_RU/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/ru_RU/LC_TIME 942s /tmp/tmp.zXyil72Jkn/el_GR.utf8 942s /tmp/tmp.zXyil72Jkn/el_GR.utf8/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/el_GR.utf8/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/el_GR.utf8/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/el_GR.utf8/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/el_GR.utf8/LC_NAME 942s /tmp/tmp.zXyil72Jkn/el_GR.utf8/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/el_GR.utf8/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/el_GR.utf8/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/el_GR.utf8/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/el_GR.utf8/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/el_GR.utf8/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/el_GR.utf8/LC_TIME 942s /tmp/tmp.zXyil72Jkn/tt_RU.utf8 942s /tmp/tmp.zXyil72Jkn/tt_RU.utf8/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/tt_RU.utf8/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/tt_RU.utf8/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/tt_RU.utf8/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/tt_RU.utf8/LC_NAME 942s /tmp/tmp.zXyil72Jkn/tt_RU.utf8/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/tt_RU.utf8/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/tt_RU.utf8/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/tt_RU.utf8/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/tt_RU.utf8/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/tt_RU.utf8/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/tt_RU.utf8/LC_TIME 942s /tmp/tmp.zXyil72Jkn/en_US.utf8 942s /tmp/tmp.zXyil72Jkn/en_US.utf8/LC_COLLATE 942s /tmp/tmp.zXyil72Jkn/en_US.utf8/LC_NUMERIC 942s /tmp/tmp.zXyil72Jkn/en_US.utf8/LC_TELEPHONE 942s /tmp/tmp.zXyil72Jkn/en_US.utf8/LC_CTYPE 942s /tmp/tmp.zXyil72Jkn/en_US.utf8/LC_NAME 942s /tmp/tmp.zXyil72Jkn/en_US.utf8/LC_ADDRESS 942s /tmp/tmp.zXyil72Jkn/en_US.utf8/LC_PAPER 942s /tmp/tmp.zXyil72Jkn/en_US.utf8/LC_MEASUREMENT 942s /tmp/tmp.zXyil72Jkn/en_US.utf8/LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 942s /tmp/tmp.zXyil72Jkn/en_US.utf8/LC_IDENTIFICATION 942s /tmp/tmp.zXyil72Jkn/en_US.utf8/LC_MONETARY 942s /tmp/tmp.zXyil72Jkn/en_US.utf8/LC_TIME 942s 1..321 942s # Running test: glib/gdbus-subscribe.test 942s TAP version 14 942s # random seed: R02S0bb32f70c9d6c6bf1c404a5bf14d04cf 942s 1..24 942s # Start of gdbus tests 942s # Start of subscribe tests 942s # Start of conn tests 942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/simple/.dirs/home 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/simple/.dirs/cache 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/simple/.dirs/system-config2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/simple/.dirs/config 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/simple/.dirs/system-data2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/simple/.dirs/data 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/simple/.dirs/state 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/simple/.dirs/runtime 942s # subscriber is :1.0 942s # service is :1.1 942s # service 2 is :1.2 942s # attacker is :1.3 942s # Waiting for AddMatch to be processed 942s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 942s # Step 0: emitting signal 942s # Sender: service 942s # Destination: (broadcast) 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: Foo 942s # Argument 0: (not a string) 942s # Waiting for signal to reach message bus 942s # Step 1: adding subscription 942s # Sender: (any) 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: (any) 942s # String argument 0: (any) 942s # Flags: 0 942s # Subscribing via connection 942s # Waiting for AddMatch to be processed 942s # Step 2: emitting signal 942s # Sender: service 942s # Destination: (broadcast) 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: Foo 942s # Argument 0: (not a string) 942s # Waiting for signal to reach message bus 942s # Signal received from service :1.1 942s # Signal received from service :1.1 via connection 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: Foo 942s # Argument 0: (not a string) 942s # Sent in step: 2 942s # Received Finished signal from subscriber :1.0 942s # Received Finished signal from service :1.1 942s # Received Finished signal from service 2 :1.2 942s # Received Finished signal from attacker :1.3 942s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 942s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s ok 1 /gdbus/subscribe/conn/simple 942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # subscriber is :1.0 942s # service is :1.1 942s # service 2 is :1.2 942s # attacker is :1.3 942s # Waiting for AddMatch to be processed 942s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 942s # Step 0: adding subscription 942s # Sender: (any) 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: (any) 942s # String argument 0: (any) 942s # Flags: 0 942s # Subscribing via connection 942s # Waiting for AddMatch to be processed 942s # Step 1: emitting signal 942s # Sender: service 942s # Destination: (broadcast) 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: Foo 942s # Argument 0: (not a string) 942s # Waiting for signal to reach message bus 942s # Step 2: emitting signal 942s # Sender: service 2 942s # Destination: (broadcast) 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: Foo 942s # Argument 0: (not a string) 942s # Waiting for signal to reach message bus 942s # Step 3: emitting signal 942s # Sender: service 942s # Destination: subscriber :1.0 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: Foo 942s # Argument 0: (not a string) 942s # Waiting for signal to reach message bus 942s # Step 4: emitting signal 942s # Sender: service 2 942s # Destination: subscriber :1.0 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: Foo 942s # Argument 0: (not a string) 942s # Waiting for signal to reach message bus 942s # Signal received from service :1.1 942s # Signal received from service :1.1 via connection 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: Foo 942s # Argument 0: (not a string) 942s # Sent in step: 1 942s # Signal received from service 2 :1.2 942s # Signal received from service 2 :1.2 via connection 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: Foo 942s # Argument 0: (not a string) 942s # Sent in step: 2 942s # Signal received from service :1.1 942s # Signal received from service :1.1 via connection 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: Foo 942s # Argument 0: (not a string) 942s # Sent in step: 3 942s # Signal received from service 2 :1.2 942s # Signal received from service 2 :1.2 via connection 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: Foo 942s # Argument 0: (not a string) 942s # Sent in step: 4 942s # Received Finished signal from subscriber :1.0 942s # Received Finished signal from service :1.1 942s # Received Finished signal from service 2 :1.2 942s # Received Finished signal from attacker :1.3 942s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 942s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 942s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 942s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/match_twice/.dirs/home 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/match_twice/.dirs/cache 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/match_twice/.dirs/system-config2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/match_twice/.dirs/config 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/match_twice/.dirs/system-data2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/match_twice/.dirs/data 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/match_twice/.dirs/state 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/match_twice/.dirs/runtime 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # subscriber is :1.0 942s # service is :1.1 942s # service 2 is :1.2 942s # attacker is :1.3 942s # Waiting for AddMatch to be processed 942s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 942s # Step 0: adding subscription 942s # Sender: service :1.1 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: (any) 942s # String argument 0: (any) 942s # Flags: 0 942s # Subscribing via connection 942s # Waiting for AddMatch to be processed 942s # Step 1: adding subscription 942s # Sender: (any) 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: (any) 942s # Member: (any) 942s # String argument 0: (any) 942s # Flags: 0 942s # Subscribing via connection 942s # Waiting for AddMatch to be processed 942s # Step 2: adding subscription 942s # Sender: (any) 942s # Path: (any) 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: (any) 942s # String argument 0: (any) 942s # Flags: 0 942s # Subscribing via connection 942s # Waiting for AddMatch to be processed 942s # Step 3: adding subscription 942s # Sender: service :1.1 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: (any) 942s # String argument 0: (any) 942s # Flags: 0 942s # Subscribing via connection 942s # Waiting for AddMatch to be processed 942s # Step 4: emitting signal 942s # Sender: service 942s # Destination: (broadcast) 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: Foo 942s # Argument 0: (not a string) 942s # Waiting for signal to reach message bus 942s # Signal received from service :1.1 942s # Signal received from service :1.1 via connection 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: Foo 942s # Argument 0: (not a string) 942s # Sent in step: 4 942s # Signal received from service :1.1 942s # Signal received from service :1.1 via connection 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: Foo 942s # Argument 0: (not a string) 942s # Sent in step: 4 942s # Signal received from service :1.1 942s # Signal received from service :1.1 via connection 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: Foo 942s # Argument 0: (not a string) 942s # Sent in step: 4 942s # Signal received from service :1.1 942s # Signal received from service :1.1 via connection 942s # Path: /org/gtk/GDBus/ExampleInterface 942s # Interface: org.gtk.GDBus.ExampleInterface 942s # Member: Foo 942s # Argument 0: (not a string) 942s # Sent in step: 4 942s # Received Finished signal from subscriber :1.0 942s # Received Finished signal from service :1.1 942s # Received Finished signal from service 2 :1.2 942s # Received Finished signal from attacker :1.3 942s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 942s ok 3 /gdbus/subscribe/conn/match_twice 942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 942s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 943s # Step 0: adding subscription 943s # Sender: service :1.1 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via connection 943s # Waiting for AddMatch to be processed 943s # Step 1: emitting signal 943s # Sender: attacker 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 2: emitting signal 943s # Sender: attacker 943s # Destination: subscriber :1.0 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 3: emitting signal 943s # Sender: service 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via connection 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 3 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 943s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 943s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 943s # Step 0: adding subscription 943s # Sender: :0.this.had.better.not.exist 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via connection 943s # Waiting for AddMatch to be processed 943s # Step 1: emitting signal 943s # Sender: attacker 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 2: emitting signal 943s # Sender: attacker 943s # Destination: subscriber :1.0 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 943s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /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 943s # Step 0: claiming bus name 943s # Name: org.gtk.Test.AlreadyOwned 943s # Owner: service 943s # Step 1: adding subscription 943s # Sender: org.gtk.Test.AlreadyOwned 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via connection 943s # Waiting for AddMatch to be processed 943s # Step 2: adding subscription 943s # Sender: org.gtk.Test.OwnedLater 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via connection 943s # Waiting for AddMatch to be processed 943s # Step 3: emitting signal 943s # Sender: attacker 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 4: emitting signal 943s # Sender: attacker 943s # Destination: subscriber :1.0 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 5: emitting signal 943s # Sender: service 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 6: claiming bus name 943s # Name: org.gtk.Test.OwnedLater 943s # Owner: service 943s # Step 7: emitting signal 943s # Sender: service 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via connection 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 5 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via connection 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 7 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via connection 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 7 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 943s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 943s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 943s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 943s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 943s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 943s # Step 0: adding subscription 943s # Sender: org.freedesktop.DBus 943s # Path: /org/freedesktop/DBus 943s # Interface: org.freedesktop.DBus 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via connection 943s # Waiting for AddMatch to be processed 943s # Step 1: emitting signal 943s # Sender: attacker 943s # Destination: (broadcast) 943s # Path: /org/freedesktop/DBus 943s # Interface: org.freedesktop.DBus 943s # Member: NameOwnerChanged 943s # String argument 0: would I lie to you? 943s # Waiting for signal to reach message bus 943s # Step 2: emitting signal 943s # Sender: attacker 943s # Destination: subscriber :1.0 943s # Path: /org/freedesktop/DBus 943s # Interface: org.freedesktop.DBus 943s # Member: NameOwnerChanged 943s # Waiting for signal to reach message bus 943s # Step 3: claiming bus name 943s # Name: org.gtk.Test.OwnedLater 943s # Owner: service 943s # Signal received from message bus org.freedesktop.DBus 943s # Signal received from (unused) org.freedesktop.DBus via connection 943s # Path: /org/freedesktop/DBus 943s # Interface: org.freedesktop.DBus 943s # Member: NameOwnerChanged 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 943s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 943s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 943s # Step 0: claiming bus name 943s # Name: org.gtk.Test.AlreadyOwned 943s # Owner: service 943s # Step 1: adding subscription 943s # Sender: org.gtk.Test.AlreadyOwned 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via connection 943s # Immediately unsubscribing 943s # Waiting for AddMatch to be processed 943s # Step 2: emitting signal 943s # Sender: service 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 943s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 943s # End of conn tests 943s # Start of proxy tests 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/simple/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/simple/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/simple/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/simple/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/simple/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/simple/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/simple/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/simple/.dirs/runtime 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 943s # Step 0: emitting signal 943s # Sender: service 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 1: adding subscription 943s # Sender: (any) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Cannot subscribe via proxy: no bus name 943s # Waiting for AddMatch to be processed 943s # Step 2: emitting signal 943s # Sender: service 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 9 /gdbus/subscribe/proxy/simple 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 943s # Step 0: adding subscription 943s # Sender: (any) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Cannot subscribe via proxy: no bus name 943s # Waiting for AddMatch to be processed 943s # Step 1: emitting signal 943s # Sender: service 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 2: emitting signal 943s # Sender: service 2 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 3: emitting signal 943s # Sender: service 943s # Destination: subscriber :1.0 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 4: emitting signal 943s # Sender: service 2 943s # Destination: subscriber :1.0 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/match_twice/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/match_twice/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/match_twice/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/match_twice/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/match_twice/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/match_twice/.dirs/runtime 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 943s # Step 0: adding subscription 943s # Sender: service :1.1 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via proxy 943s # Waiting for AddMatch to be processed 943s # Step 1: adding subscription 943s # Sender: (any) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: (any) 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Cannot subscribe via proxy: no bus name 943s # Waiting for AddMatch to be processed 943s # Step 2: adding subscription 943s # Sender: (any) 943s # Path: (any) 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Cannot subscribe via proxy: no bus name 943s # Waiting for AddMatch to be processed 943s # Step 3: adding subscription 943s # Sender: service :1.1 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via proxy 943s # Waiting for AddMatch to be processed 943s # Step 4: emitting signal 943s # Sender: service 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via proxy 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 4 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via proxy 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 4 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 11 /gdbus/subscribe/proxy/match_twice 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 943s # Step 0: adding subscription 943s # Sender: service :1.1 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via proxy 943s # Waiting for AddMatch to be processed 943s # Step 1: emitting signal 943s # Sender: attacker 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 2: emitting signal 943s # Sender: attacker 943s # Destination: subscriber :1.0 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 3: emitting signal 943s # Sender: service 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via proxy 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 3 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 943s # Step 0: adding subscription 943s # Sender: :0.this.had.better.not.exist 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via proxy 943s # Waiting for AddMatch to be processed 943s # Step 1: emitting signal 943s # Sender: attacker 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 2: emitting signal 943s # Sender: attacker 943s # Destination: subscriber :1.0 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /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 943s # Step 0: claiming bus name 943s # Name: org.gtk.Test.AlreadyOwned 943s # Owner: service 943s # Step 1: adding subscription 943s # Sender: org.gtk.Test.AlreadyOwned 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via proxy 943s # Waiting for AddMatch to be processed 943s # Step 2: adding subscription 943s # Sender: org.gtk.Test.OwnedLater 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via proxy 943s # Waiting for AddMatch to be processed 943s # Step 3: emitting signal 943s # Sender: attacker 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 4: emitting signal 943s # Sender: attacker 943s # Destination: subscriber :1.0 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 5: emitting signal 943s # Sender: service 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 6: claiming bus name 943s # Name: org.gtk.Test.OwnedLater 943s # Owner: service 943s # Step 7: emitting signal 943s # Sender: service 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via proxy 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 5 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via proxy 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 7 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via proxy 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 7 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 943s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 943s # Step 0: adding subscription 943s # Sender: org.freedesktop.DBus 943s # Path: /org/freedesktop/DBus 943s # Interface: org.freedesktop.DBus 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via proxy 943s # Waiting for AddMatch to be processed 943s # Step 1: emitting signal 943s # Sender: attacker 943s # Destination: (broadcast) 943s # Path: /org/freedesktop/DBus 943s # Interface: org.freedesktop.DBus 943s # Member: NameOwnerChanged 943s # String argument 0: would I lie to you? 943s # Waiting for signal to reach message bus 943s # Step 2: emitting signal 943s # Sender: attacker 943s # Destination: subscriber :1.0 943s # Path: /org/freedesktop/DBus 943s # Interface: org.freedesktop.DBus 943s # Member: NameOwnerChanged 943s # Waiting for signal to reach message bus 943s # Step 3: claiming bus name 943s # Name: org.gtk.Test.OwnedLater 943s # Owner: service 943s # Signal received from message bus org.freedesktop.DBus 943s # Signal received from (unused) org.freedesktop.DBus via proxy 943s # Path: /org/freedesktop/DBus 943s # Interface: org.freedesktop.DBus 943s # Member: NameOwnerChanged 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 943s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 943s # Step 0: claiming bus name 943s # Name: org.gtk.Test.AlreadyOwned 943s # Owner: service 943s # Step 1: adding subscription 943s # Sender: org.gtk.Test.AlreadyOwned 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via proxy 943s # Waiting for AddMatch to be processed 943s # Step 2: emitting signal 943s # Sender: service 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via proxy 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 2 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 943s # End of proxy tests 943s # Start of parallel tests 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/simple/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/simple/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/simple/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/simple/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/simple/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/simple/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/simple/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/simple/.dirs/runtime 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 943s # Step 0: emitting signal 943s # Sender: service 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 1: adding subscription 943s # Sender: (any) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via connection 943s # Cannot subscribe via proxy: no bus name 943s # Waiting for AddMatch to be processed 943s # Step 2: emitting signal 943s # Sender: service 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via connection 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 2 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 943s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 943s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 17 /gdbus/subscribe/parallel/simple 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 943s # Step 0: adding subscription 943s # Sender: (any) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via connection 943s # Cannot subscribe via proxy: no bus name 943s # Waiting for AddMatch to be processed 943s # Step 1: emitting signal 943s # Sender: service 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 2: emitting signal 943s # Sender: service 2 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 3: emitting signal 943s # Sender: service 943s # Destination: subscriber :1.0 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 4: emitting signal 943s # Sender: service 2 943s # Destination: subscriber :1.0 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via connection 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 1 943s # Signal received from service 2 :1.2 943s # Signal received from service 2 :1.2 via connection 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 2 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via connection 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 3 943s # Signal received from service 2 :1.2 943s # Signal received from service 2 :1.2 via connection 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 4 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 943s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 943s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 943s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 943s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/match_twice/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/match_twice/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/match_twice/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/match_twice/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/match_twice/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/match_twice/.dirs/runtime 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 943s # Step 0: adding subscription 943s # Sender: service :1.1 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via connection 943s # Subscribing via proxy 943s # Waiting for AddMatch to be processed 943s # Step 1: adding subscription 943s # Sender: (any) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: (any) 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via connection 943s # Cannot subscribe via proxy: no bus name 943s # Waiting for AddMatch to be processed 943s # Step 2: adding subscription 943s # Sender: (any) 943s # Path: (any) 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via connection 943s # Cannot subscribe via proxy: no bus name 943s # Waiting for AddMatch to be processed 943s # Step 3: adding subscription 943s # Sender: service :1.1 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via connection 943s # Subscribing via proxy 943s # Waiting for AddMatch to be processed 943s # Step 4: emitting signal 943s # Sender: service 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via connection 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 4 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via proxy 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 4 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via connection 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 4 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via proxy 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 4 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via connection 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 4 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via connection 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 4 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 943s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 19 /gdbus/subscribe/parallel/match_twice 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 943s # Step 0: adding subscription 943s # Sender: service :1.1 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via connection 943s # Subscribing via proxy 943s # Waiting for AddMatch to be processed 943s # Step 1: emitting signal 943s # Sender: attacker 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 2: emitting signal 943s # Sender: attacker 943s # Destination: subscriber :1.0 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 3: emitting signal 943s # Sender: service 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via connection 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 3 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via proxy 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 3 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 943s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 943s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 943s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 943s # Step 0: adding subscription 943s # Sender: :0.this.had.better.not.exist 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via connection 943s # Subscribing via proxy 943s # Waiting for AddMatch to be processed 943s # Step 1: emitting signal 943s # Sender: attacker 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 2: emitting signal 943s # Sender: attacker 943s # Destination: subscriber :1.0 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 943s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 943s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /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 943s # Step 0: claiming bus name 943s # Name: org.gtk.Test.AlreadyOwned 943s # Owner: service 943s # Step 1: adding subscription 943s # Sender: org.gtk.Test.AlreadyOwned 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via connection 943s # Subscribing via proxy 943s # Waiting for AddMatch to be processed 943s # Step 2: adding subscription 943s # Sender: org.gtk.Test.OwnedLater 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via connection 943s # Subscribing via proxy 943s # Waiting for AddMatch to be processed 943s # Step 3: emitting signal 943s # Sender: attacker 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 4: emitting signal 943s # Sender: attacker 943s # Destination: subscriber :1.0 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 5: emitting signal 943s # Sender: service 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Step 6: claiming bus name 943s # Name: org.gtk.Test.OwnedLater 943s # Owner: service 943s # Step 7: emitting signal 943s # Sender: service 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via connection 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 5 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via proxy 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 5 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via connection 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 7 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via proxy 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 7 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via connection 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 7 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via proxy 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 7 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 943s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 943s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 943s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 943s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 943s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 943s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 943s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 943s # Step 0: adding subscription 943s # Sender: org.freedesktop.DBus 943s # Path: /org/freedesktop/DBus 943s # Interface: org.freedesktop.DBus 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via connection 943s # Subscribing via proxy 943s # Waiting for AddMatch to be processed 943s # Step 1: emitting signal 943s # Sender: attacker 943s # Destination: (broadcast) 943s # Path: /org/freedesktop/DBus 943s # Interface: org.freedesktop.DBus 943s # Member: NameOwnerChanged 943s # String argument 0: would I lie to you? 943s # Waiting for signal to reach message bus 943s # Step 2: emitting signal 943s # Sender: attacker 943s # Destination: subscriber :1.0 943s # Path: /org/freedesktop/DBus 943s # Interface: org.freedesktop.DBus 943s # Member: NameOwnerChanged 943s # Waiting for signal to reach message bus 943s # Step 3: claiming bus name 943s # Name: org.gtk.Test.OwnedLater 943s # Owner: service 943s # Signal received from message bus org.freedesktop.DBus 943s # Signal received from (unused) org.freedesktop.DBus via connection 943s # Path: /org/freedesktop/DBus 943s # Interface: org.freedesktop.DBus 943s # Member: NameOwnerChanged 943s # Signal received from message bus org.freedesktop.DBus 943s # Signal received from (unused) org.freedesktop.DBus via proxy 943s # Path: /org/freedesktop/DBus 943s # Interface: org.freedesktop.DBus 943s # Member: NameOwnerChanged 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 943s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 943s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 943s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 943s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5CX712/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # subscriber is :1.0 943s # service is :1.1 943s # service 2 is :1.2 943s # attacker is :1.3 943s # Waiting for AddMatch to be processed 943s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 943s # Step 0: claiming bus name 943s # Name: org.gtk.Test.AlreadyOwned 943s # Owner: service 943s # Step 1: adding subscription 943s # Sender: org.gtk.Test.AlreadyOwned 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: (any) 943s # String argument 0: (any) 943s # Flags: 0 943s # Subscribing via connection 943s # Immediately unsubscribing 943s # Subscribing via proxy 943s # Waiting for AddMatch to be processed 943s # Step 2: emitting signal 943s # Sender: service 943s # Destination: (broadcast) 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Waiting for signal to reach message bus 943s # Signal received from service :1.1 943s # Signal received from service :1.1 via proxy 943s # Path: /org/gtk/GDBus/ExampleInterface 943s # Interface: org.gtk.GDBus.ExampleInterface 943s # Member: Foo 943s # Argument 0: (not a string) 943s # Sent in step: 2 943s # Received Finished signal from subscriber :1.0 943s # Received Finished signal from service :1.1 943s # Received Finished signal from service 2 :1.2 943s # Received Finished signal from attacker :1.3 943s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 943s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 943s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 943s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 943s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 943s # End of parallel tests 943s # End of subscribe tests 943s # End of gdbus tests 943s ok - glib/gdbus-subscribe.test 943s # Running test: glib/sequence.test 943s TAP version 14 943s # random seed: R02Sa332ca7881573c80fd13e033bd624f90 943s 1..16 943s # Start of sequence tests 943s ok 1 /sequence/out-of-range-jump 943s ok 2 /sequence/iter-move 943s ok 3 /sequence/insert-sorted-non-pointer 943s ok 4 /sequence/stable-sort 943s ok 5 /sequence/is_empty 943s # Start of random tests 943s ok 6 /sequence/random/seed:825541564 943s # slow test /sequence/random/seed:825541564 executed in 0.67 secs 944s ok 7 /sequence/random/seed:801678400 944s # slow test /sequence/random/seed:801678400 executed in 0.62 secs 945s ok 8 /sequence/random/seed:1477639090 945s # slow test /sequence/random/seed:1477639090 executed in 0.65 secs 945s ok 9 /sequence/random/seed:3369132895 945s # slow test /sequence/random/seed:3369132895 executed in 0.61 secs 946s ok 10 /sequence/random/seed:1192944867 946s # slow test /sequence/random/seed:1192944867 executed in 0.64 secs 947s ok 11 /sequence/random/seed:770458294 947s # slow test /sequence/random/seed:770458294 executed in 0.66 secs 947s ok 12 /sequence/random/seed:1099575817 947s # slow test /sequence/random/seed:1099575817 executed in 0.64 secs 947s # Executing: glib/sequence.test 948s ok 13 /sequence/random/seed:590523467 948s # slow test /sequence/random/seed:590523467 executed in 0.66 secs 948s ok 14 /sequence/random/seed:3583571454 948s # slow test /sequence/random/seed:3583571454 executed in 0.66 secs 949s ok 15 /sequence/random/seed:579241222 949s # slow test /sequence/random/seed:579241222 executed in 0.65 secs 950s ok 16 /sequence/random/seed:609270265 950s # slow test /sequence/random/seed:609270265 executed in 0.64 secs 950s # End of random tests 950s # End of sequence tests 950s ok - glib/sequence.test 950s # Running test: glib/dataset.test 950s TAP version 14 950s # random seed: R02S6ff4d73c3f4f9590dd614738831576b7 950s 1..14 950s # Start of quark tests 950s ok 1 /quark/basic 950s ok 2 /quark/string 950s # End of quark tests 950s # Start of dataset tests 950s ok 3 /dataset/basic 950s ok 4 /dataset/id 950s ok 5 /dataset/full 950s ok 6 /dataset/foreach 950s ok 7 /dataset/destroy 950s # End of dataset tests 950s # Start of datalist tests 950s ok 8 /datalist/basic 950s ok 9 /datalist/id 950s ok 10 /datalist/recursive-clear 950s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 950s ok 11 /datalist/id-remove-multiple 950s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 950s ok 12 /datalist/id-remove-multiple-destroy-order 950s ok 13 /datalist/update-atomic 950s # Start of id-remove-multiple tests 950s ok 14 /datalist/id-remove-multiple/resize 950s # End of id-remove-multiple tests 950s # End of datalist tests 950s ok - glib/dataset.test 950s # Running test: glib/performance.test 950s Running test simple-construction 952s # Executing: glib/performance.test 957s # Executing: glib/performance.test 958s simple-construction: Millions of constructed objects per second: 20.058 958s Running test simple-construction1 960s simple-construction1: Millions of constructed objects per second: 83.043 960s Running test complex-construction 962s # Executing: glib/performance.test 963s complex-construction: Millions of constructed objects per second: 8.047 963s Running test complex-construction1 967s # Executing: glib/performance.test 968s complex-construction1: Millions of constructed objects per second: 14.009 968s Running test complex-construction2 972s # Executing: glib/performance.test 973s complex-construction2: Millions of constructed objects per second: 14.946 973s Running test finalization 974s finalization: Millions of finalized objects per second: 3.906 974s Running test type-check 974s type-check: Million type checks per second: inf 974s Running test emit-unhandled 975s emit-unhandled: Emissions per second: 8798218 975s Running test emit-unhandled-empty 977s emit-unhandled-empty: Emissions per second: 54576608 977s Running test emit-unhandled-generic 977s # Executing: glib/performance.test 978s emit-unhandled-generic: Emissions per second: 14531693 978s Running test emit-unhandled-generic-empty 979s emit-unhandled-generic-empty: Emissions per second: 54583385 979s Running test emit-unhandled-args 980s emit-unhandled-args: Emissions per second: 7095751 980s Running test emit-handled 981s emit-handled: Emissions per second: 5870509 981s Running test emit-handled-empty 982s emit-handled-empty: Emissions per second: 6331273 982s Running test emit-handled-generic 982s # Executing: glib/performance.test 983s emit-handled-generic: Emissions per second: 6294170 983s Running test emit-handled-generic-empty 984s emit-handled-generic-empty: Emissions per second: 11399043 984s Running test emit-handled-args 985s emit-handled-args: Emissions per second: 5131451 985s Running test notify-unhandled 986s notify-unhandled: Notify (unhandled) per second: 36115332 986s Running test notify-by-pspec-unhandled 987s notify-by-pspec-unhandled: Notify (unhandled) per second: 127901359 987s Running test notify-handled 987s # Executing: glib/performance.test 988s notify-handled: Notify per second: 3017427 988s Running test notify-by-pspec-handled 989s notify-by-pspec-handled: Notify per second: 3193742 989s Running test property-set 990s property-set: Property set per second: 21849633 990s Running test property-get 991s property-get: Property get per second: 20050025 991s Running test refcount 992s refcount: Million refs+unref per second: 58.83 992s Running test refcount-1 992s # Executing: glib/performance.test 993s refcount-1: Million refs+unref per second: 157.52 993s Running test refcount-toggle 994s refcount-toggle: Million refs+unref per second: 82.67 994s ok - glib/performance.test 994s # Running test: glib/binding.test 994s TAP version 14 994s # random seed: R02S2decd4e9efb6774659865c200b634977 994s 1..19 994s # Start of binding tests 994s ok 1 /binding/default 994s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 994s ok 2 /binding/canonicalisation 994s ok 3 /binding/bidirectional 994s ok 4 /binding/transform 994s ok 5 /binding/transform-default 994s ok 6 /binding/transform-closure 994s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 994s ok 7 /binding/chain 994s ok 8 /binding/sync-create 994s ok 9 /binding/invert-boolean 994s ok 10 /binding/same-object 994s ok 11 /binding/unbind 994s ok 12 /binding/unbind-weak 994s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 994s ok 13 /binding/unbind-multiple 994s ok 14 /binding/fail 994s ok 15 /binding/interface 994s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 994s ok 16 /binding/concurrent-unbind 994s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 994s ok 17 /binding/concurrent-finalizing 994s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 994s ok 18 /binding/dispose-source 994s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 994s ok 19 /binding/dispose-target 994s # End of binding tests 994s ok - glib/binding.test 994s # Running test: glib/guuid.test 994s TAP version 14 994s # random seed: R02S4336dd99ed249c6c687069edadddeb2c 994s 1..2 994s # Start of uuid tests 994s ok 1 /uuid/string 994s ok 2 /uuid/random 994s # End of uuid tests 994s ok - glib/guuid.test 994s # Running test: glib/dynamictype.test 994s TAP version 14 994s # random seed: R02Se12934f4aeb758923abef2a8bebd6f61 994s 1..2 994s # Start of gobject tests 994s ok 1 /gobject/dynamic-type 994s # Start of dynamic-type tests 994s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 994s ok 2 /gobject/dynamic-type/query 994s # End of dynamic-type tests 994s # End of gobject tests 994s ok - glib/dynamictype.test 994s # Running test: glib/tls-database.test 994s TAP version 14 994s # random seed: R02S2064d6d82f19b1ddbe99d9b4bdb00cbd 994s 1..1 994s # Start of tls-backend tests 994s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 994s ok 1 /tls-backend/set-default-database 994s # End of tls-backend tests 994s ok - glib/tls-database.test 994s # Running test: glib/gdbus-connection-flush.test 994s TAP version 14 994s # random seed: R02S2b563598f2145279586d045a0889cb61 994s 1..2 994s # Start of gdbus tests 994s # Start of connection tests 994s # Start of flush tests 994s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_M6L512/gdbus/connection/flush/busy/.dirs/home 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_M6L512/gdbus/connection/flush/busy/.dirs/cache 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_M6L512/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_M6L512/gdbus/connection/flush/busy/.dirs/system-config2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_M6L512/gdbus/connection/flush/busy/.dirs/config 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_M6L512/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_M6L512/gdbus/connection/flush/busy/.dirs/system-data2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_M6L512/gdbus/connection/flush/busy/.dirs/data 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_M6L512/gdbus/connection/flush/busy/.dirs/state 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_M6L512/gdbus/connection/flush/busy/.dirs/runtime 994s ok 1 /gdbus/connection/flush/busy 994s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_M6L512/gdbus/connection/flush/idle/.dirs/home 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_M6L512/gdbus/connection/flush/idle/.dirs/cache 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_M6L512/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_M6L512/gdbus/connection/flush/idle/.dirs/system-config2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_M6L512/gdbus/connection/flush/idle/.dirs/config 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_M6L512/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_M6L512/gdbus/connection/flush/idle/.dirs/system-data2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_M6L512/gdbus/connection/flush/idle/.dirs/data 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_M6L512/gdbus/connection/flush/idle/.dirs/state 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_M6L512/gdbus/connection/flush/idle/.dirs/runtime 994s ok 2 /gdbus/connection/flush/idle 994s # End of flush tests 994s # End of connection tests 994s # End of gdbus tests 994s ok - glib/gdbus-connection-flush.test 994s # Running test: glib/signalgroup.test 994s TAP version 14 994s # random seed: R02Sb738c07d77bb3818bac8ee3cd3ad74c7 994s 1..9 994s # Start of GObject tests 994s # Start of SignalGroup tests 994s ok 1 /GObject/SignalGroup/invalid 994s ok 2 /GObject/SignalGroup/simple 994s ok 3 /GObject/SignalGroup/changing-target 994s ok 4 /GObject/SignalGroup/blocking 994s ok 5 /GObject/SignalGroup/weak-ref-target 994s ok 6 /GObject/SignalGroup/connect-object 994s ok 7 /GObject/SignalGroup/signal-parsing 994s ok 8 /GObject/SignalGroup/properties 994s ok 9 /GObject/SignalGroup/interface 994s # Start of signal-parsing tests 994s # End of signal-parsing tests 994s # End of SignalGroup tests 994s # End of GObject tests 994s ok - glib/signalgroup.test 994s # Running test: glib/cxx-20.test 994s TAP version 14 994s # random seed: R02Sa4f96c438f49855ae0640808ec355010 994s 1..2 994s # Start of gtask tests 994s # 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. 994s ok 1 /gtask/name 994s # Start of name tests 994s # 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. 994s ok 2 /gtask/name/macro-wrapper 994s # End of name tests 994s # End of gtask tests 994s ok - glib/cxx-20.test 994s # Running test: glib/gio-tool.py.test 994s TAP version 13 994s ok 1 __main__.TestGioTool.test_help 994s # tmpdir: /tmp/tmp5tnnz036 994s # gio: /usr/bin/gio 994s # Running: ['/usr/bin/gio', '--help'] 994s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 994s # Output: Usage: 994s # gio COMMAND [ARGS…] 994s # 994s # Commands: 994s # help Print help 994s # version Print version 994s # cat Concatenate files to standard output 994s # copy Copy one or more files 994s # info Show information about locations 994s # launch Launch an application from a desktop file 994s # list List the contents of locations 994s # mime Get or set the handler for a mimetype 994s # mkdir Create directories 994s # monitor Monitor files and directories for changes 994s # mount Mount or unmount the locations 994s # move Move one or more files 994s # open Open files with the default application 994s # rename Rename a file 994s # remove Delete one or more files 994s # save Read from standard input and save 994s # set Set a file attribute 994s # trash Move files or directories to the trash 994s # tree Lists the contents of locations in a tree 994s # 994s # Use “gio help COMMAND†to get detailed help. 994s # Running: ['/usr/bin/gio', 'help'] 994s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 994s # Output: Usage: 994s # gio COMMAND [ARGS…] 994s # 994s # Commands: 994s # help Print help 994s # version Print version 994s # cat Concatenate files to standard output 994s # copy Copy one or more files 994s # info Show information about locations 994s # launch Launch an application from a desktop file 994s # list List the contents of locations 994s # mime Get or set the handler for a mimetype 994s # mkdir Create directories 994s # monitor Monitor files and directories for changes 994s # mount Mount or unmount the locations 994s # move Move one or more files 994s # open Open files with the default application 994s # rename Rename a file 994s # remove Delete one or more files 994s # save Read from standard input and save 994s # set Set a file attribute 994s # trash Move files or directories to the trash 994s # tree Lists the contents of locations in a tree 994s # 994s # Use “gio help COMMAND†to get detailed help. 994s ok 2 __main__.TestGioTool.test_info_non_default_attributes 994s # tmpdir: /tmp/tmp85_1le34 994s # gio: /usr/bin/gio 994s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmp85_1le34/tmpweg93vc4'] 994s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 994s # Output: uri: file:///tmp/tmp85_1le34/tmpweg93vc4 994s # local path: /tmp/tmp85_1le34/tmpweg93vc4 994s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 994s # attributes: 994s # standard::content-type: application/x-zerosize 994s ok 3 __main__.TestGioTool.test_no_args 994s # tmpdir: /tmp/tmpzq70bxpn 994s # gio: /usr/bin/gio 994s # Running: ['/usr/bin/gio'] 994s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 994s 1..3 994s ok - glib/gio-tool.py.test 994s # Running test: glib/portal-support-flatpak-full.test 994s TAP version 14 994s # random seed: R02Sf7ab618574938a1bfa7d90e27ab11056 994s 1..1 994s # Start of portal-support tests 994s # Start of flatpak tests 994s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_KWY612/portal-support/flatpak/full/.dirs/home 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_KWY612/portal-support/flatpak/full/.dirs/cache 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_KWY612/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_KWY612/portal-support/flatpak/full/.dirs/system-config2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_KWY612/portal-support/flatpak/full/.dirs/config 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_KWY612/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_KWY612/portal-support/flatpak/full/.dirs/system-data2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_KWY612/portal-support/flatpak/full/.dirs/data 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_KWY612/portal-support/flatpak/full/.dirs/state 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_KWY612/portal-support/flatpak/full/.dirs/runtime 994s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_KWY612/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 994s ok 1 /portal-support/flatpak/full 994s # End of flatpak tests 994s # End of portal-support tests 994s ok - glib/portal-support-flatpak-full.test 994s # Running test: glib/dump.test 994s TAP version 14 994s # random seed: R02Sc0d72df428578a615fe3c7ebc82f0f2a 994s 1..4 994s # Start of dump tests 994s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_SUW612/dump/empty-file/.dirs/home 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_SUW612/dump/empty-file/.dirs/cache 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_SUW612/dump/empty-file/.dirs/system-config1:/tmp/test_dump_SUW612/dump/empty-file/.dirs/system-config2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_SUW612/dump/empty-file/.dirs/config 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_SUW612/dump/empty-file/.dirs/system-data1:/tmp/test_dump_SUW612/dump/empty-file/.dirs/system-data2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_SUW612/dump/empty-file/.dirs/data 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_SUW612/dump/empty-file/.dirs/state 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_SUW612/dump/empty-file/.dirs/runtime 994s ok 1 /dump/empty-file 994s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_SUW612/dump/missing-get-type/.dirs/home 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_SUW612/dump/missing-get-type/.dirs/cache 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_SUW612/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_SUW612/dump/missing-get-type/.dirs/system-config2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_SUW612/dump/missing-get-type/.dirs/config 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_SUW612/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_SUW612/dump/missing-get-type/.dirs/system-data2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_SUW612/dump/missing-get-type/.dirs/data 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_SUW612/dump/missing-get-type/.dirs/state 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_SUW612/dump/missing-get-type/.dirs/runtime 994s Invalid GType function: 'does_not_exist_get_type' 994s ok 2 /dump/missing-get-type 994s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_SUW612/dump/missing-quark/.dirs/home 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_SUW612/dump/missing-quark/.dirs/cache 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_SUW612/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_SUW612/dump/missing-quark/.dirs/system-config2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_SUW612/dump/missing-quark/.dirs/config 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_SUW612/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_SUW612/dump/missing-quark/.dirs/system-data2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_SUW612/dump/missing-quark/.dirs/data 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_SUW612/dump/missing-quark/.dirs/state 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_SUW612/dump/missing-quark/.dirs/runtime 994s Invalid error quark function: 'does_not_exist_error' 994s ok 3 /dump/missing-quark 994s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_SUW612/dump/basic/.dirs/home 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_SUW612/dump/basic/.dirs/cache 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_SUW612/dump/basic/.dirs/system-config1:/tmp/test_dump_SUW612/dump/basic/.dirs/system-config2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_SUW612/dump/basic/.dirs/config 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_SUW612/dump/basic/.dirs/system-data1:/tmp/test_dump_SUW612/dump/basic/.dirs/system-data2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_SUW612/dump/basic/.dirs/data 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_SUW612/dump/basic/.dirs/state 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_SUW612/dump/basic/.dirs/runtime 994s ok 4 /dump/basic 994s # End of dump tests 994s ok - glib/dump.test 994s # Running test: glib/enums.test 994s TAP version 14 994s # random seed: R02S04b982ad95c4f4851658e02fccbb2bbb 994s 1..4 994s # Start of enum tests 994s ok 1 /enum/basic 994s ok 2 /enum/define-type 994s # End of enum tests 994s # Start of flags tests 994s ok 3 /flags/basic 994s ok 4 /flags/define-type 994s # End of flags tests 994s ok - glib/enums.test 994s # Running test: glib/value.test 994s TAP version 14 994s # random seed: R02S6845823742559c495fe95e821ea7eedc 994s 1..9 994s # Start of value tests 994s ok 1 /value/basic 994s ok 2 /value/collection 994s ok 3 /value/copying 994s ok 4 /value/enum-transformation 994s ok 5 /value/gtype 994s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 994s ok 6 /value/string 994s # Next: GObject object in GValue of GObject to GValue of GObject 994s # Next: GObject object in GValue of GObject to GValue of TestInterface 994s # Next: GObject object in GValue of GObject to GValue of TestObjectA 994s # Next: GObject object in GValue of GObject to GValue of TestObjectB 994s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 994s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 994s # Next: TestObjectA object in GValue of GObject to GValue of GObject 994s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 994s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 994s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 994s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 994s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 994s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 994s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 994s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 994s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 994s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 994s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 994s # Next: TestObjectB object in GValue of GObject to GValue of GObject 994s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 994s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 994s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 994s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 994s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 994s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 994s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 994s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 994s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 994s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 994s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 994s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 994s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 994s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 994s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 994s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 994s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 994s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 994s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 994s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 994s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 994s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 994s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 994s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 994s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 994s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 994s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 994s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 994s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 994s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 994s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 994s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 994s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 994s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 994s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 994s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 994s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 994s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 994s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 994s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 994s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 994s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 994s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 994s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 994s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 994s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 994s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 994s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 994s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 994s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 994s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 994s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 994s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 994s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 994s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 994s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 994s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 994s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 994s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 994s ok 7 /value/transform-object 994s # Start of array tests 994s ok 8 /value/array/basic 994s ok 9 /value/array/sort-with-data 994s # End of array tests 994s # End of value tests 994s ok - glib/value.test 994s # Running test: glib/network-monitor-race.test 994s TAP version 14 994s # random seed: R02S77a3a953f21362b98c271358bec908b6 994s 1..1 994s # Start of network-monitor tests 994s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 997s ok 1 /network-monitor/create-in-thread 997s # slow test /network-monitor/create-in-thread executed in 2.10 secs 997s # End of network-monitor tests 997s ok - glib/network-monitor-race.test 997s # Running test: glib/include.test 997s TAP version 14 997s # random seed: R02S93761ea9d8f7afbd2b62fc4740d21adc 997s 1..1 997s # Start of include tests 997s ok 1 /include/rwlock 997s # End of include tests 997s ok - glib/include.test 997s # Running test: glib/actions.test 997s TAP version 14 997s # random seed: R02S94793fbc65b3f441259ae369165ba4db 997s 1..13 997s # Start of actions tests 997s ok 1 /actions/basic 997s ok 2 /actions/name 997s ok 3 /actions/simplegroup 997s ok 4 /actions/stateful 997s ok 5 /actions/default-activate 997s ok 6 /actions/entries 997s ok 7 /actions/parse-detailed 997s ok 8 /actions/property 997s ok 9 /actions/no-properties 997s # Start of dbus tests 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s ok 10 /actions/dbus/export 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s ok 11 /actions/dbus/threaded 997s # slow test /actions/dbus/threaded executed in 0.64 secs 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s ok 12 /actions/dbus/bug679509 997s # Start of export tests 997s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 997s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 997s ok 13 /actions/dbus/export/error-handling 997s # End of export tests 997s # End of dbus tests 997s # End of actions tests 997s ok - glib/actions.test 997s # Running test: glib/throws.test 997s TAP version 14 997s # random seed: R02Sba5fb2695e9a81a9c06adb8a926ff3d5 997s 1..3 997s # Start of throws tests 997s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_FM7312/throws/invoke-gerror/.dirs/home 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_FM7312/throws/invoke-gerror/.dirs/cache 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_FM7312/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_FM7312/throws/invoke-gerror/.dirs/system-config2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_FM7312/throws/invoke-gerror/.dirs/config 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_FM7312/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_FM7312/throws/invoke-gerror/.dirs/system-data2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_FM7312/throws/invoke-gerror/.dirs/data 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_FM7312/throws/invoke-gerror/.dirs/state 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_FM7312/throws/invoke-gerror/.dirs/runtime 997s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 997s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 997s ok 1 /throws/invoke-gerror 997s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_FM7312/throws/vfunc-can-throw-gerror/.dirs/home 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_FM7312/throws/vfunc-can-throw-gerror/.dirs/cache 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_FM7312/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_FM7312/throws/vfunc-can-throw-gerror/.dirs/system-config2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_FM7312/throws/vfunc-can-throw-gerror/.dirs/config 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_FM7312/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_FM7312/throws/vfunc-can-throw-gerror/.dirs/system-data2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_FM7312/throws/vfunc-can-throw-gerror/.dirs/data 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_FM7312/throws/vfunc-can-throw-gerror/.dirs/state 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_FM7312/throws/vfunc-can-throw-gerror/.dirs/runtime 997s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 997s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 997s ok 2 /throws/vfunc-can-throw-gerror 997s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_FM7312/throws/callback-can-throw-gerror/.dirs/home 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_FM7312/throws/callback-can-throw-gerror/.dirs/cache 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_FM7312/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_FM7312/throws/callback-can-throw-gerror/.dirs/system-config2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_FM7312/throws/callback-can-throw-gerror/.dirs/config 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_FM7312/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_FM7312/throws/callback-can-throw-gerror/.dirs/system-data2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_FM7312/throws/callback-can-throw-gerror/.dirs/data 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_FM7312/throws/callback-can-throw-gerror/.dirs/state 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_FM7312/throws/callback-can-throw-gerror/.dirs/runtime 997s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 997s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 997s ok 3 /throws/callback-can-throw-gerror 997s # End of throws tests 997s ok - glib/throws.test 997s # Running test: glib/portal-support-flatpak-gsettings-only.test 997s TAP version 14 997s # random seed: R02S10286c683faf5abd6b7670e501b91dd1 997s 1..1 997s # Start of portal-support tests 997s # Start of flatpak tests 997s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_183312/portal-support/flatpak/gsettings/.dirs/home 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_183312/portal-support/flatpak/gsettings/.dirs/cache 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_183312/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_183312/portal-support/flatpak/gsettings/.dirs/system-config2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_183312/portal-support/flatpak/gsettings/.dirs/config 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_183312/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_183312/portal-support/flatpak/gsettings/.dirs/system-data2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_183312/portal-support/flatpak/gsettings/.dirs/data 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_183312/portal-support/flatpak/gsettings/.dirs/state 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_183312/portal-support/flatpak/gsettings/.dirs/runtime 997s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_183312/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 997s ok 1 /portal-support/flatpak/gsettings 997s # End of flatpak tests 997s # End of portal-support tests 997s ok - glib/portal-support-flatpak-gsettings-only.test 997s # Running test: glib/sleepy-stream.test 997s TAP version 14 997s # random seed: R02S0ac359c78c033934b6d174b78f40191e 997s 1..2 997s # Start of filter-stream tests 997s ok 1 /filter-stream/input 997s ok 2 /filter-stream/async 997s # End of filter-stream tests 997s ok - glib/sleepy-stream.test 997s # Running test: glib/stream-rw_all.test 997s TAP version 14 997s # random seed: R02Sf2bd20cbb7cd8c751b0851f7d54868e4 997s 1..3 997s # Start of stream tests 997s # Start of read_all_async tests 997s ok 1 /stream/read_all_async/memory 997s # End of read_all_async tests 997s # Start of write_all_async tests 997s ok 2 /stream/write_all_async/memory 997s # End of write_all_async tests 997s # Start of read_write_all_async tests 997s ok 3 /stream/read_write_all_async/pipe 997s # End of read_write_all_async tests 997s # End of stream tests 997s ok - glib/stream-rw_all.test 997s # Running test: glib/properties-refcount4.test 997s TAP version 14 997s # random seed: R02Sb1ae219e52867f548109d47fd05ac50d 997s 1..1 997s # Start of gobject tests 997s # Start of refcount tests 997s ok 1 /gobject/refcount/properties-4 997s # End of refcount tests 997s # End of gobject tests 997s ok - glib/properties-refcount4.test 997s # Running test: glib/file-thumbnail.test 997s TAP version 14 997s # random seed: R02Sd27f440e741cacb9b0381f7317699489 997s 1..7 997s # Start of file-thumbnail tests 997s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/fail/.dirs/home 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/fail/.dirs/cache 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_02W312/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_02W312/file-thumbnail/fail/.dirs/system-config2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/fail/.dirs/config 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_02W312/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_02W312/file-thumbnail/fail/.dirs/system-data2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/fail/.dirs/data 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/fail/.dirs/state 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_02W312/file-thumbnail/fail/.dirs/runtime 997s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 997s # Created test thumbnail at /tmp/test_file-thumbnail_02W312/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 997s ok 1 /file-thumbnail/fail 997s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/size-priority/.dirs/home 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/size-priority/.dirs/cache 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_02W312/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_02W312/file-thumbnail/size-priority/.dirs/system-config2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/size-priority/.dirs/config 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_02W312/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_02W312/file-thumbnail/size-priority/.dirs/system-data2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/size-priority/.dirs/data 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/size-priority/.dirs/state 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_02W312/file-thumbnail/size-priority/.dirs/runtime 997s # Created test thumbnail at /tmp/test_file-thumbnail_02W312/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 997s # Created test thumbnail at /tmp/test_file-thumbnail_02W312/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 997s # Created test thumbnail at /tmp/test_file-thumbnail_02W312/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 997s # Created test thumbnail at /tmp/test_file-thumbnail_02W312/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 997s # Created test thumbnail at /tmp/test_file-thumbnail_02W312/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 997s ok 2 /file-thumbnail/size-priority 997s # Start of valid tests 997s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/normal/.dirs/home 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/normal/.dirs/cache 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_02W312/file-thumbnail/valid/normal/.dirs/system-config2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/normal/.dirs/config 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_02W312/file-thumbnail/valid/normal/.dirs/system-data2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/normal/.dirs/data 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/normal/.dirs/state 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/normal/.dirs/runtime 997s # Created test thumbnail at /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 997s ok 3 /file-thumbnail/valid/normal 997s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/large/.dirs/home 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/large/.dirs/cache 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_02W312/file-thumbnail/valid/large/.dirs/system-config2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/large/.dirs/config 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_02W312/file-thumbnail/valid/large/.dirs/system-data2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/large/.dirs/data 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/large/.dirs/state 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/large/.dirs/runtime 997s # Created test thumbnail at /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 997s ok 4 /file-thumbnail/valid/large 997s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/x-large/.dirs/home 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/x-large/.dirs/cache 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_02W312/file-thumbnail/valid/x-large/.dirs/system-config2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/x-large/.dirs/config 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_02W312/file-thumbnail/valid/x-large/.dirs/system-data2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/x-large/.dirs/data 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/x-large/.dirs/state 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/x-large/.dirs/runtime 997s # Created test thumbnail at /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 997s ok 5 /file-thumbnail/valid/x-large 997s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/xx-large/.dirs/home 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/xx-large/.dirs/cache 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_02W312/file-thumbnail/valid/xx-large/.dirs/system-config2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/xx-large/.dirs/config 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_02W312/file-thumbnail/valid/xx-large/.dirs/system-data2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/xx-large/.dirs/data 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/xx-large/.dirs/state 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/xx-large/.dirs/runtime 997s # Created test thumbnail at /tmp/test_file-thumbnail_02W312/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 997s ok 6 /file-thumbnail/valid/xx-large 997s # End of valid tests 997s # Start of unknown tests 997s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/unknown/super-large/.dirs/home 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/unknown/super-large/.dirs/cache 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_02W312/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_02W312/file-thumbnail/unknown/super-large/.dirs/system-config2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/unknown/super-large/.dirs/config 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_02W312/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_02W312/file-thumbnail/unknown/super-large/.dirs/system-data2 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/unknown/super-large/.dirs/data 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_02W312/file-thumbnail/unknown/super-large/.dirs/state 997s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_02W312/file-thumbnail/unknown/super-large/.dirs/runtime 997s # Created test thumbnail at /tmp/test_file-thumbnail_02W312/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 997s ok 7 /file-thumbnail/unknown/super-large 997s # End of unknown tests 997s # End of file-thumbnail tests 997s ok - glib/file-thumbnail.test 997s # Running test: glib/power-profile-monitor-portal.test 997s # Executing: glib/power-profile-monitor-portal.test 998s TAP version 13 998s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 998s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 998s 1..2 998s ok - glib/power-profile-monitor-portal.test 998s # Running test: glib/gdbus-test-codegen.test 998s TAP version 14 998s # random seed: R02S9ddc7a75157e97feaad4c21920ad2df4 998s 1..8 998s # Start of gdbus tests 998s # Start of codegen tests 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/annotations/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/annotations/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/annotations/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/annotations/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/annotations/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/annotations/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/annotations/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/annotations/.dirs/runtime 998s ok 1 /gdbus/codegen/annotations 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/interface_stability/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/interface_stability/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/interface_stability/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/interface_stability/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/interface_stability/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/interface_stability/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/interface_stability/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/interface_stability/.dirs/runtime 998s ok 2 /gdbus/codegen/interface_stability 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/object-manager/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/object-manager/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/object-manager/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/object-manager/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/object-manager/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/object-manager/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/object-manager/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/object-manager/.dirs/runtime 998s ok 3 /gdbus/codegen/object-manager 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/property-naming/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/property-naming/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/property-naming/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/property-naming/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/property-naming/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/property-naming/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/property-naming/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/property-naming/.dirs/runtime 998s ok 4 /gdbus/codegen/property-naming 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/autocleanups/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/autocleanups/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/autocleanups/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/autocleanups/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/autocleanups/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/autocleanups/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/autocleanups/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/autocleanups/.dirs/runtime 998s ok 5 /gdbus/codegen/autocleanups 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/deprecations/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/deprecations/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/deprecations/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/deprecations/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/deprecations/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/deprecations/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/deprecations/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/deprecations/.dirs/runtime 998s ok 6 /gdbus/codegen/deprecations 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/standalone-interface-info/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/standalone-interface-info/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/standalone-interface-info/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/standalone-interface-info/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/standalone-interface-info/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/standalone-interface-info/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/standalone-interface-info/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/standalone-interface-info/.dirs/runtime 998s ok 7 /gdbus/codegen/standalone-interface-info 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/unix-fd-list/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/unix-fd-list/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/unix-fd-list/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/unix-fd-list/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/unix-fd-list/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/unix-fd-list/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/unix-fd-list/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_YE9I22/gdbus/codegen/unix-fd-list/.dirs/runtime 998s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 998s ok 8 /gdbus/codegen/unix-fd-list 998s # End of codegen tests 998s # End of gdbus tests 998s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 998s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 998s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 998s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 998s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 998s ok - glib/gdbus-test-codegen.test 998s # Running test: glib/markup-collect.test 998s TAP version 14 998s # random seed: R02S2e8feb84d2c3bab196c2db4e9d775056 998s 1..21 998s # Start of markup tests 998s # Start of collect tests 998s ok 1 /markup/collect/0 998s ok 2 /markup/collect/1 998s ok 3 /markup/collect/2 998s ok 4 /markup/collect/3 998s ok 5 /markup/collect/4 998s ok 6 /markup/collect/5 998s ok 7 /markup/collect/6 998s ok 8 /markup/collect/7 998s ok 9 /markup/collect/8 998s ok 10 /markup/collect/9 998s ok 11 /markup/collect/10 998s ok 12 /markup/collect/11 998s ok 13 /markup/collect/12 998s ok 14 /markup/collect/13 998s ok 15 /markup/collect/14 998s ok 16 /markup/collect/15 998s ok 17 /markup/collect/16 998s ok 18 /markup/collect/17 998s ok 19 /markup/collect/18 998s ok 20 /markup/collect/19 998s ok 21 /markup/collect/cleanup 998s # End of collect tests 998s # End of markup tests 998s ok - glib/markup-collect.test 998s # Running test: glib/messages-low-memory.py.test 998s TAP version 13 998s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 998s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 998s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 998s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 998s # Return code: -6 998s # Output: 998s # Error: GLib-Message: 13:27:15.425: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 998s # GLib-Message: 13:27:15.425: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 998s # ../../../glib/gprintf.c:350: failed to allocate memory 998s 1..1 998s ok - glib/messages-low-memory.py.test 998s # Running test: glib/portal-support-env-var.test 998s TAP version 14 998s # random seed: R02Sc6fed8d5d95886cfcc11a3dbb1a31a9d 998s 1..1 998s # Start of portal-support tests 998s ok 1 /portal-support/env-var 998s # End of portal-support tests 998s ok - glib/portal-support-env-var.test 998s # Running test: glib/g-icon.test 998s TAP version 14 998s # random seed: R02S694e8d4a4273aab709249c44a61803c1 998s 1..6 998s # Start of icons tests 998s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 998s ok 1 /icons/to-string 998s ok 2 /icons/serialize 998s ok 3 /icons/themed 998s ok 4 /icons/emblemed 998s ok 5 /icons/file 998s ok 6 /icons/bytes 998s # End of icons tests 998s ok - glib/g-icon.test 998s # Running test: glib/signals-refcount1.test 998s TAP version 14 998s # random seed: R02S6b8384def4167f56957d5c0d0b50f84a 998s 1..1 998s # Start of gobject tests 998s # Start of refcount tests 998s # init 0x2aa28482420 998s # 998s # init 0x2aa284825c0 998s # 1002s # Executing: glib/signals-refcount1.test 1003s # dispose 0x2aa28482420! 1003s # 1003s # dispose 0x2aa284825c0! 1003s # 1003s ok 1 /gobject/refcount/signals 1003s # slow test /gobject/refcount/signals executed in 5.00 secs 1003s # End of refcount tests 1003s # End of gobject tests 1003s ok - glib/signals-refcount1.test 1003s # Running test: glib/utils-c-11.test 1003s TAP version 14 1003s # random seed: R02S83a9b88d38cb05fdd9326fc4455fe73f 1003s 1..41 1003s # Start of utils tests 1003s ok 1 /utils/language-names 1003s ok 2 /utils/locale-variants 1003s ok 3 /utils/version 1003s ok 4 /utils/appname 1003s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1003s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1003s ok 5 /utils/prgname-thread-safety 1003s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1003s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1003s ok 6 /utils/tmpdir 1003s ok 7 /utils/basic_bits 1003s ok 8 /utils/bits 1003s ok 9 /utils/swap 1003s ok 10 /utils/find-program 1003s ok 11 /utils/find-program-for-path 1003s ok 12 /utils/debug 1003s ok 13 /utils/codeset 1003s ok 14 /utils/codeset2 1003s ok 15 /utils/console-charset 1003s ok 16 /utils/gettext 1003s ok 17 /utils/username 1003s ok 18 /utils/realname 1003s ok 19 /utils/hostname 1003s ok 20 /utils/xdgdirs 1003s ok 21 /utils/specialdir 1003s # NAME: Ubuntu 1003s ok 22 /utils/os-info 1003s ok 23 /utils/clear-pointer 1003s ok 24 /utils/clear-pointer-cast 1003s ok 25 /utils/take-pointer 1003s ok 26 /utils/clear-source 1003s ok 27 /utils/misc-mem 1003s # /utils/aligned-mem summary: Aligned memory allocator 1003s # Alignment must not be zero 1003s # Alignment must be a power of two 1003s # Alignment must be a multiple of sizeof(void*) 1003s ok 28 /utils/aligned-mem 1003s # /utils/free-sized summary: Check that g_free_sized() works 1003s ok 29 /utils/free-sized 1003s ok 30 /utils/nullify 1003s ok 31 /utils/atexit 1003s ok 32 /utils/check-setuid 1003s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1003s ok 33 /utils/int-limits 1003s ok 34 /utils/clear-list 1003s ok 35 /utils/clear-slist 1003s ok 36 /utils/steal-handle-id 1003s # Start of specialdir tests 1003s ok 37 /utils/specialdir/desktop 1003s # End of specialdir tests 1003s # Start of clear-pointer tests 1003s ok 38 /utils/clear-pointer/side-effects 1003s # End of clear-pointer tests 1003s # Start of aligned-mem tests 1003s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1003s ok 39 /utils/aligned-mem/alignment 1003s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1003s ok 40 /utils/aligned-mem/zeroed 1003s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1003s ok 41 /utils/aligned-mem/free-sized 1003s # Start of subprocess tests 1003s # End of subprocess tests 1003s # End of aligned-mem tests 1003s # End of utils tests 1003s ok - glib/utils-c-11.test 1003s # Running test: glib/unix-streams.test 1003s TAP version 14 1003s # random seed: R02S6041953a1c45af4349230a3334c864a2 1003s 1..9 1003s # Start of unix-streams tests 1003s ok 1 /unix-streams/basic 1004s ok 2 /unix-streams/pipe-io-test 1004s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1004s ok 3 /unix-streams/nonblocking-io-test 1004s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1004s ok 4 /unix-streams/read_write 1004s ok 5 /unix-streams/read_writev 1004s ok 6 /unix-streams/write-wouldblock 1004s ok 7 /unix-streams/writev-wouldblock 1004s ok 8 /unix-streams/write-async-wouldblock 1004s ok 9 /unix-streams/writev-async-wouldblock 1004s # End of unix-streams tests 1004s ok - glib/unix-streams.test 1004s # Running test: glib/utils-isolated.test 1004s TAP version 14 1004s # random seed: R02S10fbc284a44e2c2cd4838f82d9e50aac 1004s 1..11 1004s # Start of utils-isolated tests 1004s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/tmp-dir/.dirs/home 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/tmp-dir/.dirs/cache 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_MC0L22/utils-isolated/tmp-dir/.dirs/system-config2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/tmp-dir/.dirs/config 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_MC0L22/utils-isolated/tmp-dir/.dirs/system-data2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/tmp-dir/.dirs/data 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/tmp-dir/.dirs/state 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_MC0L22/utils-isolated/tmp-dir/.dirs/runtime 1004s ok 1 /utils-isolated/tmp-dir 1004s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/home-dir/.dirs/home 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/home-dir/.dirs/cache 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_MC0L22/utils-isolated/home-dir/.dirs/system-config2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/home-dir/.dirs/config 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_MC0L22/utils-isolated/home-dir/.dirs/system-data2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/home-dir/.dirs/data 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/home-dir/.dirs/state 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_MC0L22/utils-isolated/home-dir/.dirs/runtime 1004s ok 2 /utils-isolated/home-dir 1004s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-cache-dir/.dirs/home 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-cache-dir/.dirs/cache 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_MC0L22/utils-isolated/user-cache-dir/.dirs/system-config2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-cache-dir/.dirs/config 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_MC0L22/utils-isolated/user-cache-dir/.dirs/system-data2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-cache-dir/.dirs/data 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-cache-dir/.dirs/state 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-cache-dir/.dirs/runtime 1004s ok 3 /utils-isolated/user-cache-dir 1004s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/system-config-dirs/.dirs/home 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/system-config-dirs/.dirs/cache 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_MC0L22/utils-isolated/system-config-dirs/.dirs/system-config2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/system-config-dirs/.dirs/config 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_MC0L22/utils-isolated/system-config-dirs/.dirs/system-data2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/system-config-dirs/.dirs/data 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/system-config-dirs/.dirs/state 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_MC0L22/utils-isolated/system-config-dirs/.dirs/runtime 1004s ok 4 /utils-isolated/system-config-dirs 1004s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-config-dir/.dirs/home 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-config-dir/.dirs/cache 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_MC0L22/utils-isolated/user-config-dir/.dirs/system-config2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-config-dir/.dirs/config 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_MC0L22/utils-isolated/user-config-dir/.dirs/system-data2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-config-dir/.dirs/data 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-config-dir/.dirs/state 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-config-dir/.dirs/runtime 1004s ok 5 /utils-isolated/user-config-dir 1004s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/system-data-dirs/.dirs/home 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/system-data-dirs/.dirs/cache 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_MC0L22/utils-isolated/system-data-dirs/.dirs/system-config2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/system-data-dirs/.dirs/config 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_MC0L22/utils-isolated/system-data-dirs/.dirs/system-data2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/system-data-dirs/.dirs/data 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/system-data-dirs/.dirs/state 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_MC0L22/utils-isolated/system-data-dirs/.dirs/runtime 1004s ok 6 /utils-isolated/system-data-dirs 1004s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-data-dir/.dirs/home 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-data-dir/.dirs/cache 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_MC0L22/utils-isolated/user-data-dir/.dirs/system-config2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-data-dir/.dirs/config 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_MC0L22/utils-isolated/user-data-dir/.dirs/system-data2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-data-dir/.dirs/data 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-data-dir/.dirs/state 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-data-dir/.dirs/runtime 1004s ok 7 /utils-isolated/user-data-dir 1004s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-state-dir/.dirs/home 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-state-dir/.dirs/cache 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_MC0L22/utils-isolated/user-state-dir/.dirs/system-config2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-state-dir/.dirs/config 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_MC0L22/utils-isolated/user-state-dir/.dirs/system-data2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-state-dir/.dirs/data 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-state-dir/.dirs/state 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-state-dir/.dirs/runtime 1004s ok 8 /utils-isolated/user-state-dir 1004s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-runtime-dir/.dirs/home 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-runtime-dir/.dirs/cache 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_MC0L22/utils-isolated/user-runtime-dir/.dirs/system-config2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-runtime-dir/.dirs/config 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_MC0L22/utils-isolated/user-runtime-dir/.dirs/system-data2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-runtime-dir/.dirs/data 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-runtime-dir/.dirs/state 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_MC0L22/utils-isolated/user-runtime-dir/.dirs/runtime 1004s ok 9 /utils-isolated/user-runtime-dir 1004s # Start of cleanup tests 1004s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/handles-errors/.dirs/home 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/handles-errors/.dirs/cache 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/handles-errors/.dirs/system-config2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/handles-errors/.dirs/config 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/handles-errors/.dirs/system-data2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/handles-errors/.dirs/data 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/handles-errors/.dirs/state 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/handles-errors/.dirs/runtime 1004s Unable to clean up temporary directory /tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 1004s Unable to clean up temporary directory /tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 1004s Unable to clean up temporary directory /tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/handles-errors: Directory not empty 1004s ok 10 /utils-isolated/cleanup/handles-errors 1004s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 1004s Unable to clean up temporary directory /tmp/test_utils-isolated_MC0L22/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 1004s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 1004s # End of cleanup tests 1004s # End of utils-isolated tests 1004s ok - glib/utils-isolated.test 1004s # Running test: glib/signals-refcount2.test 1004s TAP version 14 1004s # random seed: R02S2865872b70e2e817047e72a105da03be 1004s 1..1 1004s # Start of gobject tests 1004s # Start of refcount tests 1004s # init 0x2aa3ab0f420 1004s # 1004s # init 0x2aa3ab0f5c0 1004s # 1007s # Executing: glib/signals-refcount2.test 1009s # dispose 0x2aa3ab0f420! 1009s # 1009s # dispose 0x2aa3ab0f5c0! 1009s # 1009s ok 1 /gobject/refcount/signals 1009s # slow test /gobject/refcount/signals executed in 5.00 secs 1009s # End of refcount tests 1009s # End of gobject tests 1009s ok - glib/signals-refcount2.test 1009s # Running test: glib/rcbox.test 1009s TAP version 14 1009s # random seed: R02S956f06d3f3476ed3816038a5460e3451 1009s 1..8 1009s # Start of rcbox tests 1009s ok 1 /rcbox/new 1009s # global_point = 0x2aa1719e840 1009s ok 2 /rcbox/release-full 1009s # global_point_a = 0x2aa1719e840 1009s # global_point_b = 0x2aa1719e800 1009s ok 3 /rcbox/dup 1009s ok 4 /rcbox/alignment 1009s # End of rcbox tests 1009s # Start of atomic-rcbox tests 1009s ok 5 /atomic-rcbox/new 1009s # global_point = 0x2aa1719ea10 1009s ok 6 /atomic-rcbox/release-full 1009s # global_point_a = 0x2aa1719ea10 1009s # global_point_b = 0x2aa1719e9d0 1009s ok 7 /atomic-rcbox/dup 1009s ok 8 /atomic-rcbox/alignment 1009s # End of atomic-rcbox tests 1009s ok - glib/rcbox.test 1009s # Running test: glib/cancellable.test 1009s TAP version 14 1009s # random seed: R02S91d458977878e6708d79292c32e38a36 1009s 1..11 1009s # Start of cancellable tests 1009s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1009s ok 2 /cancellable/null 1009s # /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 1009s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1009s # /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 1009s ok 4 /cancellable/resets-on-cancel-callback-hangs 1009s ok 5 /cancellable/poll-fd 1009s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1009s ok 6 /cancellable/poll-fd-cancelled 1009s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1009s ok 7 /cancellable/poll-fd-cancelled-threaded 1009s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1009s ok 8 /cancellable/cancel-reset-races 1009s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1009s ok 9 /cancellable/cancel-reset-connect-races 1009s # End of cancellable tests 1009s # Start of cancellable-source tests 1009s # /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) 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1010s ok 10 /cancellable-source/threaded-dispose 1010s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 1010s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 1010s ok 11 /cancellable-source/can-be-fired-multiple-times 1010s # End of cancellable-source tests 1010s ok - glib/cancellable.test 1010s # Running test: glib/refcount.test 1010s TAP version 14 1010s # random seed: R02Sf433fa6961781ce299e07253cbdd8d77 1010s 1..4 1010s # Start of refcount tests 1010s ok 1 /refcount/grefcount 1010s ok 2 /refcount/gatomicrefcount 1010s # Start of grefcount tests 1010s ok 3 /refcount/grefcount/saturation 1010s # End of grefcount tests 1010s # Start of gatomicrefcount tests 1010s ok 4 /refcount/gatomicrefcount/saturation 1010s # End of gatomicrefcount tests 1010s # End of refcount tests 1010s ok - glib/refcount.test 1010s # Running test: glib/gdbus-proxy-well-known-name.test 1010s TAP version 14 1010s # random seed: R02S87f390c2dbb328c8660e7911e68377f7 1010s 1..1 1010s # Start of gdbus tests 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_2FYE22/gdbus/proxy-well-known-name/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_2FYE22/gdbus/proxy-well-known-name/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_2FYE22/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_2FYE22/gdbus/proxy-well-known-name/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_2FYE22/gdbus/proxy-well-known-name/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_2FYE22/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_2FYE22/gdbus/proxy-well-known-name/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_2FYE22/gdbus/proxy-well-known-name/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_2FYE22/gdbus/proxy-well-known-name/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_2FYE22/gdbus/proxy-well-known-name/.dirs/runtime 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s ok 1 /gdbus/proxy-well-known-name 1010s # End of gdbus tests 1010s ok - glib/gdbus-proxy-well-known-name.test 1010s # Running test: glib/memory-monitor-portal.test 1010s TAP version 13 1010s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1010s 1..1 1010s ok - glib/memory-monitor-portal.test 1010s # Running test: glib/gdbus-sasl.test 1010s TAP version 14 1010s # random seed: R02Sa59ab1c66ef2aab046dc804a8adb2622 1010s 1..1 1010s # Start of gdbus tests 1010s # Start of sasl tests 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_O9P212/gdbus/sasl/server/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_O9P212/gdbus/sasl/server/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_O9P212/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_O9P212/gdbus/sasl/server/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_O9P212/gdbus/sasl/server/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_O9P212/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_O9P212/gdbus/sasl/server/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_O9P212/gdbus/sasl/server/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_O9P212/gdbus/sasl/server/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_O9P212/gdbus/sasl/server/.dirs/runtime 1010s # New handshake: EXTERNAL with incorrect initial response 1010s # C:“AUTH EXTERNAL 30†1010s # Expect: /^REJECTED.*$/ 1010s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1010s # New handshake: EXTERNAL without initial response, failing to authenticate 1010s # C:“AUTH EXTERNAL†1010s # Expect: /^DATA$/ 1010s # S:“DATA†1010s # C:“DATA 30†1010s # Expect: /^REJECTED.*$/ 1010s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1010s # New handshake: EXTERNAL with initial response 1010s # C:“AUTH EXTERNAL 31303030†1010s # Expect: /^OK [0-9a-f]+$/ 1010s # S:“OK f065861662b6d6a27500682c67b87f3f†1010s # New handshake: EXTERNAL without initial response 1010s # C:“AUTH EXTERNAL†1010s # Expect: /^DATA$/ 1010s # S:“DATA†1010s # C:“DATA 31303030†1010s # Expect: /^OK [0-9a-f]+$/ 1010s # S:“OK f065861662b6d6a27500682c67b87f3f†1010s # New handshake: EXTERNAL with empty authorization identity 1010s # C:“AUTH EXTERNAL†1010s # Expect: /^DATA$/ 1010s # S:“DATA†1010s # C:“DATA†1010s # Expect: /^OK [0-9a-f]+$/ 1010s # S:“OK f065861662b6d6a27500682c67b87f3f†1010s # New handshake: EXTERNAL with empty authorization identity and whitespace 1010s # C:“AUTH EXTERNAL†1010s # Expect: /^DATA$/ 1010s # S:“DATA†1010s # C:“DATA †1010s # Expect: /^OK [0-9a-f]+$/ 1010s # S:“OK f065861662b6d6a27500682c67b87f3f†1010s ok 1 /gdbus/sasl/server 1010s # End of sasl tests 1010s # End of gdbus tests 1010s ok - glib/gdbus-sasl.test 1010s # Running test: glib/autoptr.test 1010s TAP version 14 1010s # random seed: R02Seea54e32857e33846d0b368ad604fb0f 1010s 1..6 1010s # Start of autoptr tests 1010s ok 1 /autoptr/autoptr 1010s ok 2 /autoptr/autoptr_steal 1010s ok 3 /autoptr/autolist 1010s ok 4 /autoptr/autoslist 1010s ok 5 /autoptr/autoqueue 1010s ok 6 /autoptr/autoclass 1010s # End of autoptr tests 1010s ok - glib/autoptr.test 1010s # Running test: glib/slist.test 1010s TAP version 14 1010s # random seed: R02Sab517dec0c5977cef77e02ac90e3e677 1010s 1..14 1010s # Start of slist tests 1010s ok 1 /slist/sort 1010s ok 2 /slist/sort-with-data 1010s ok 3 /slist/insert-sorted 1010s ok 4 /slist/insert-sorted-with-data 1010s ok 5 /slist/reverse 1010s ok 6 /slist/nth 1010s ok 7 /slist/remove 1010s ok 8 /slist/remove-all 1010s ok 9 /slist/insert 1010s ok 10 /slist/position 1010s ok 11 /slist/concat 1010s ok 12 /slist/copy 1010s # Start of sort tests 1010s ok 13 /slist/sort/stable 1010s # End of sort tests 1010s # Start of copy tests 1010s ok 14 /slist/copy/deep 1010s # End of copy tests 1010s # End of slist tests 1010s ok - glib/slist.test 1010s # Running test: glib/spawn-path-search.test 1010s TAP version 14 1010s # random seed: R02S7add821876099f13371aae1cf54a5486 1010s 1..7 1010s # Start of spawn tests 1010s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1010s # 1010s # this is spawn-test-helper from glib/tests 1010s # 1010s ok 1 /spawn/do-not-search 1010s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1010s # 1010s # this is spawn-test-helper from path-test-subdir 1010s # 1010s ok 2 /spawn/search-path 1010s # /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. 1010s # 1010s # this is spawn-test-helper from path-test-subdir 1010s # 1010s ok 3 /spawn/search-path-from-envp 1010s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1010s # 1010s # this is spawn-test-helper from path-test-subdir 1010s # 1010s ok 4 /spawn/search-path-ambiguous 1010s # 1010s # this is spawn-test-helper from path-test-subdir 1010s # 1010s ok 5 /spawn/search-path-heap-allocation 1010s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1010s # 1010s # this is spawn-test-helper from glib/tests 1010s # 1010s ok 6 /spawn/search-path-fallback-in-environ 1010s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1010s # 1010s # this is spawn-test-helper from glib/tests 1010s # 1010s ok 7 /spawn/search-path-fallback-in-envp 1010s # End of spawn tests 1010s ok - glib/spawn-path-search.test 1010s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1010s TAP version 14 1010s # random seed: R02S0492db1d1fb7dc88f319e732643ffc1a 1010s 1..8 1010s # Start of gdbus tests 1010s # Start of codegen tests 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/annotations/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/annotations/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/annotations/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/annotations/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/annotations/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/annotations/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/annotations/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/annotations/.dirs/runtime 1010s ok 1 /gdbus/codegen/annotations 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/interface_stability/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/interface_stability/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/interface_stability/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/interface_stability/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/interface_stability/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/interface_stability/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/interface_stability/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/interface_stability/.dirs/runtime 1010s ok 2 /gdbus/codegen/interface_stability 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/object-manager/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/object-manager/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/object-manager/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/object-manager/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/object-manager/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/object-manager/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/object-manager/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/object-manager/.dirs/runtime 1010s ok 3 /gdbus/codegen/object-manager 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/property-naming/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/property-naming/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/property-naming/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/property-naming/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/property-naming/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/property-naming/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/property-naming/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/property-naming/.dirs/runtime 1010s ok 4 /gdbus/codegen/property-naming 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/autocleanups/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/autocleanups/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/autocleanups/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/autocleanups/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/autocleanups/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/autocleanups/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/autocleanups/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/autocleanups/.dirs/runtime 1010s ok 5 /gdbus/codegen/autocleanups 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/deprecations/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/deprecations/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/deprecations/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/deprecations/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/deprecations/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/deprecations/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/deprecations/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/deprecations/.dirs/runtime 1010s ok 6 /gdbus/codegen/deprecations 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/standalone-interface-info/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/standalone-interface-info/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/standalone-interface-info/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/standalone-interface-info/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/standalone-interface-info/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/standalone-interface-info/.dirs/runtime 1010s ok 7 /gdbus/codegen/standalone-interface-info 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/unix-fd-list/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/unix-fd-list/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/unix-fd-list/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/unix-fd-list/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/unix-fd-list/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/unix-fd-list/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/unix-fd-list/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IBQ312/gdbus/codegen/unix-fd-list/.dirs/runtime 1010s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1010s ok 8 /gdbus/codegen/unix-fd-list 1010s # End of codegen tests 1010s # End of gdbus tests 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s ok - glib/gdbus-test-codegen-min-required-2-64.test 1010s # Running test: glib/assert-msg-test.py.test 1010s TAP version 13 1010s ok 1 __main__.TestAssertMessage.test_gassert 1010s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1010s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1010s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1010s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1010s # Error: ** 1010s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1010s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1010s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1010s 1..2 1010s ok - glib/assert-msg-test.py.test 1010s # Running test: glib/pollable.test 1010s TAP version 14 1010s # random seed: R02Sa5126f4246714b6dc8669a7f4bcea804 1010s 1..6 1010s # Start of pollable tests 1010s ok 1 /pollable/converter 1010s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1010s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1ff3d790 and GSocketClientAsyncConnectData 0x2aa1ff30ad0 1010s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1010s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1010s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1ff3e810 for GSocketClientAsyncConnectData 0x2aa1ff30ad0 1010s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1010s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1010s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1010s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1010s ok 2 /pollable/socket 1010s # Start of unix tests 1010s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1010s ok 3 /pollable/unix/pipe 1010s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1010s ok 4 /pollable/unix/pty 1010s # /pollable/unix/file summary: Test that regular files are not considered pollable 1010s ok 5 /pollable/unix/file 1010s # /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 1010s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 1010s # End of unix tests 1010s # End of pollable tests 1010s ok - glib/pollable.test 1010s # Running test: glib/completion.test 1010s TAP version 14 1010s # random seed: R02Se6ba905c59b0102d38767e19b7e06d8a 1010s 1..1 1010s # Start of completion tests 1010s ok 1 /completion/test-completion 1010s # End of completion tests 1010s ok - glib/completion.test 1010s # Running test: glib/bookmarkfile.test 1010s TAP version 14 1010s # random seed: R02Se11614078a349b4901beab7e5607851f 1010s 1..96 1010s # Start of bookmarks tests 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/load-from-data-dirs/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/load-from-data-dirs/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/load-from-data-dirs/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/load-from-data-dirs/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/load-from-data-dirs/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/load-from-data-dirs/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/load-from-data-dirs/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/load-from-data-dirs/.dirs/runtime 1010s ok 1 /bookmarks/load-from-data-dirs 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/to-file/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/to-file/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/to-file/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/to-file/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/to-file/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/to-file/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/to-file/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/to-file/.dirs/runtime 1010s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_BU0412/bookmarkfile-test-HD0412.xbel 1010s # Roundtrip from a valid bookmark file 1010s ok 2 /bookmarks/to-file 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/move-item/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/move-item/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/move-item/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/move-item/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/move-item/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/move-item/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/move-item/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/move-item/.dirs/runtime 1010s ok 3 /bookmarks/move-item 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/corner-cases/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/corner-cases/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/corner-cases/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/corner-cases/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/corner-cases/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/corner-cases/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/corner-cases/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/corner-cases/.dirs/runtime 1010s ok 4 /bookmarks/corner-cases 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/misc/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/misc/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/misc/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/misc/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/misc/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/misc/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/misc/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/misc/.dirs/runtime 1010s ok 5 /bookmarks/misc 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/deprecated/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/deprecated/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/deprecated/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/deprecated/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/deprecated/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/deprecated/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/deprecated/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/deprecated/.dirs/runtime 1010s ok 6 /bookmarks/deprecated 1010s # Start of parse tests 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-34.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-34.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-34.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-34.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-34.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-34.xbel/.dirs/runtime 1010s ok 7 /bookmarks/parse/fail-34.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-33.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-33.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-33.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-33.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-33.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-33.xbel/.dirs/runtime 1010s ok 8 /bookmarks/parse/fail-33.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-03.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-03.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-03.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-03.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-03.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-03.xbel/.dirs/runtime 1010s ok 9 /bookmarks/parse/fail-03.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-21.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-21.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-21.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-21.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-21.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-21.xbel/.dirs/runtime 1010s ok 10 /bookmarks/parse/fail-21.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-22.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-22.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-22.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-22.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-22.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-22.xbel/.dirs/runtime 1010s ok 11 /bookmarks/parse/fail-22.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-36.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-36.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-36.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-36.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-36.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-36.xbel/.dirs/runtime 1010s ok 12 /bookmarks/parse/fail-36.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-38.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-38.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-38.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-38.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-38.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-38.xbel/.dirs/runtime 1010s ok 13 /bookmarks/parse/fail-38.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-25.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-25.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-25.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-25.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-25.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-25.xbel/.dirs/runtime 1010s ok 14 /bookmarks/parse/fail-25.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-14.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-14.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-14.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-14.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-14.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-14.xbel/.dirs/runtime 1010s ok 15 /bookmarks/parse/fail-14.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-19.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-19.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-19.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-19.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-19.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-19.xbel/.dirs/runtime 1010s ok 16 /bookmarks/parse/fail-19.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-26.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-26.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-26.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-26.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-26.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-26.xbel/.dirs/runtime 1010s ok 17 /bookmarks/parse/fail-26.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-10.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-10.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-10.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-10.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-10.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-10.xbel/.dirs/runtime 1010s ok 18 /bookmarks/parse/fail-10.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-06.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-06.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-06.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-06.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-06.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-06.xbel/.dirs/runtime 1010s ok 19 /bookmarks/parse/fail-06.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-16.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-16.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-16.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-16.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-16.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-16.xbel/.dirs/runtime 1010s ok 20 /bookmarks/parse/fail-16.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-12.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-12.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-12.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-12.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-12.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-12.xbel/.dirs/runtime 1010s ok 21 /bookmarks/parse/fail-12.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-23.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-23.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-23.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-23.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-23.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-23.xbel/.dirs/runtime 1010s ok 22 /bookmarks/parse/fail-23.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-11.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-11.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-11.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-11.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-11.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-11.xbel/.dirs/runtime 1010s ok 23 /bookmarks/parse/fail-11.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-04.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-04.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-04.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-04.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-04.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-04.xbel/.dirs/runtime 1010s ok 24 /bookmarks/parse/fail-04.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-01.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-01.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-01.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-01.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-01.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-01.xbel/.dirs/runtime 1010s ok 25 /bookmarks/parse/fail-01.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-09.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-09.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-09.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-09.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-09.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-09.xbel/.dirs/runtime 1010s ok 26 /bookmarks/parse/fail-09.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-02.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-02.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-02.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-02.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-02.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-02.xbel/.dirs/runtime 1010s ok 27 /bookmarks/parse/fail-02.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-07.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-07.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-07.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-07.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-07.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-07.xbel/.dirs/runtime 1010s ok 28 /bookmarks/parse/fail-07.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-30.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-30.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-30.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-30.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-30.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-30.xbel/.dirs/runtime 1010s ok 29 /bookmarks/parse/fail-30.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-37.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-37.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-37.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-37.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-37.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-37.xbel/.dirs/runtime 1010s ok 30 /bookmarks/parse/fail-37.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-31.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-31.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-31.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-31.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-31.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-31.xbel/.dirs/runtime 1010s ok 31 /bookmarks/parse/fail-31.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-02.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-02.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-02.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-02.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-02.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-02.xbel/.dirs/runtime 1010s ok 32 /bookmarks/parse/valid-02.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-01.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-01.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-01.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-01.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-01.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-01.xbel/.dirs/runtime 1010s ok 33 /bookmarks/parse/valid-01.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-18.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-18.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-18.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-18.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-18.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-18.xbel/.dirs/runtime 1010s ok 34 /bookmarks/parse/fail-18.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-40.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-40.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-40.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-40.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-40.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-40.xbel/.dirs/runtime 1010s ok 35 /bookmarks/parse/fail-40.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-27.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-27.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-27.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-27.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-27.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-27.xbel/.dirs/runtime 1010s ok 36 /bookmarks/parse/fail-27.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-24.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-24.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-24.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-24.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-24.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-24.xbel/.dirs/runtime 1010s ok 37 /bookmarks/parse/fail-24.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-29.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-29.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-29.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-29.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-29.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-29.xbel/.dirs/runtime 1010s ok 38 /bookmarks/parse/fail-29.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-32.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-32.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-32.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-32.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-32.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-32.xbel/.dirs/runtime 1010s ok 39 /bookmarks/parse/fail-32.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-03.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-03.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-03.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-03.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-03.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/valid-03.xbel/.dirs/runtime 1010s ok 40 /bookmarks/parse/valid-03.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-41.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-41.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-41.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-41.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-41.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-41.xbel/.dirs/runtime 1010s ok 41 /bookmarks/parse/fail-41.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-05.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-05.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-05.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-05.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-05.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-05.xbel/.dirs/runtime 1010s ok 42 /bookmarks/parse/fail-05.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-35.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-35.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-35.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-35.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-35.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-35.xbel/.dirs/runtime 1010s ok 43 /bookmarks/parse/fail-35.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-17.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-17.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-17.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-17.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-17.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-17.xbel/.dirs/runtime 1010s ok 44 /bookmarks/parse/fail-17.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-28.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-28.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-28.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-28.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-28.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-28.xbel/.dirs/runtime 1010s ok 45 /bookmarks/parse/fail-28.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-15.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-15.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-15.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-15.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-15.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-15.xbel/.dirs/runtime 1010s ok 46 /bookmarks/parse/fail-15.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-42.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-42.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-42.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-42.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-42.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-42.xbel/.dirs/runtime 1010s ok 47 /bookmarks/parse/fail-42.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-39.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-39.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-39.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-39.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-39.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-39.xbel/.dirs/runtime 1010s ok 48 /bookmarks/parse/fail-39.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-20.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-20.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-20.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-20.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-20.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-20.xbel/.dirs/runtime 1010s ok 49 /bookmarks/parse/fail-20.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-08.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-08.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-08.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-08.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-08.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-08.xbel/.dirs/runtime 1010s ok 50 /bookmarks/parse/fail-08.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-13.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-13.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-13.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-13.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-13.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/parse/fail-13.xbel/.dirs/runtime 1010s ok 51 /bookmarks/parse/fail-13.xbel 1010s # End of parse tests 1010s # Start of copy tests 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-34.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-34.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-34.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-34.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-34.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-34.xbel/.dirs/runtime 1010s ok 52 /bookmarks/copy/fail-34.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-33.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-33.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-33.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-33.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-33.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-33.xbel/.dirs/runtime 1010s ok 53 /bookmarks/copy/fail-33.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-03.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-03.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-03.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-03.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-03.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-03.xbel/.dirs/runtime 1010s ok 54 /bookmarks/copy/fail-03.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-21.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-21.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-21.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-21.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-21.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-21.xbel/.dirs/runtime 1010s ok 55 /bookmarks/copy/fail-21.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-22.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-22.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-22.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-22.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-22.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-22.xbel/.dirs/runtime 1010s ok 56 /bookmarks/copy/fail-22.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-36.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-36.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-36.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-36.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-36.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-36.xbel/.dirs/runtime 1010s ok 57 /bookmarks/copy/fail-36.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-38.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-38.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-38.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-38.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-38.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-38.xbel/.dirs/runtime 1010s ok 58 /bookmarks/copy/fail-38.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-25.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-25.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-25.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-25.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-25.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-25.xbel/.dirs/runtime 1010s ok 59 /bookmarks/copy/fail-25.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-14.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-14.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-14.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-14.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-14.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-14.xbel/.dirs/runtime 1010s ok 60 /bookmarks/copy/fail-14.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-19.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-19.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-19.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-19.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-19.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-19.xbel/.dirs/runtime 1010s ok 61 /bookmarks/copy/fail-19.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-26.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-26.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-26.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-26.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-26.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-26.xbel/.dirs/runtime 1010s ok 62 /bookmarks/copy/fail-26.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-10.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-10.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-10.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-10.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-10.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-10.xbel/.dirs/runtime 1010s ok 63 /bookmarks/copy/fail-10.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-06.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-06.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-06.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-06.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-06.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-06.xbel/.dirs/runtime 1010s ok 64 /bookmarks/copy/fail-06.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-16.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-16.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-16.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-16.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-16.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-16.xbel/.dirs/runtime 1010s ok 65 /bookmarks/copy/fail-16.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-12.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-12.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-12.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-12.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-12.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-12.xbel/.dirs/runtime 1010s ok 66 /bookmarks/copy/fail-12.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-23.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-23.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-23.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-23.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-23.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-23.xbel/.dirs/runtime 1010s ok 67 /bookmarks/copy/fail-23.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-11.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-11.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-11.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-11.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-11.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-11.xbel/.dirs/runtime 1010s ok 68 /bookmarks/copy/fail-11.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-04.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-04.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-04.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-04.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-04.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-04.xbel/.dirs/runtime 1010s ok 69 /bookmarks/copy/fail-04.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-01.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-01.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-01.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-01.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-01.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-01.xbel/.dirs/runtime 1010s ok 70 /bookmarks/copy/fail-01.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-09.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-09.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-09.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-09.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-09.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-09.xbel/.dirs/runtime 1010s ok 71 /bookmarks/copy/fail-09.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-02.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-02.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-02.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-02.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-02.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-02.xbel/.dirs/runtime 1010s ok 72 /bookmarks/copy/fail-02.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-07.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-07.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-07.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-07.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-07.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-07.xbel/.dirs/runtime 1010s ok 73 /bookmarks/copy/fail-07.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-30.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-30.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-30.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-30.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-30.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-30.xbel/.dirs/runtime 1010s ok 74 /bookmarks/copy/fail-30.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-37.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-37.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-37.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-37.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-37.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-37.xbel/.dirs/runtime 1010s ok 75 /bookmarks/copy/fail-37.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-31.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-31.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-31.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-31.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-31.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-31.xbel/.dirs/runtime 1010s ok 76 /bookmarks/copy/fail-31.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-02.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-02.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-02.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-02.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-02.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-02.xbel/.dirs/runtime 1010s ok 77 /bookmarks/copy/valid-02.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-01.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-01.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-01.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-01.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-01.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-01.xbel/.dirs/runtime 1010s ok 78 /bookmarks/copy/valid-01.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-18.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-18.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-18.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-18.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-18.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-18.xbel/.dirs/runtime 1010s ok 79 /bookmarks/copy/fail-18.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-40.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-40.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-40.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-40.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-40.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-40.xbel/.dirs/runtime 1010s ok 80 /bookmarks/copy/fail-40.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-27.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-27.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-27.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-27.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-27.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-27.xbel/.dirs/runtime 1010s ok 81 /bookmarks/copy/fail-27.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-24.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-24.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-24.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-24.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-24.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-24.xbel/.dirs/runtime 1010s ok 82 /bookmarks/copy/fail-24.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-29.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-29.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-29.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-29.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-29.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-29.xbel/.dirs/runtime 1010s ok 83 /bookmarks/copy/fail-29.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-32.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-32.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-32.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-32.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-32.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-32.xbel/.dirs/runtime 1010s ok 84 /bookmarks/copy/fail-32.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-03.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-03.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-03.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-03.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-03.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/valid-03.xbel/.dirs/runtime 1010s ok 85 /bookmarks/copy/valid-03.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-41.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-41.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-41.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-41.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-41.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-41.xbel/.dirs/runtime 1010s ok 86 /bookmarks/copy/fail-41.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-05.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-05.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-05.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-05.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-05.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-05.xbel/.dirs/runtime 1010s ok 87 /bookmarks/copy/fail-05.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-35.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-35.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-35.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-35.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-35.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-35.xbel/.dirs/runtime 1010s ok 88 /bookmarks/copy/fail-35.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-17.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-17.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-17.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-17.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-17.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-17.xbel/.dirs/runtime 1010s ok 89 /bookmarks/copy/fail-17.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-28.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-28.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-28.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-28.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-28.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-28.xbel/.dirs/runtime 1010s ok 90 /bookmarks/copy/fail-28.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-15.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-15.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-15.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-15.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-15.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-15.xbel/.dirs/runtime 1010s ok 91 /bookmarks/copy/fail-15.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-42.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-42.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-42.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-42.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-42.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-42.xbel/.dirs/runtime 1010s ok 92 /bookmarks/copy/fail-42.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-39.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-39.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-39.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-39.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-39.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-39.xbel/.dirs/runtime 1010s ok 93 /bookmarks/copy/fail-39.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-20.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-20.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-20.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-20.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-20.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-20.xbel/.dirs/runtime 1010s ok 94 /bookmarks/copy/fail-20.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-08.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-08.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-08.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-08.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-08.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-08.xbel/.dirs/runtime 1010s ok 95 /bookmarks/copy/fail-08.xbel 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-13.xbel/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-13.xbel/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-13.xbel/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-13.xbel/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-13.xbel/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BU0412/bookmarks/copy/fail-13.xbel/.dirs/runtime 1010s ok 96 /bookmarks/copy/fail-13.xbel 1010s # End of copy tests 1010s # End of bookmarks tests 1010s ok - glib/bookmarkfile.test 1010s # Running test: glib/custom-dispatch.test 1010s TAP version 14 1010s # random seed: R02S80753bf94e7edc042b0404d212119603 1010s 1..2 1010s # Start of properties tests 1010s # Start of custom-dispatch tests 1010s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1010s ok 1 /properties/custom-dispatch/init 1010s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1010s ok 2 /properties/custom-dispatch/set 1010s # End of custom-dispatch tests 1010s # End of properties tests 1010s ok - glib/custom-dispatch.test 1010s # Running test: glib/mutex.test 1010s TAP version 14 1010s # random seed: R02S38f300fa1190197b1f797c34d6e97862 1010s 1..17 1010s # Start of thread tests 1010s ok 1 /thread/mutex1 1010s ok 2 /thread/mutex2 1010s ok 3 /thread/mutex3 1010s ok 4 /thread/mutex4 1012s # Executing: glib/mutex.test 1013s ok 5 /thread/mutex5 1013s # slow test /thread/mutex5 executed in 2.87 secs 1013s # Start of mutex tests 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1014s ok 6 /thread/mutex/errno 1014s # Start of perf tests 1014s # max perf: inf mips 1014s ok 7 /thread/mutex/perf/uncontended 1014s # Start of contended tests 1014s # max perf: inf mips 1014s ok 8 /thread/mutex/perf/contended/1 1014s # max perf: inf mips 1014s ok 9 /thread/mutex/perf/contended/2 1014s # max perf: 2.000000 mips 1014s ok 10 /thread/mutex/perf/contended/3 1014s # max perf: 5.000000 mips 1014s ok 11 /thread/mutex/perf/contended/4 1014s # max perf: 6.000000 mips 1014s ok 12 /thread/mutex/perf/contended/5 1014s # max perf: 7.000000 mips 1014s ok 13 /thread/mutex/perf/contended/6 1014s # max perf: 8.000000 mips 1014s ok 14 /thread/mutex/perf/contended/7 1014s # max perf: 4.500000 mips 1014s ok 15 /thread/mutex/perf/contended/8 1014s # max perf: 10.000000 mips 1014s ok 16 /thread/mutex/perf/contended/9 1014s # max perf: 11.000000 mips 1014s ok 17 /thread/mutex/perf/contended/10 1014s # End of contended tests 1014s # End of perf tests 1014s # End of mutex tests 1014s # End of thread tests 1014s ok - glib/mutex.test 1014s # Running test: glib/converter.test 1014s TAP version 14 1014s # random seed: R02S6945ed359db2fe78804473e8dee16ecc 1014s 1..2 1014s # Start of converter tests 1014s ok 1 /converter/bytes 1014s ok 2 /converter/extra-bytes-at-end 1014s # End of converter tests 1014s ok - glib/converter.test 1014s # Running test: glib/strvbuilder.test 1014s TAP version 14 1014s # random seed: R02Sf057a5a52d63251dd261550b1981b6a3 1014s 1..7 1014s # Start of strvbuilder tests 1014s ok 1 /strvbuilder/empty 1014s ok 2 /strvbuilder/add 1014s ok 3 /strvbuilder/addv 1014s ok 4 /strvbuilder/add_many 1014s ok 5 /strvbuilder/take 1014s ok 6 /strvbuilder/ref 1014s ok 7 /strvbuilder/unref_to_strv 1014s # End of strvbuilder tests 1014s ok - glib/strvbuilder.test 1014s # Running test: glib/markup-parse.test 1014s TAP version 14 1014s # random seed: R02Sa852e431333928c0381d1296ac32d03d 1014s 1..71 1014s # Start of markup tests 1014s # Start of parse tests 1014s ok 1 /markup/parse/valid-5.gmarkup 1014s ok 2 /markup/parse/fail-3.gmarkup 1014s ok 3 /markup/parse/valid-11.gmarkup 1014s ok 4 /markup/parse/fail-52.gmarkup 1014s ok 5 /markup/parse/fail-30.gmarkup 1014s ok 6 /markup/parse/fail-5.gmarkup 1014s ok 7 /markup/parse/fail-41.gmarkup 1014s ok 8 /markup/parse/fail-13.gmarkup 1014s ok 9 /markup/parse/fail-31.gmarkup 1014s ok 10 /markup/parse/valid-6.gmarkup 1014s ok 11 /markup/parse/valid-9.gmarkup 1014s ok 12 /markup/parse/fail-54.gmarkup 1014s ok 13 /markup/parse/fail-47.gmarkup 1014s ok 14 /markup/parse/fail-45.gmarkup 1014s ok 15 /markup/parse/fail-50.gmarkup 1014s ok 16 /markup/parse/fail-2.gmarkup 1014s ok 17 /markup/parse/fail-7.gmarkup 1014s ok 18 /markup/parse/fail-21.gmarkup 1014s ok 19 /markup/parse/fail-35.gmarkup 1014s ok 20 /markup/parse/fail-16.gmarkup 1014s ok 21 /markup/parse/fail-33.gmarkup 1014s ok 22 /markup/parse/fail-39.gmarkup 1014s ok 23 /markup/parse/fail-6.gmarkup 1014s ok 24 /markup/parse/fail-11.gmarkup 1014s ok 25 /markup/parse/fail-44.gmarkup 1014s ok 26 /markup/parse/valid-8.gmarkup 1014s ok 27 /markup/parse/fail-24.gmarkup 1014s ok 28 /markup/parse/fail-40.gmarkup 1014s ok 29 /markup/parse/valid-2.gmarkup 1014s ok 30 /markup/parse/fail-37.gmarkup 1014s ok 31 /markup/parse/fail-8.gmarkup 1014s ok 32 /markup/parse/valid-12.gmarkup 1014s ok 33 /markup/parse/fail-42.gmarkup 1014s ok 34 /markup/parse/fail-36.gmarkup 1014s ok 35 /markup/parse/valid-10.gmarkup 1014s ok 36 /markup/parse/valid-1.gmarkup 1014s ok 37 /markup/parse/valid-16.gmarkup 1014s ok 38 /markup/parse/fail-9.gmarkup 1014s ok 39 /markup/parse/fail-43.gmarkup 1014s ok 40 /markup/parse/valid-3.gmarkup 1014s ok 41 /markup/parse/fail-46.gmarkup 1014s ok 42 /markup/parse/fail-14.gmarkup 1014s ok 43 /markup/parse/fail-23.gmarkup 1014s ok 44 /markup/parse/fail-18.gmarkup 1014s ok 45 /markup/parse/fail-53.gmarkup 1014s ok 46 /markup/parse/valid-14.gmarkup 1014s ok 47 /markup/parse/fail-12.gmarkup 1014s ok 48 /markup/parse/fail-38.gmarkup 1014s ok 49 /markup/parse/fail-19.gmarkup 1014s ok 50 /markup/parse/fail-28.gmarkup 1014s ok 51 /markup/parse/fail-32.gmarkup 1014s ok 52 /markup/parse/fail-4.gmarkup 1014s ok 53 /markup/parse/fail-15.gmarkup 1014s ok 54 /markup/parse/fail-27.gmarkup 1014s ok 55 /markup/parse/valid-17.gmarkup 1014s ok 56 /markup/parse/fail-25.gmarkup 1014s ok 57 /markup/parse/fail-51.gmarkup 1014s ok 58 /markup/parse/valid-13.gmarkup 1014s ok 59 /markup/parse/fail-26.gmarkup 1014s ok 60 /markup/parse/fail-17.gmarkup 1014s ok 61 /markup/parse/valid-7.gmarkup 1014s ok 62 /markup/parse/fail-22.gmarkup 1014s ok 63 /markup/parse/valid-4.gmarkup 1014s ok 64 /markup/parse/fail-10.gmarkup 1014s ok 65 /markup/parse/fail-29.gmarkup 1014s ok 66 /markup/parse/fail-48.gmarkup 1014s ok 67 /markup/parse/valid-15.gmarkup 1014s ok 68 /markup/parse/fail-49.gmarkup 1014s ok 69 /markup/parse/fail-34.gmarkup 1014s ok 70 /markup/parse/fail-1.gmarkup 1014s ok 71 /markup/parse/fail-20.gmarkup 1014s # End of parse tests 1014s # End of markup tests 1014s ok - glib/markup-parse.test 1014s # Running test: glib/g-file-info-filesystem-readonly.test 1014s TAP version 14 1014s # random seed: R02Scdee38bfda078ad50160e8f9820fc6d3 1014s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1014s 1..2 1014s # Start of g-file-info-filesystem-readonly tests 1014s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1014s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1014s # End of g-file-info-filesystem-readonly tests 1014s ok - glib/g-file-info-filesystem-readonly.test 1014s # Running test: glib/cxx-03.test 1014s TAP version 14 1014s # random seed: R02S153929121eaa680bb0e777073721cd2b 1014s 1..2 1014s # Start of gtask tests 1014s # 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. 1014s ok 1 /gtask/name 1014s # Start of name tests 1014s # 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. 1014s ok 2 /gtask/name/macro-wrapper 1014s # End of name tests 1014s # End of gtask tests 1014s ok - glib/cxx-03.test 1014s # Running test: glib/volumemonitor.test 1014s TAP version 14 1014s # random seed: R02S20708f81e68a28e5e097936cb502c0b8 1014s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1014s 1..3 1014s # Start of volumemonitor tests 1014s ok 1 /volumemonitor/connected_drives 1014s ok 2 /volumemonitor/volumes 1014s ok 3 /volumemonitor/mounts 1014s # End of volumemonitor tests 1014s ok - glib/volumemonitor.test 1014s # Running test: glib/spawn-test.test 1014s TAP version 14 1014s # random seed: R02S139041ab0fbd55c00901d45db1b5ed93 1014s 1..2 1014s # Start of spawn tests 1014s ok 1 /spawn/basics 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1014s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1014s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1014s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1014s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1014s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1014s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1014s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1014s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1014s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1014s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1014s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1014s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1014s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1014s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1014s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1014s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1014s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1014s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1014s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1014s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1014s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1014s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1014s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1014s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1014s # Fetching GSpawn result with stdin open, stdout open, stderr open 1014s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1014s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1014s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1014s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1014s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1014s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1014s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1014s ok 2 /spawn/stdio-overwrite 1014s # End of spawn tests 1014s ok - glib/spawn-test.test 1014s # Running test: glib/static-link.test 1014s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1014s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1014s and make sure you have glib build dependencies installed, including 1014s meson. 1014s ok # SKIP - glib/static-link.test 1014s # Running test: glib/timer.test 1014s TAP version 14 1014s # random seed: R02S3f9d38c04e18b67432662f1aabb9d7de 1014s 1..10 1014s # Start of timer tests 1014s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1014s ok 2 /timer/stop 1014s ok 3 /timer/continue 1014s ok 4 /timer/reset 1014s ok 5 /timer/is_active 1014s # End of timer tests 1014s # Start of timeval tests 1014s ok 6 /timeval/add 1014s ok 7 /timeval/from-iso8601 1014s ok 8 /timeval/to-iso8601 1014s # Start of to-iso8601 tests 1014s ok 9 /timeval/to-iso8601/overflow 1014s # End of to-iso8601 tests 1014s # End of timeval tests 1014s # Start of usleep tests 1014s ok 10 /usleep/with-zero-wait 1014s # End of usleep tests 1014s ok - glib/timer.test 1014s # Running test: glib/gdbus-exit-on-close.test 1014s TAP version 14 1014s # random seed: R02S2e5ca2ab31c37fa7c89ddbd0752c80d0 1014s 1..4 1014s # Start of gdbus tests 1014s # Start of exit-on-close tests 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/default/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/default/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/default/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/default/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/default/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/default/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/default/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/default/.dirs/runtime 1014s ok 1 /gdbus/exit-on-close/default 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/true/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/true/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/true/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/true/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/true/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/true/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/true/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/true/.dirs/runtime 1014s ok 2 /gdbus/exit-on-close/true 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/false/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/false/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/false/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/false/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/false/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/false/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/false/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/false/.dirs/runtime 1014s ok 3 /gdbus/exit-on-close/false 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/we-close/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/we-close/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/we-close/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/we-close/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/we-close/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/we-close/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/we-close/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_HHPC22/gdbus/exit-on-close/we-close/.dirs/runtime 1014s ok 4 /gdbus/exit-on-close/we-close 1014s # Start of default tests 1014s # End of default tests 1014s # Start of true tests 1014s # End of true tests 1014s # Start of false tests 1014s # End of false tests 1014s # Start of we-close tests 1014s # End of we-close tests 1014s # End of exit-on-close tests 1014s # End of gdbus tests 1014s ok - glib/gdbus-exit-on-close.test 1014s # Running test: glib/macros-c-17.test 1014s TAP version 14 1014s # random seed: R02Se791c6bea3a15b96fbf6dca6d2107587 1014s 1..4 1014s # Start of C tests 1014s ok 1 /C/standard-17 1014s # End of C tests 1014s # Start of alignof tests 1014s ok 2 /alignof/fallback 1014s # End of alignof tests 1014s # Start of assert tests 1014s ok 3 /assert/static 1014s # End of assert tests 1014s # Start of struct tests 1014s ok 4 /struct/sizeof_member 1014s # End of struct tests 1014s ok - glib/macros-c-17.test 1014s # Running test: glib/deftype.test 1014s ok - glib/deftype.test 1014s # Running test: glib/gdbus-connection-slow.test 1014s TAP version 14 1014s # random seed: R02S5c798b5a9616cf6f706560e7b9cc03d6 1014s 1..2 1014s # Start of gdbus tests 1014s # Start of connection tests 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_Q7RJ22/gdbus/connection/flush/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_Q7RJ22/gdbus/connection/flush/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_Q7RJ22/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_Q7RJ22/gdbus/connection/flush/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_Q7RJ22/gdbus/connection/flush/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_Q7RJ22/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_Q7RJ22/gdbus/connection/flush/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_Q7RJ22/gdbus/connection/flush/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_Q7RJ22/gdbus/connection/flush/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_Q7RJ22/gdbus/connection/flush/.dirs/runtime 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s ok 1 /gdbus/connection/flush 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_Q7RJ22/gdbus/connection/large_message/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_Q7RJ22/gdbus/connection/large_message/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_Q7RJ22/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_Q7RJ22/gdbus/connection/large_message/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_Q7RJ22/gdbus/connection/large_message/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_Q7RJ22/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_Q7RJ22/gdbus/connection/large_message/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_Q7RJ22/gdbus/connection/large_message/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_Q7RJ22/gdbus/connection/large_message/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_Q7RJ22/gdbus/connection/large_message/.dirs/runtime 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s ok 2 /gdbus/connection/large_message 1014s # End of connection tests 1014s # End of gdbus tests 1014s ok - glib/gdbus-connection-slow.test 1014s # Running test: glib/markup.test 1014s TAP version 14 1014s # random seed: R02S76fd318c306990f4ca2f3d11f131fe0e 1014s 1..1 1014s # Start of markup tests 1014s ok 1 /markup/stack 1014s # End of markup tests 1014s ok - glib/markup.test 1014s # Running test: glib/timeout.test 1014s TAP version 14 1014s # random seed: R02Sb34f8730faf7d999e19638dde948bef9 1014s 1..5 1014s # Start of timeout tests 1014s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1016s ok 1 /timeout/seconds 1016s # slow test /timeout/seconds executed in 2.10 secs 1017s # Executing: glib/timeout.test 1019s ok 2 /timeout/seconds-once 1019s # slow test /timeout/seconds-once executed in 2.10 secs 1019s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1021s ok 3 /timeout/weeks-overflow 1021s # slow test /timeout/weeks-overflow executed in 2.10 secs 1021s ok 4 /timeout/far-future-ready-time 1022s # Executing: glib/timeout.test 1027s # Executing: glib/timeout.test 1031s ok 5 /timeout/rounding 1031s # slow test /timeout/rounding executed in 9.95 secs 1031s # End of timeout tests 1031s ok - glib/timeout.test 1031s # Running test: glib/overflow.test 1031s TAP version 14 1031s # random seed: R02S5518c42bd3cd0904ade1544931298bdc 1031s 1..6 1031s # Start of glib tests 1031s # Start of checked-math tests 1031s ok 1 /glib/checked-math/guint-add 1031s ok 2 /glib/checked-math/guint-mul 1031s ok 3 /glib/checked-math/guint64-add 1031s ok 4 /glib/checked-math/guint64-mul 1031s ok 5 /glib/checked-math/gsize-add 1031s ok 6 /glib/checked-math/gsize-mul 1031s # End of checked-math tests 1031s # End of glib tests 1031s ok - glib/overflow.test 1031s # Running test: glib/asyncqueue.test 1031s TAP version 14 1031s # random seed: R02Sbf01f156dffdd7af29a450c845219456 1031s 1..7 1031s # Start of asyncqueue tests 1031s ok 1 /asyncqueue/basics 1031s ok 2 /asyncqueue/sort 1031s ok 3 /asyncqueue/destroy 1031s ok 4 /asyncqueue/threads 1031s ok 5 /asyncqueue/timed 1031s ok 6 /asyncqueue/remove 1031s ok 7 /asyncqueue/push_front 1031s # End of asyncqueue tests 1031s ok - glib/asyncqueue.test 1031s # Running test: glib/tls-interaction.test 1031s TAP version 14 1031s # random seed: R02S93c4e2db8959176e530293db003c3dbd 1031s 1..42 1031s # Start of tls-interaction tests 1031s # Start of ask-password tests 1031s # Start of invoke-with-loop tests 1031s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1031s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1031s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1031s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1031s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1031s # End of invoke-with-loop tests 1031s # Start of invoke-without-loop tests 1031s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1031s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1031s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1031s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1031s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1031s # End of invoke-without-loop tests 1031s # Start of invoke-in-loop tests 1031s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1031s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1031s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1031s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1031s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1031s # End of invoke-in-loop tests 1031s # Start of sync tests 1031s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1031s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1031s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1031s # End of sync tests 1031s # Start of async tests 1031s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1031s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1031s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1031s # End of async tests 1031s # End of ask-password tests 1031s # Start of request-certificate tests 1031s # Start of invoke-with-loop tests 1031s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1031s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1031s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1031s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1031s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1031s # End of invoke-with-loop tests 1031s # Start of invoke-without-loop tests 1031s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1031s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1031s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1031s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1031s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1031s # End of invoke-without-loop tests 1031s # Start of invoke-in-loop tests 1031s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1031s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1031s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1031s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1031s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1031s # End of invoke-in-loop tests 1031s # Start of sync tests 1031s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1031s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1031s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1031s # End of sync tests 1031s # Start of async tests 1031s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1031s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1031s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1031s # End of async tests 1031s # End of request-certificate tests 1031s # End of tls-interaction tests 1031s ok - glib/tls-interaction.test 1031s # Running test: glib/function-info.test 1031s TAP version 14 1031s # random seed: R02S39fb739aff5d93f7ca55aa35cdc74af2 1031s 1..1 1031s # Start of function-info tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_W7DL22/function-info/invoker/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_W7DL22/function-info/invoker/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_W7DL22/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_W7DL22/function-info/invoker/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_W7DL22/function-info/invoker/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_W7DL22/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_W7DL22/function-info/invoker/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_W7DL22/function-info/invoker/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_W7DL22/function-info/invoker/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_W7DL22/function-info/invoker/.dirs/runtime 1031s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1031s # /function-info/invoker summary: Test preparing a function invoker 1031s ok 1 /function-info/invoker 1031s # End of function-info tests 1031s ok - glib/function-info.test 1031s # Running test: glib/portal-support-snap.test 1031s TAP version 14 1031s # random seed: R02S8613e6c6801f073c9b6ac899f25e0496 1031s 1..7 1031s # Start of portal-support tests 1031s # Start of snap tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/no-snapctl/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/no-snapctl/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_ENBL22/portal-support/snap/no-snapctl/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/no-snapctl/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_ENBL22/portal-support/snap/no-snapctl/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/no-snapctl/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/no-snapctl/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/no-snapctl/.dirs/runtime 1031s # Created snap.yaml in /tmp/test_portal-support-snap_ENBL22/meta/snap.yaml 1031s Unable to clean up temporary directory /tmp/test_portal-support-snap_ENBL22/portal-support/snap/no-snapctl: No such file or directory 1031s ok 1 /portal-support/snap/no-snapctl 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/none/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/none/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_ENBL22/portal-support/snap/none/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/none/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_ENBL22/portal-support/snap/none/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/none/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/none/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/none/.dirs/runtime 1031s # Created snap.yaml in /tmp/test_portal-support-snap_ENBL22/meta/snap.yaml 1031s # Created snapctl in /tmp/test_portal-support-snap_ENBL22/portal-support/snap/none/.dirs/runtime/snapctl 1031s Unable to clean up temporary directory /tmp/test_portal-support-snap_ENBL22/portal-support/snap/none: No such file or directory 1031s ok 2 /portal-support/snap/none 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/all/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/all/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_ENBL22/portal-support/snap/all/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/all/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_ENBL22/portal-support/snap/all/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/all/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/all/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/all/.dirs/runtime 1031s # Created snap.yaml in /tmp/test_portal-support-snap_ENBL22/meta/snap.yaml 1031s # Created snapctl in /tmp/test_portal-support-snap_ENBL22/portal-support/snap/all/.dirs/runtime/snapctl 1031s Unable to clean up temporary directory /tmp/test_portal-support-snap_ENBL22/portal-support/snap/all: No such file or directory 1031s ok 3 /portal-support/snap/all 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/desktop-only/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/desktop-only/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_ENBL22/portal-support/snap/desktop-only/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/desktop-only/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_ENBL22/portal-support/snap/desktop-only/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/desktop-only/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/desktop-only/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/desktop-only/.dirs/runtime 1031s # Created snap.yaml in /tmp/test_portal-support-snap_ENBL22/meta/snap.yaml 1031s # Created snapctl in /tmp/test_portal-support-snap_ENBL22/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1031s Unable to clean up temporary directory /tmp/test_portal-support-snap_ENBL22/portal-support/snap/desktop-only: No such file or directory 1031s ok 4 /portal-support/snap/desktop-only 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/network-only/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/network-only/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_ENBL22/portal-support/snap/network-only/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/network-only/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_ENBL22/portal-support/snap/network-only/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/network-only/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/network-only/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/network-only/.dirs/runtime 1031s # Created snap.yaml in /tmp/test_portal-support-snap_ENBL22/meta/snap.yaml 1031s # Created snapctl in /tmp/test_portal-support-snap_ENBL22/portal-support/snap/network-only/.dirs/runtime/snapctl 1031s Unable to clean up temporary directory /tmp/test_portal-support-snap_ENBL22/portal-support/snap/network-only: No such file or directory 1031s ok 5 /portal-support/snap/network-only 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/gsettings-only/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/gsettings-only/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_ENBL22/portal-support/snap/gsettings-only/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/gsettings-only/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_ENBL22/portal-support/snap/gsettings-only/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/gsettings-only/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/gsettings-only/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/gsettings-only/.dirs/runtime 1031s # Created snap.yaml in /tmp/test_portal-support-snap_ENBL22/meta/snap.yaml 1031s # Created snapctl in /tmp/test_portal-support-snap_ENBL22/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1031s Unable to clean up temporary directory /tmp/test_portal-support-snap_ENBL22/portal-support/snap/gsettings-only: No such file or directory 1031s ok 6 /portal-support/snap/gsettings-only 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/updates-dynamically/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/updates-dynamically/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_ENBL22/portal-support/snap/updates-dynamically/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/updates-dynamically/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_ENBL22/portal-support/snap/updates-dynamically/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/updates-dynamically/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/updates-dynamically/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_ENBL22/portal-support/snap/updates-dynamically/.dirs/runtime 1031s # Created snap.yaml in /tmp/test_portal-support-snap_ENBL22/meta/snap.yaml 1031s # Created snapctl in /tmp/test_portal-support-snap_ENBL22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1031s # Created snapctl in /tmp/test_portal-support-snap_ENBL22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1031s # Created snapctl in /tmp/test_portal-support-snap_ENBL22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1031s # Created snapctl in /tmp/test_portal-support-snap_ENBL22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1031s # Created snapctl in /tmp/test_portal-support-snap_ENBL22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1031s # Created snapctl in /tmp/test_portal-support-snap_ENBL22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1031s # Created snapctl in /tmp/test_portal-support-snap_ENBL22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1031s Unable to clean up temporary directory /tmp/test_portal-support-snap_ENBL22/portal-support/snap/updates-dynamically: No such file or directory 1031s ok 7 /portal-support/snap/updates-dynamically 1031s # End of snap tests 1031s # End of portal-support tests 1031s Unable to clean up temporary directory /tmp/test_portal-support-snap_ENBL22: No such file or directory 1031s ok - glib/portal-support-snap.test 1031s # Running test: glib/giomodule.test 1031s TAP version 14 1031s # random seed: R02S70adc11643697b48b4cbd2afe868609a 1031s 1..3 1031s # Start of giomodule tests 1031s ok 1 /giomodule/extension-point 1031s ok 2 /giomodule/module-scan-all 1031s ok 3 /giomodule/module-scan-all-with-scope 1031s # End of giomodule tests 1031s ok - glib/giomodule.test 1031s # Running test: glib/thread.test 1031s TAP version 14 1031s # random seed: R02Sbe170b27fb6eb387870f1d8bddc5fc47 1031s 1..7 1031s # Start of thread tests 1031s ok 1 /thread/thread1 1031s ok 2 /thread/thread2 1031s ok 3 /thread/thread3 1031s ok 4 /thread/thread4 1031s ok 5 /thread/thread5 1031s ok 6 /thread/thread6 1031s ok 7 /thread/thread7 1031s # End of thread tests 1031s ok - glib/thread.test 1031s # Running test: glib/cxx-11.test 1031s TAP version 14 1031s # random seed: R02S5b121c8e32373c09341b49e51ebba5a8 1031s 1..2 1031s # Start of gtask tests 1031s # 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. 1031s ok 1 /gtask/name 1031s # Start of name tests 1031s # 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. 1031s ok 2 /gtask/name/macro-wrapper 1031s # End of name tests 1031s # End of gtask tests 1031s ok - glib/cxx-11.test 1031s # Running test: glib/cxx-14.test 1031s TAP version 14 1031s # random seed: R02S1b81bc935bedef2812d5eac4e06b6e43 1031s 1..2 1031s # Start of gtask tests 1031s # 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. 1031s ok 1 /gtask/name 1031s # Start of name tests 1031s # 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. 1031s ok 2 /gtask/name/macro-wrapper 1031s # End of name tests 1031s # End of gtask tests 1031s ok - glib/cxx-14.test 1031s # Running test: glib/gdbus-connection-loss.test 1031s TAP version 14 1031s # random seed: R02S8814302b59ed48cc0da976bfc5897d46 1031s 1..1 1031s # Start of gdbus tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_1EIL22/gdbus/connection-loss/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_1EIL22/gdbus/connection-loss/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_1EIL22/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_1EIL22/gdbus/connection-loss/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_1EIL22/gdbus/connection-loss/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_1EIL22/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_1EIL22/gdbus/connection-loss/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_1EIL22/gdbus/connection-loss/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_1EIL22/gdbus/connection-loss/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_1EIL22/gdbus/connection-loss/.dirs/runtime 1031s ok 1 /gdbus/connection-loss 1031s # End of gdbus tests 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok - glib/gdbus-connection-loss.test 1031s # Running test: glib/mapping.test 1031s TAP version 14 1031s # random seed: R02S680df460f8c994d6f39cfab8e8c2141d 1031s 1..3 1031s # Start of mapping tests 1031s # test_mapping: ok 1031s ok 1 /mapping/flags 1031s ok 2 /mapping/private 1031s # test_child_private: child spawned 1031s # Subtest: /usr/libexec/installed-tests/glib/mapping 1031s # random seed: R02S6c6256b4e6d058b22c45ee6cb833d017 1031s # test_child_private: received first child signal 1031s # test_child_private: received parent signal 1031s # Child exited with status 0 1031s # test_child_private: received second child signal 1031s ok 3 /mapping/private-child 1031s # End of mapping tests 1031s ok - glib/mapping.test 1031s # Running test: glib/slice.test 1031s TAP version 14 1031s # random seed: R02S811bf3608ce6acd8ba1d0c9503804b71 1031s 1..3 1031s # Start of slice tests 1031s ok 1 /slice/copy 1031s ok 2 /slice/chain 1031s ok 3 /slice/allocate 1031s # End of slice tests 1031s ok - glib/slice.test 1031s # Running test: glib/gthash.test 1031s TAP version 14 1031s # random seed: R02S225045e29340bf7ca20f3f5d721b05fb 1031s 1..1 1031s # Start of gthash tests 1031s ok 1 /gthash/build-retrieve 1031s # End of gthash tests 1031s ok - glib/gthash.test 1031s # Running test: glib/portal-support-flatpak-network-only.test 1031s TAP version 14 1031s # random seed: R02Sd0d79da856d5c161236f1a261dd9ce6b 1031s 1..1 1031s # Start of portal-support tests 1031s # Start of flatpak tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_PL8312/portal-support/flatpak/network/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_PL8312/portal-support/flatpak/network/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_PL8312/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_PL8312/portal-support/flatpak/network/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_PL8312/portal-support/flatpak/network/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_PL8312/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_PL8312/portal-support/flatpak/network/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_PL8312/portal-support/flatpak/network/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_PL8312/portal-support/flatpak/network/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_PL8312/portal-support/flatpak/network/.dirs/runtime 1031s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_PL8312/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1031s ok 1 /portal-support/flatpak/network 1031s # End of flatpak tests 1031s # End of portal-support tests 1031s ok - glib/portal-support-flatpak-network-only.test 1031s # Running test: glib/portal-support-flatpak-none.test 1031s TAP version 14 1031s # random seed: R02Sca4e4a851bcd6b52f51f427b226ead10 1031s 1..1 1031s # Start of portal-support tests 1031s # Start of flatpak tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_L75312/portal-support/flatpak/none/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_L75312/portal-support/flatpak/none/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_L75312/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_L75312/portal-support/flatpak/none/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_L75312/portal-support/flatpak/none/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_L75312/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_L75312/portal-support/flatpak/none/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_L75312/portal-support/flatpak/none/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_L75312/portal-support/flatpak/none/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_L75312/portal-support/flatpak/none/.dirs/runtime 1031s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_L75312/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1031s ok 1 /portal-support/flatpak/none 1031s # End of flatpak tests 1031s # End of portal-support tests 1031s ok - glib/portal-support-flatpak-none.test 1031s # Running test: glib/network-monitor.test 1031s TAP version 14 1031s # random seed: R02Sc18f5e88ea7564792722bddabd0d52e3 1031s 1..4 1031s # Start of network-monitor tests 1031s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1031s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1031s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1031s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1031s ok 1 /network-monitor/default 1031s ok 2 /network-monitor/remove_default 1031s ok 3 /network-monitor/add_networks 1031s ok 4 /network-monitor/remove_networks 1031s # End of network-monitor tests 1031s ok - glib/network-monitor.test 1031s # Running test: glib/resolver-parsing.test 1031s TAP version 14 1031s # random seed: R02S37c05f5408f6f2b46aeb7e038a98e6a2 1031s 1..21 1031s # Start of gresolver tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/invalid-header/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/invalid-header/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/invalid-header/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/invalid-header/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/invalid-header/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/invalid-header/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/invalid-header/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/invalid-header/.dirs/runtime 1031s ok 1 /gresolver/invalid-header 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/record-ownership/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/record-ownership/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/record-ownership/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/record-ownership/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/record-ownership/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/record-ownership/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/record-ownership/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/record-ownership/.dirs/runtime 1031s ok 2 /gresolver/record-ownership 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/unknown-record-type/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/unknown-record-type/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/unknown-record-type/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/unknown-record-type/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/unknown-record-type/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/unknown-record-type/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/unknown-record-type/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/unknown-record-type/.dirs/runtime 1031s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1031s ok 3 /gresolver/unknown-record-type 1031s # Start of mx tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/mx/valid/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/mx/valid/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/mx/valid/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/mx/valid/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/mx/valid/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/mx/valid/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/mx/valid/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/mx/valid/.dirs/runtime 1031s ok 4 /gresolver/mx/valid 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/.dirs/runtime 1031s ok 5 /gresolver/mx/invalid 1031s # Start of invalid tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/too-short/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/too-short/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/too-short/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/too-short/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/too-short/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/too-short/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/too-short/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/too-short/.dirs/runtime 1031s ok 6 /gresolver/mx/invalid/too-short 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/too-short2/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/too-short2/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/too-short2/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/too-short2/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/too-short2/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/too-short2/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/too-short2/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/mx/invalid/too-short2/.dirs/runtime 1031s ok 7 /gresolver/mx/invalid/too-short2 1031s # End of invalid tests 1031s # End of mx tests 1031s # Start of ns tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/ns/valid/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/ns/valid/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/ns/valid/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/ns/valid/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/ns/valid/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/ns/valid/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/ns/valid/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/ns/valid/.dirs/runtime 1031s ok 8 /gresolver/ns/valid 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/ns/invalid/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/ns/invalid/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/ns/invalid/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/ns/invalid/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/ns/invalid/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/ns/invalid/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/ns/invalid/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/ns/invalid/.dirs/runtime 1031s ok 9 /gresolver/ns/invalid 1031s # End of ns tests 1031s # Start of soa tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/soa/valid/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/soa/valid/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/soa/valid/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/soa/valid/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/soa/valid/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/soa/valid/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/soa/valid/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/soa/valid/.dirs/runtime 1031s ok 10 /gresolver/soa/valid 1031s # Start of invalid tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/mname/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/mname/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/mname/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/mname/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/mname/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/mname/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/mname/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/mname/.dirs/runtime 1031s ok 11 /gresolver/soa/invalid/mname 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/rname/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/rname/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/rname/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/rname/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/rname/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/rname/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/rname/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/rname/.dirs/runtime 1031s ok 12 /gresolver/soa/invalid/rname 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/too-short/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/too-short/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/too-short/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/too-short/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/too-short/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/too-short/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/too-short/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/soa/invalid/too-short/.dirs/runtime 1031s ok 13 /gresolver/soa/invalid/too-short 1031s # End of invalid tests 1031s # End of soa tests 1031s # Start of srv tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/srv/valid/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/srv/valid/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/srv/valid/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/srv/valid/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/srv/valid/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/srv/valid/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/srv/valid/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/srv/valid/.dirs/runtime 1031s ok 14 /gresolver/srv/valid 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/.dirs/runtime 1031s ok 15 /gresolver/srv/invalid 1031s # Start of invalid tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/too-short/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/too-short/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/too-short/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/too-short/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/too-short/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/too-short/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/too-short/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/too-short/.dirs/runtime 1031s ok 16 /gresolver/srv/invalid/too-short 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/too-short2/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/too-short2/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/too-short2/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/too-short2/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/too-short2/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/too-short2/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/too-short2/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/srv/invalid/too-short2/.dirs/runtime 1031s ok 17 /gresolver/srv/invalid/too-short2 1031s # End of invalid tests 1031s # End of srv tests 1031s # Start of txt tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/txt/valid/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/txt/valid/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/txt/valid/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/txt/valid/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/txt/valid/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/txt/valid/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/txt/valid/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/txt/valid/.dirs/runtime 1031s ok 18 /gresolver/txt/valid 1031s # Start of valid tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/txt/valid/multiple-strings/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/txt/valid/multiple-strings/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/txt/valid/multiple-strings/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/txt/valid/multiple-strings/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/txt/valid/multiple-strings/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/txt/valid/multiple-strings/.dirs/runtime 1031s ok 19 /gresolver/txt/valid/multiple-strings 1031s # End of valid tests 1031s # Start of invalid tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/txt/invalid/empty/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/txt/invalid/empty/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/txt/invalid/empty/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/txt/invalid/empty/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/txt/invalid/empty/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/txt/invalid/empty/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/txt/invalid/empty/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/txt/invalid/empty/.dirs/runtime 1031s ok 20 /gresolver/txt/invalid/empty 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1NX312/gresolver/txt/invalid/overflow/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/txt/invalid/overflow/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_1NX312/gresolver/txt/invalid/overflow/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/txt/invalid/overflow/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1NX312/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_1NX312/gresolver/txt/invalid/overflow/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/txt/invalid/overflow/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1NX312/gresolver/txt/invalid/overflow/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1NX312/gresolver/txt/invalid/overflow/.dirs/runtime 1031s ok 21 /gresolver/txt/invalid/overflow 1031s # End of invalid tests 1031s # End of txt tests 1031s # End of gresolver tests 1031s ok - glib/resolver-parsing.test 1031s # Running test: glib/gdbus-proxy-unique-name.test 1031s TAP version 14 1031s # random seed: R02S88b787f8946eae231c42dcfee1025727 1031s 1..1 1031s # Start of gdbus tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_BG8412/gdbus/proxy-unique-name/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_BG8412/gdbus/proxy-unique-name/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_BG8412/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_BG8412/gdbus/proxy-unique-name/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_BG8412/gdbus/proxy-unique-name/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_BG8412/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_BG8412/gdbus/proxy-unique-name/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_BG8412/gdbus/proxy-unique-name/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_BG8412/gdbus/proxy-unique-name/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_BG8412/gdbus/proxy-unique-name/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 1 /gdbus/proxy-unique-name 1031s # End of gdbus tests 1031s ok - glib/gdbus-proxy-unique-name.test 1031s # Running test: glib/ifaceproperties.test 1031s TAP version 14 1031s # random seed: R02S9f32e9b5c0dc4a341ac6ccbab0dcfc8d 1031s 1..7 1031s # Start of interface tests 1031s # Start of properties tests 1031s ok 1 /interface/properties/set 1031s ok 2 /interface/properties/notify 1031s ok 3 /interface/properties/find-overridden 1031s ok 4 /interface/properties/list-overridden 1031s ok 5 /interface/properties/find-interface 1031s ok 6 /interface/properties/list-interface 1031s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1031s ok 7 /interface/properties/not-overridden 1031s # End of properties tests 1031s # End of interface tests 1031s ok - glib/ifaceproperties.test 1031s # Running test: glib/contenttype.test 1031s TAP version 14 1031s # random seed: R02Seb91bdc802d24c9cf7516023a4589f9d 1031s 1..14 1031s # Start of contenttype tests 1031s ok 1 /contenttype/guess 1031s ok 2 /contenttype/guess_svg_from_data 1031s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 1031s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1031s ok 5 /contenttype/unknown 1031s ok 6 /contenttype/subtype 1031s ok 7 /contenttype/list 1031s ok 8 /contenttype/executable 1031s ok 9 /contenttype/description 1031s ok 10 /contenttype/icon 1031s ok 11 /contenttype/symbolic-icon 1031s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1031s ok 12 /contenttype/tree 1031s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1031s ok 13 /contenttype/tree_invalid_encoding 1031s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1031s ok 14 /contenttype/test_type_is_a_special_case 1031s # End of contenttype tests 1031s ok - glib/contenttype.test 1031s # Running test: glib/keyfile.test 1031s TAP version 14 1031s # random seed: R02Sd82f4d9c740a17589d2d387faa7c152b 1031s 1..36 1031s # Start of keyfile tests 1031s ok 1 /keyfile/line-ends 1031s ok 2 /keyfile/whitespace 1031s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1031s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1031s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1031s ok 3 /keyfile/comments 1031s ok 4 /keyfile/listing 1031s ok 5 /keyfile/string 1031s ok 6 /keyfile/boolean 1031s ok 7 /keyfile/number 1031s ok 8 /keyfile/locale-string 1031s ok 9 /keyfile/lists 1031s ok 10 /keyfile/lists-set-get 1031s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1031s ok 11 /keyfile/group-remove 1031s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1031s ok 12 /keyfile/key-remove 1031s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1031s ok 13 /keyfile/groups 1031s ok 14 /keyfile/duplicate-keys 1031s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1031s ok 15 /keyfile/duplicate-groups 1031s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1031s ok 16 /keyfile/duplicate-groups2 1031s ok 17 /keyfile/group-names 1031s ok 18 /keyfile/key-names 1031s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1031s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1031s ok 19 /keyfile/reload 1031s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1031s ok 20 /keyfile/int64 1031s ok 21 /keyfile/load 1031s ok 22 /keyfile/save 1031s ok 23 /keyfile/load-fail 1031s ok 24 /keyfile/non-utf8 1031s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1031s ok 25 /keyfile/page-boundary 1031s ok 26 /keyfile/ref 1031s ok 27 /keyfile/replace-value 1031s ok 28 /keyfile/list-separator 1031s ok 29 /keyfile/empty-string 1031s ok 30 /keyfile/limbo 1031s # Testing invalid encoding ?non-UTF-8 1031s # Testing invalid encoding ?UTF? 1031s # Testing invalid encoding ?UTF-9? 1031s ok 31 /keyfile/utf8 1031s ok 32 /keyfile/roundtrip 1031s ok 33 /keyfile/bytes 1031s ok 34 /keyfile/get-locale 1031s ok 35 /keyfile/free-when-not-last-ref 1031s # Start of locale-string tests 1031s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1031s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1031s ok 36 /keyfile/locale-string/multiple-loads 1031s # End of locale-string tests 1031s # End of keyfile tests 1031s ok - glib/keyfile.test 1031s # Running test: glib/mimeapps.test 1031s TAP version 14 1031s # random seed: R02Se63dad7b9f1b175e26abc2ed332a4930 1031s 1..7 1031s # Start of appinfo tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_99P412/appinfo/all/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_99P412/appinfo/all/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_99P412/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_99P412/appinfo/all/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_99P412/appinfo/all/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_99P412/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_99P412/appinfo/all/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_99P412/appinfo/all/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_99P412/appinfo/all/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_99P412/appinfo/all/.dirs/runtime 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/all/.dirs/system-data1/applications' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/all/.dirs/data/applications' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/all/.dirs/data/applications/myapp.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/all/.dirs/data/applications/myapp2.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/all/.dirs/data/applications/myapp3.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/all/.dirs/data/applications/myapp4.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/all/.dirs/data/applications/myapp5.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1031s # removing '/tmp/test_mimeapps_99P412/appinfo/all/.dirs/data/applications/mimeapps.list' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1031s ok 1 /appinfo/all 1031s # Start of mime tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/runtime 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/system-data1/applications' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/data/applications' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1031s # removing '/tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/config 1031s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_99P412/appinfo/all/.dirs/config to /tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/config 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/config 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/config 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/config 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/config 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/config 1031s ok 2 /appinfo/mime/api 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/runtime 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/system-data1/applications' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/data/applications' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1031s # removing '/tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/config 1031s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_99P412/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/config 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/config 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/config 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/config 1031s ok 3 /appinfo/mime/default 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/runtime 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/system-data1/applications' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/data/applications' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1031s # removing '/tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/config 1031s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_99P412/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/config 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/config 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/config 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/config 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/config 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/config 1031s ok 4 /appinfo/mime/file 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/runtime 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/data/applications' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1031s # removing '/tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1031s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_99P412/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/config 1031s ok 5 /appinfo/mime/scheme-handler 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/runtime 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/data/applications' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1031s # removing '/tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/config 1031s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_99P412/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/config 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/config 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/config 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/config 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/config 1031s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/config 1031s ok 6 /appinfo/mime/default-last-used 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/runtime 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1031s # removing '/tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1031s # creating '/tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1031s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_99P412/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_99P412/appinfo/mime/ignore-nonexisting/.dirs/config 1031s ok 7 /appinfo/mime/ignore-nonexisting 1031s # End of mime tests 1031s # End of appinfo tests 1031s ok - glib/mimeapps.test 1031s # Running test: glib/gapplication.test 1031s TAP version 14 1031s # random seed: R02S11dfc0492473f05b0b44963933addc8a 1031s 1..24 1031s # Start of gapplication tests 1031s ok 1 /gapplication/no-dbus 1031s ok 2 /gapplication/no-appid 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 3 /gapplication/properties 1031s ok 4 /gapplication/app-id 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 5 /gapplication/quit 1031s ok 6 /gapplication/registered 1031s ok 7 /gapplication/local-actions 1031s ok 8 /gapplication/local-command-line 1031s ok 9 /gapplication/resource-path 1031s ok 10 /gapplication/test-help 1031s ok 11 /gapplication/command-line-done 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 12 /gapplication/test-busy 1031s ok 13 /gapplication/test-handle-local-options1 1031s ok 14 /gapplication/test-handle-local-options2 1031s ok 15 /gapplication/test-handle-local-options3 1031s ok 16 /gapplication/api 1031s ok 17 /gapplication/version 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # launching subprocess 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 18 /gapplication/replace 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # launching subprocess 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s ok 19 /gapplication/no-replace 1032s # slow test /gapplication/no-replace executed in 0.50 secs 1032s # Start of dbus tests 1032s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1032s # Message 0 1032s # Message 1 1032s # Message 2 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s ok 20 /gapplication/dbus/activate 1032s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1032s # Message 0 1032s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1032s # Message 1 1032s # Message 2 1032s # Message 3 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s ok 21 /gapplication/dbus/open 1032s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1032s # Message 0 1032s # Message 1 1032s # Message 2 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s ok 22 /gapplication/dbus/command-line 1032s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s ok 23 /gapplication/dbus/command-line-done 1032s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1032s # Message 0 1032s # Message 1 1032s # Message 2 1032s # Message 3 1032s # Message 4 1032s # Message 5 1032s # Message 6 1032s # Message 7 1032s # Message 8 1032s # Message 9 1032s # Message 10 1032s # Message 11 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s ok 24 /gapplication/dbus/activate-action 1032s # End of dbus tests 1032s # End of gapplication tests 1032s ok - glib/gapplication.test 1032s # Running test: glib/bytes.test 1032s TAP version 14 1032s # random seed: R02S5202a65856894b64bdc3b1a63c4e95e7 1032s 1..21 1032s # Start of bytes tests 1032s ok 1 /bytes/new 1032s ok 2 /bytes/new-take 1032s ok 3 /bytes/new-static 1032s ok 4 /bytes/new-with-free-func 1032s ok 5 /bytes/new-from-bytes 1032s ok 6 /bytes/new-from-bytes-slice 1032s ok 7 /bytes/new-from-bytes-shared-ref 1032s ok 8 /bytes/hash 1032s ok 9 /bytes/equal 1032s ok 10 /bytes/compare 1032s ok 11 /bytes/null 1032s ok 12 /bytes/get-region 1032s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1032s ok 13 /bytes/unref-null 1032s # Start of to-data tests 1032s ok 14 /bytes/to-data/transferred 1032s ok 15 /bytes/to-data/two-refs 1032s ok 16 /bytes/to-data/non-malloc 1032s ok 17 /bytes/to-data/different-free-func 1032s # End of to-data tests 1032s # Start of to-array tests 1032s ok 18 /bytes/to-array/transferred 1032s ok 19 /bytes/to-array/two-refs 1032s ok 20 /bytes/to-array/non-malloc 1032s # Start of transferred tests 1032s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1032s ok 21 /bytes/to-array/transferred/oversize 1032s # End of transferred tests 1032s # End of to-array tests 1032s # End of bytes tests 1032s ok - glib/bytes.test 1032s # Running test: glib/shell.test 1032s TAP version 14 1032s # random seed: R02See0fac98dcd940221c472a8031c1fc8c 1032s 1..51 1032s # Start of shell tests 1032s # Start of cmdline tests 1032s test cmdline: foo bar 1032s ok 1 /shell/cmdline/0 1032s test cmdline: foo 'bar' 1032s ok 2 /shell/cmdline/1 1032s test cmdline: foo "bar" 1032s ok 3 /shell/cmdline/2 1032s test cmdline: foo '' 'bar' 1032s ok 4 /shell/cmdline/3 1032s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1032s ok 5 /shell/cmdline/4 1032s test cmdline: foo blah foo bar baz 1032s ok 6 /shell/cmdline/5 1032s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1032s ok 7 /shell/cmdline/6 1032s test cmdline: foo \ 1032s bar 1032s ok 8 /shell/cmdline/7 1032s test cmdline: foo '' '' 1032s ok 9 /shell/cmdline/8 1032s test cmdline: foo \" la la la 1032s ok 10 /shell/cmdline/9 1032s test cmdline: foo \ foo woo woo\ 1032s ok 11 /shell/cmdline/10 1032s test cmdline: foo "yada yada \$\"" 1032s ok 12 /shell/cmdline/11 1032s test cmdline: foo "c:\\" 1032s ok 13 /shell/cmdline/12 1032s test cmdline: foo # bla bla bla 1032s bar 1032s ok 14 /shell/cmdline/13 1032s test cmdline: foo a#b 1032s ok 15 /shell/cmdline/14 1032s test cmdline: #foo 1032s ok 16 /shell/cmdline/15 1032s test cmdline: foo bar \ 1032s ok 17 /shell/cmdline/16 1032s test cmdline: foo 'bar baz 1032s ok 18 /shell/cmdline/17 1032s test cmdline: foo '"bar" baz 1032s ok 19 /shell/cmdline/18 1032s test cmdline: 1032s ok 20 /shell/cmdline/19 1032s test cmdline: 1032s ok 21 /shell/cmdline/20 1032s test cmdline: # foo bar 1032s ok 22 /shell/cmdline/21 1032s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1032s ok 23 /shell/cmdline/22 1032s # End of cmdline tests 1032s # Start of quote tests 1032s ok 24 /shell/quote/0 1032s ok 25 /shell/quote/1 1032s ok 26 /shell/quote/2 1032s ok 27 /shell/quote/3 1032s ok 28 /shell/quote/4 1032s ok 29 /shell/quote/5 1032s ok 30 /shell/quote/6 1032s # End of quote tests 1032s # Start of unquote tests 1032s ok 31 /shell/unquote/0 1032s ok 32 /shell/unquote/1 1032s ok 33 /shell/unquote/2 1032s ok 34 /shell/unquote/3 1032s ok 35 /shell/unquote/4 1032s ok 36 /shell/unquote/5 1032s ok 37 /shell/unquote/6 1032s ok 38 /shell/unquote/7 1032s ok 39 /shell/unquote/8 1032s ok 40 /shell/unquote/9 1032s ok 41 /shell/unquote/10 1032s ok 42 /shell/unquote/11 1032s ok 43 /shell/unquote/12 1032s ok 44 /shell/unquote/13 1032s ok 45 /shell/unquote/14 1032s ok 46 /shell/unquote/15 1032s ok 47 /shell/unquote/16 1032s ok 48 /shell/unquote/17 1032s ok 49 /shell/unquote/18 1032s ok 50 /shell/unquote/19 1032s ok 51 /shell/unquote/20 1032s # End of unquote tests 1032s # End of shell tests 1032s ok - glib/shell.test 1032s # Running test: glib/refcount-macro.test 1032s TAP version 14 1032s # random seed: R02S67486571f962b5d9b68456f0aa060303 1032s 1..4 1032s # Start of refcount tests 1032s ok 1 /refcount/grefcount 1032s ok 2 /refcount/gatomicrefcount 1032s # Start of grefcount tests 1032s ok 3 /refcount/grefcount/saturation 1032s # End of grefcount tests 1032s # Start of gatomicrefcount tests 1032s ok 4 /refcount/gatomicrefcount/saturation 1032s # End of gatomicrefcount tests 1032s # End of refcount tests 1032s ok - glib/refcount-macro.test 1032s # Running test: glib/vfs.test 1032s TAP version 14 1032s # random seed: R02Sabae8ac5c307cb2ef4b5e1cebe82049c 1032s 1..3 1032s # Start of gvfs tests 1032s ok 1 /gvfs/local 1032s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1032s ok 2 /gvfs/register-scheme 1032s # Start of resource tests 1032s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1032s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1032s ok 3 /gvfs/resource/malformed-escaping 1032s # End of resource tests 1032s # End of gvfs tests 1032s ok - glib/vfs.test 1032s # Running test: glib/dir.test 1032s TAP version 14 1032s # random seed: R02Sbc4777714a8cd38e9669f80f7206de1b 1032s 1..3 1032s # Start of dir tests 1032s ok 1 /dir/read 1032s ok 2 /dir/nonexisting 1032s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1032s ok 3 /dir/refcounting 1032s # End of dir tests 1032s ok - glib/dir.test 1032s # Running test: glib/deprecated-properties.test 1032s TAP version 14 1032s # random seed: R02Sc615fb6630a525e87d4984c7f35661fd 1032s 1..3 1032s # Start of deprecated-properties tests 1032s ok 1 /deprecated-properties/construct 1032s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1032s ok 2 /deprecated-properties/default-construct 1032s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1032s ok 3 /deprecated-properties/set 1032s # End of deprecated-properties tests 1032s ok - glib/deprecated-properties.test 1032s # Running test: glib/gdbus-connection.test 1032s TAP version 14 1032s # random seed: R02S8268752a92bc0d8f54a05a82841cd371 1032s 1..9 1032s # Start of gdbus tests 1032s # Start of connection tests 1032s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/bus-failure/.dirs/home 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/bus-failure/.dirs/cache 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_DWVI22/gdbus/connection/bus-failure/.dirs/system-config2 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/bus-failure/.dirs/config 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_DWVI22/gdbus/connection/bus-failure/.dirs/system-data2 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/bus-failure/.dirs/data 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/bus-failure/.dirs/state 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/bus-failure/.dirs/runtime 1032s ok 1 /gdbus/connection/bus-failure 1032s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/basic/.dirs/home 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/basic/.dirs/cache 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_DWVI22/gdbus/connection/basic/.dirs/system-config2 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/basic/.dirs/config 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_DWVI22/gdbus/connection/basic/.dirs/system-data2 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/basic/.dirs/data 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/basic/.dirs/state 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/basic/.dirs/runtime 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s ok 2 /gdbus/connection/basic 1032s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/life-cycle/.dirs/home 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/life-cycle/.dirs/cache 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_DWVI22/gdbus/connection/life-cycle/.dirs/system-config2 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/life-cycle/.dirs/config 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_DWVI22/gdbus/connection/life-cycle/.dirs/system-data2 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/life-cycle/.dirs/data 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/life-cycle/.dirs/state 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/life-cycle/.dirs/runtime 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s ok 3 /gdbus/connection/life-cycle 1032s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/send/.dirs/home 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/send/.dirs/cache 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_DWVI22/gdbus/connection/send/.dirs/system-config2 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/send/.dirs/config 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_DWVI22/gdbus/connection/send/.dirs/system-data2 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/send/.dirs/data 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/send/.dirs/state 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/send/.dirs/runtime 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s ok 4 /gdbus/connection/send 1032s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/signals/.dirs/home 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/signals/.dirs/cache 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_DWVI22/gdbus/connection/signals/.dirs/system-config2 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/signals/.dirs/config 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_DWVI22/gdbus/connection/signals/.dirs/system-data2 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/signals/.dirs/data 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/signals/.dirs/state 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/signals/.dirs/runtime 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s ok 5 /gdbus/connection/signals 1032s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/signal-match-rules/.dirs/home 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/signal-match-rules/.dirs/cache 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_DWVI22/gdbus/connection/signal-match-rules/.dirs/system-config2 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/signal-match-rules/.dirs/config 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_DWVI22/gdbus/connection/signal-match-rules/.dirs/system-data2 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/signal-match-rules/.dirs/data 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/signal-match-rules/.dirs/state 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/signal-match-rules/.dirs/runtime 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s ok 6 /gdbus/connection/signal-match-rules 1032s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/filter/.dirs/home 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/filter/.dirs/cache 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_DWVI22/gdbus/connection/filter/.dirs/system-config2 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/filter/.dirs/config 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_DWVI22/gdbus/connection/filter/.dirs/system-data2 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/filter/.dirs/data 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/filter/.dirs/state 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/filter/.dirs/runtime 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s ok 7 /gdbus/connection/filter 1032s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/serials/.dirs/home 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/serials/.dirs/cache 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_DWVI22/gdbus/connection/serials/.dirs/system-config2 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/serials/.dirs/config 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_DWVI22/gdbus/connection/serials/.dirs/system-data2 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/serials/.dirs/data 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/serials/.dirs/state 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/serials/.dirs/runtime 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s ok 8 /gdbus/connection/serials 1032s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/cancel/.dirs/home 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/cancel/.dirs/cache 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_DWVI22/gdbus/connection/cancel/.dirs/system-config2 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/cancel/.dirs/config 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_DWVI22/gdbus/connection/cancel/.dirs/system-data2 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/cancel/.dirs/data 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/cancel/.dirs/state 1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_DWVI22/gdbus/connection/cancel/.dirs/runtime 1032s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1032s ok 9 /gdbus/connection/cancel 1032s # End of connection tests 1032s # End of gdbus tests 1032s ok - glib/gdbus-connection.test 1032s # Running test: glib/permission.test 1032s TAP version 14 1032s # random seed: R02Sb94fd4f0fa4c97b5aa305a6d3dc5b384 1032s 1..1 1032s # Start of permission tests 1032s ok 1 /permission/simple 1032s # End of permission tests 1032s ok - glib/permission.test 1032s # Running test: glib/tls-certificate.test 1032s TAP version 14 1032s # random seed: R02S4449534f2c93883e9adcb4718d3acbb5 1032s 1..19 1032s # Start of tls-certificate tests 1032s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1032s ok 1 /tls-certificate/pem-parser 1032s ok 2 /tls-certificate/pem-parser-handles-chain 1032s ok 3 /tls-certificate/from_file 1032s ok 4 /tls-certificate/from_files 1032s ok 5 /tls-certificate/from_files_crlf 1032s ok 6 /tls-certificate/from_files_pkcs8 1032s ok 7 /tls-certificate/from_files_pkcs8enc 1032s ok 8 /tls-certificate/list_from_file 1032s ok 9 /tls-certificate/pkcs11-uri 1032s ok 10 /tls-certificate/pkcs11-uri-unsupported 1032s ok 11 /tls-certificate/from_pkcs12 1032s ok 12 /tls-certificate/from_pkcs12_file 1032s ok 13 /tls-certificate/not-valid-before 1032s ok 14 /tls-certificate/not-valid-after 1032s ok 15 /tls-certificate/subject-name 1032s ok 16 /tls-certificate/issuer-name 1032s ok 17 /tls-certificate/dns-names 1032s ok 18 /tls-certificate/ip-addresses 1032s ok 19 /tls-certificate/pem-parser-no-sentinel 1032s # End of tls-certificate tests 1032s ok - glib/tls-certificate.test 1032s # Running test: glib/threadtests.test 1032s TAP version 14 1032s # random seed: R02S01769549cced66b991f260a7b3491e87 1032s 1..5 1032s # Start of GObject tests 1032s ok 1 /GObject/threaded-object-init 1032s # Executing: glib/threadtests.test 1033s ok 2 /GObject/threaded-weak-ref 1033s # slow test /GObject/threaded-weak-ref executed in 0.78 secs 1033s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1033s # /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 1033s ok 3 /GObject/threaded-toggle-notify 1033s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1033s # Start of threaded-weak-ref tests 1033s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1033s # /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. 1033s ok 5 /GObject/threaded-weak-ref/on-finalization 1033s # End of threaded-weak-ref tests 1033s # End of GObject tests 1033s ok - glib/threadtests.test 1033s # Running test: glib/gsocketclient-slow.test 1033s TAP version 14 1033s # random seed: R02S6e78c7c073570999486a0a2f17f94a97 1033s 1..4 1033s # Start of socket-client tests 1033s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1033s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1033s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa121f6240 and GSocketClientAsyncConnectData 0x2aa121eeb90 1033s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1033s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1033s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa121f8120 for GSocketClientAsyncConnectData 0x2aa121eeb90 1033s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1033s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1033s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1033s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1033s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1033s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1033s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa121f9280 for GSocketClientAsyncConnectData 0x2aa121eeb90 1033s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1034s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1034s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1034s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1034s ok 1 /socket-client/connection-fail 1034s # slow test /socket-client/connection-fail executed in 1.20 secs 1034s # Start of happy-eyeballs tests 1034s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa121fbc50 and GSocketClientAsyncConnectData 0x2aa121f9f00 1034s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1034s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1034s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa121fc5a0 for GSocketClientAsyncConnectData 0x2aa121f9f00 1034s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1035s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1035s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1035s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1035s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1035s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1035s ok 2 /socket-client/happy-eyeballs/slow 1035s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1035s # Start of cancellation tests 1035s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa121fd210 and GSocketClientAsyncConnectData 0x2aa121fc140 1035s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1035s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1035s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1035s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa121fb8f0 and GSocketClientAsyncConnectData 0x2aa121fd4a0 1035s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1035s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1035s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa121fdd90 for GSocketClientAsyncConnectData 0x2aa121fd4a0 1035s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1035s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1035s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1035s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1035s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1035s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1035s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1035s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1035s # End of cancellation tests 1035s # End of happy-eyeballs tests 1035s # End of socket-client tests 1035s ok - glib/gsocketclient-slow.test 1035s # Running test: glib/gdbus-introspection.test 1035s TAP version 14 1035s # random seed: R02S86de6131277980306479c2b7cb76ca85 1035s 1..4 1035s # Start of gdbus tests 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-parser/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-parser/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_ROE412/gdbus/introspection-parser/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-parser/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_ROE412/gdbus/introspection-parser/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-parser/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-parser/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-parser/.dirs/runtime 1035s ok 1 /gdbus/introspection-parser 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-generate/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-generate/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_ROE412/gdbus/introspection-generate/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-generate/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_ROE412/gdbus/introspection-generate/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-generate/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-generate/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-generate/.dirs/runtime 1035s ok 2 /gdbus/introspection-generate 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-default-direction/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-default-direction/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_ROE412/gdbus/introspection-default-direction/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-default-direction/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_ROE412/gdbus/introspection-default-direction/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-default-direction/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-default-direction/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-default-direction/.dirs/runtime 1035s ok 3 /gdbus/introspection-default-direction 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-extra-data/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-extra-data/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_ROE412/gdbus/introspection-extra-data/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-extra-data/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_ROE412/gdbus/introspection-extra-data/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-extra-data/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-extra-data/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_ROE412/gdbus/introspection-extra-data/.dirs/runtime 1035s ok 4 /gdbus/introspection-extra-data 1035s # End of gdbus tests 1035s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1035s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1035s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1035s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1035s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1035s ok - glib/gdbus-introspection.test 1035s # Running test: glib/async-splice-output-stream.test 1035s TAP version 14 1035s # random seed: R02S4275518500f4e9627273476117e478f2 1035s 1..5 1035s # Start of async-splice tests 1035s ok 1 /async-splice/copy-chunks 1035s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1035s ok 2 /async-splice/copy-chunks-threaded-input 1035s ok 3 /async-splice/copy-chunks-threaded-output 1035s ok 4 /async-splice/copy-chunks-threaded 1035s ok 5 /async-splice/cancelled 1035s # End of async-splice tests 1035s ok - glib/async-splice-output-stream.test 1035s # Running test: glib/utf8-validate.test 1035s TAP version 14 1035s # random seed: R02Sbd7c61cdbfa5698a6630d0ea02be8b18 1035s 1..238 1035s # Start of utf8 tests 1035s # Vector 0 1035s # Vector 1 1035s # Vector 2 1035s # Vector 3 1035s # Vector 4 1035s # Vector 5 1035s # Vector 6 1035s # Vector 7 1035s # Vector 8 1035s # Vector 9 1035s # Vector 10 1035s # Vector 11 1035s # Vector 12 1035s # Vector 13 1035s # Vector 14 1035s # Vector 15 1035s # Vector 16 1035s # Vector 17 1035s # Vector 18 1035s # Vector 19 1035s # Vector 20 1035s # Vector 21 1035s # Vector 22 1035s # Vector 23 1035s # Vector 24 1035s # Vector 25 1035s # Vector 26 1035s # Vector 27 1035s ok 1 /utf8/get-char-validated 1035s # Start of validate tests 1035s ok 2 /utf8/validate/0 1035s ok 3 /utf8/validate/1 1035s ok 4 /utf8/validate/2 1035s ok 5 /utf8/validate/3 1035s ok 6 /utf8/validate/4 1035s ok 7 /utf8/validate/5 1035s ok 8 /utf8/validate/6 1035s ok 9 /utf8/validate/7 1035s ok 10 /utf8/validate/8 1035s ok 11 /utf8/validate/9 1035s ok 12 /utf8/validate/10 1035s ok 13 /utf8/validate/11 1035s ok 14 /utf8/validate/12 1035s ok 15 /utf8/validate/13 1035s ok 16 /utf8/validate/14 1035s ok 17 /utf8/validate/15 1035s ok 18 /utf8/validate/16 1035s ok 19 /utf8/validate/17 1035s ok 20 /utf8/validate/18 1035s ok 21 /utf8/validate/19 1035s ok 22 /utf8/validate/20 1035s ok 23 /utf8/validate/21 1035s ok 24 /utf8/validate/22 1035s ok 25 /utf8/validate/23 1035s ok 26 /utf8/validate/24 1035s ok 27 /utf8/validate/25 1035s ok 28 /utf8/validate/26 1035s ok 29 /utf8/validate/27 1035s ok 30 /utf8/validate/28 1035s ok 31 /utf8/validate/29 1035s ok 32 /utf8/validate/30 1035s ok 33 /utf8/validate/31 1035s ok 34 /utf8/validate/32 1035s ok 35 /utf8/validate/33 1035s ok 36 /utf8/validate/34 1035s ok 37 /utf8/validate/35 1035s ok 38 /utf8/validate/36 1035s ok 39 /utf8/validate/37 1035s ok 40 /utf8/validate/38 1035s ok 41 /utf8/validate/39 1035s ok 42 /utf8/validate/40 1035s ok 43 /utf8/validate/41 1035s ok 44 /utf8/validate/42 1035s ok 45 /utf8/validate/43 1035s ok 46 /utf8/validate/44 1035s ok 47 /utf8/validate/45 1035s ok 48 /utf8/validate/46 1035s ok 49 /utf8/validate/47 1035s ok 50 /utf8/validate/48 1035s ok 51 /utf8/validate/49 1035s ok 52 /utf8/validate/50 1035s ok 53 /utf8/validate/51 1035s ok 54 /utf8/validate/52 1035s ok 55 /utf8/validate/53 1035s ok 56 /utf8/validate/54 1035s ok 57 /utf8/validate/55 1035s ok 58 /utf8/validate/56 1035s ok 59 /utf8/validate/57 1035s ok 60 /utf8/validate/58 1035s ok 61 /utf8/validate/59 1035s ok 62 /utf8/validate/60 1035s ok 63 /utf8/validate/61 1035s ok 64 /utf8/validate/62 1035s ok 65 /utf8/validate/63 1035s ok 66 /utf8/validate/64 1035s ok 67 /utf8/validate/65 1035s ok 68 /utf8/validate/66 1035s ok 69 /utf8/validate/67 1035s ok 70 /utf8/validate/68 1035s ok 71 /utf8/validate/69 1035s ok 72 /utf8/validate/70 1035s ok 73 /utf8/validate/71 1035s ok 74 /utf8/validate/72 1035s ok 75 /utf8/validate/73 1035s ok 76 /utf8/validate/74 1035s ok 77 /utf8/validate/75 1035s ok 78 /utf8/validate/76 1035s ok 79 /utf8/validate/77 1035s ok 80 /utf8/validate/78 1035s ok 81 /utf8/validate/79 1035s ok 82 /utf8/validate/80 1035s ok 83 /utf8/validate/81 1035s ok 84 /utf8/validate/82 1035s ok 85 /utf8/validate/83 1035s ok 86 /utf8/validate/84 1035s ok 87 /utf8/validate/85 1035s ok 88 /utf8/validate/86 1035s ok 89 /utf8/validate/87 1035s ok 90 /utf8/validate/88 1035s ok 91 /utf8/validate/89 1035s ok 92 /utf8/validate/90 1035s ok 93 /utf8/validate/91 1035s ok 94 /utf8/validate/92 1035s ok 95 /utf8/validate/93 1035s ok 96 /utf8/validate/94 1035s ok 97 /utf8/validate/95 1035s ok 98 /utf8/validate/96 1035s ok 99 /utf8/validate/97 1035s ok 100 /utf8/validate/98 1035s ok 101 /utf8/validate/99 1035s ok 102 /utf8/validate/100 1035s ok 103 /utf8/validate/101 1035s ok 104 /utf8/validate/102 1035s ok 105 /utf8/validate/103 1035s ok 106 /utf8/validate/104 1035s ok 107 /utf8/validate/105 1035s ok 108 /utf8/validate/106 1035s ok 109 /utf8/validate/107 1035s ok 110 /utf8/validate/108 1035s ok 111 /utf8/validate/109 1035s ok 112 /utf8/validate/110 1035s ok 113 /utf8/validate/111 1035s ok 114 /utf8/validate/112 1035s ok 115 /utf8/validate/113 1035s ok 116 /utf8/validate/114 1035s ok 117 /utf8/validate/115 1035s ok 118 /utf8/validate/116 1035s ok 119 /utf8/validate/117 1035s ok 120 /utf8/validate/118 1035s ok 121 /utf8/validate/119 1035s ok 122 /utf8/validate/120 1035s ok 123 /utf8/validate/121 1035s ok 124 /utf8/validate/122 1035s ok 125 /utf8/validate/123 1035s ok 126 /utf8/validate/124 1035s ok 127 /utf8/validate/125 1035s ok 128 /utf8/validate/126 1035s ok 129 /utf8/validate/127 1035s ok 130 /utf8/validate/128 1035s ok 131 /utf8/validate/129 1035s ok 132 /utf8/validate/130 1035s ok 133 /utf8/validate/131 1035s ok 134 /utf8/validate/132 1035s ok 135 /utf8/validate/133 1035s ok 136 /utf8/validate/134 1035s ok 137 /utf8/validate/135 1035s ok 138 /utf8/validate/136 1035s ok 139 /utf8/validate/137 1035s ok 140 /utf8/validate/138 1035s ok 141 /utf8/validate/139 1035s ok 142 /utf8/validate/140 1035s ok 143 /utf8/validate/141 1035s ok 144 /utf8/validate/142 1035s ok 145 /utf8/validate/143 1035s ok 146 /utf8/validate/144 1035s ok 147 /utf8/validate/145 1035s ok 148 /utf8/validate/146 1035s ok 149 /utf8/validate/147 1035s ok 150 /utf8/validate/148 1035s ok 151 /utf8/validate/149 1035s ok 152 /utf8/validate/150 1035s ok 153 /utf8/validate/151 1035s ok 154 /utf8/validate/152 1035s ok 155 /utf8/validate/153 1035s ok 156 /utf8/validate/154 1035s ok 157 /utf8/validate/155 1035s ok 158 /utf8/validate/156 1035s ok 159 /utf8/validate/157 1035s ok 160 /utf8/validate/158 1035s ok 161 /utf8/validate/159 1035s ok 162 /utf8/validate/160 1035s ok 163 /utf8/validate/161 1035s ok 164 /utf8/validate/162 1035s ok 165 /utf8/validate/163 1035s ok 166 /utf8/validate/164 1035s ok 167 /utf8/validate/165 1035s ok 168 /utf8/validate/166 1035s ok 169 /utf8/validate/167 1035s ok 170 /utf8/validate/168 1035s ok 171 /utf8/validate/169 1035s ok 172 /utf8/validate/170 1035s ok 173 /utf8/validate/171 1035s ok 174 /utf8/validate/172 1035s ok 175 /utf8/validate/173 1035s ok 176 /utf8/validate/174 1035s ok 177 /utf8/validate/175 1035s ok 178 /utf8/validate/176 1035s ok 179 /utf8/validate/177 1035s ok 180 /utf8/validate/178 1035s ok 181 /utf8/validate/179 1035s ok 182 /utf8/validate/180 1035s ok 183 /utf8/validate/181 1035s ok 184 /utf8/validate/182 1035s ok 185 /utf8/validate/183 1035s ok 186 /utf8/validate/184 1035s ok 187 /utf8/validate/185 1035s ok 188 /utf8/validate/186 1035s ok 189 /utf8/validate/187 1035s ok 190 /utf8/validate/188 1035s ok 191 /utf8/validate/189 1035s ok 192 /utf8/validate/190 1035s ok 193 /utf8/validate/191 1035s ok 194 /utf8/validate/192 1035s ok 195 /utf8/validate/193 1035s ok 196 /utf8/validate/194 1035s ok 197 /utf8/validate/195 1035s ok 198 /utf8/validate/196 1035s ok 199 /utf8/validate/197 1035s ok 200 /utf8/validate/198 1035s ok 201 /utf8/validate/199 1035s ok 202 /utf8/validate/200 1035s ok 203 /utf8/validate/201 1035s ok 204 /utf8/validate/202 1035s ok 205 /utf8/validate/203 1035s ok 206 /utf8/validate/204 1035s ok 207 /utf8/validate/205 1035s ok 208 /utf8/validate/206 1035s ok 209 /utf8/validate/207 1035s ok 210 /utf8/validate/208 1035s ok 211 /utf8/validate/209 1035s ok 212 /utf8/validate/210 1035s ok 213 /utf8/validate/211 1035s ok 214 /utf8/validate/212 1035s ok 215 /utf8/validate/213 1035s ok 216 /utf8/validate/214 1035s ok 217 /utf8/validate/215 1035s ok 218 /utf8/validate/216 1035s ok 219 /utf8/validate/217 1035s ok 220 /utf8/validate/218 1035s ok 221 /utf8/validate/219 1035s ok 222 /utf8/validate/220 1035s ok 223 /utf8/validate/221 1035s ok 224 /utf8/validate/222 1035s ok 225 /utf8/validate/223 1035s ok 226 /utf8/validate/224 1035s ok 227 /utf8/validate/225 1035s ok 228 /utf8/validate/226 1035s ok 229 /utf8/validate/227 1035s ok 230 /utf8/validate/228 1035s ok 231 /utf8/validate/229 1035s ok 232 /utf8/validate/230 1035s ok 233 /utf8/validate/231 1035s ok 234 /utf8/validate/232 1035s ok 235 /utf8/validate/233 1035s ok 236 /utf8/validate/234 1035s ok 237 /utf8/validate/235 1035s ok 238 /utf8/validate/236 1035s # End of validate tests 1035s # End of utf8 tests 1035s ok - glib/utf8-validate.test 1035s # Running test: glib/testfilemonitor.test 1035s TAP version 14 1035s # random seed: R02S605907d5db317b9165e79d10643624bd 1035s 1..8 1035s # Start of monitor tests 1035s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1035s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1035s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1035s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1035s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1035s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1035s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1035s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1035s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1035s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1035s # Start of file tests 1035s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1035s # End of file tests 1035s # End of monitor tests 1035s ok - glib/testfilemonitor.test 1035s # Running test: glib/null-settings-backend.test 1035s TAP version 14 1035s # random seed: R02Sba40b3207c3d9f670f8e422f1963e8ad 1035s 1..1 1035s # Start of null-settings-backend tests 1035s ok 1 /null-settings-backend/extension-point-registered 1035s # End of null-settings-backend tests 1035s ok - glib/null-settings-backend.test 1035s # Running test: glib/defaultiface.test 1035s TAP version 14 1035s # random seed: R02Se96b569c0b22b0f6131fd8d2db8da2d9 1035s 1..2 1035s # Start of gobject tests 1035s ok 1 /gobject/static-iface 1035s ok 2 /gobject/dynamic-iface 1035s # End of gobject tests 1035s ok - glib/defaultiface.test 1035s # Running test: glib/pattern.test 1035s TAP version 14 1035s # random seed: R02Sb4b420037d4cac05e536c7a5724696a5 1035s 1..90 1035s # Start of pattern tests 1035s # Start of compile tests 1035s ok 1 /pattern/compile/0 1035s ok 2 /pattern/compile/1 1035s ok 3 /pattern/compile/2 1035s ok 4 /pattern/compile/3 1035s ok 5 /pattern/compile/4 1035s ok 6 /pattern/compile/5 1035s ok 7 /pattern/compile/6 1035s ok 8 /pattern/compile/7 1035s ok 9 /pattern/compile/8 1035s ok 10 /pattern/compile/9 1035s ok 11 /pattern/compile/10 1035s ok 12 /pattern/compile/11 1035s ok 13 /pattern/compile/12 1035s ok 14 /pattern/compile/13 1035s # End of compile tests 1035s # Start of copy tests 1035s ok 15 /pattern/copy/0 1035s ok 16 /pattern/copy/1 1035s ok 17 /pattern/copy/2 1035s ok 18 /pattern/copy/3 1035s ok 19 /pattern/copy/4 1035s ok 20 /pattern/copy/5 1035s ok 21 /pattern/copy/6 1035s ok 22 /pattern/copy/7 1035s ok 23 /pattern/copy/8 1035s ok 24 /pattern/copy/9 1035s ok 25 /pattern/copy/10 1035s ok 26 /pattern/copy/11 1035s ok 27 /pattern/copy/12 1035s ok 28 /pattern/copy/13 1035s # End of copy tests 1035s # Start of match tests 1035s ok 29 /pattern/match/0 1035s ok 30 /pattern/match/1 1035s ok 31 /pattern/match/2 1035s ok 32 /pattern/match/3 1035s ok 33 /pattern/match/4 1035s ok 34 /pattern/match/5 1035s ok 35 /pattern/match/6 1035s ok 36 /pattern/match/7 1035s ok 37 /pattern/match/8 1035s ok 38 /pattern/match/9 1035s ok 39 /pattern/match/10 1035s ok 40 /pattern/match/11 1035s ok 41 /pattern/match/12 1035s ok 42 /pattern/match/13 1035s ok 43 /pattern/match/14 1035s ok 44 /pattern/match/15 1035s ok 45 /pattern/match/16 1035s ok 46 /pattern/match/17 1035s ok 47 /pattern/match/18 1035s ok 48 /pattern/match/19 1035s ok 49 /pattern/match/20 1035s ok 50 /pattern/match/21 1035s ok 51 /pattern/match/22 1035s ok 52 /pattern/match/23 1035s ok 53 /pattern/match/24 1035s ok 54 /pattern/match/25 1035s ok 55 /pattern/match/26 1035s ok 56 /pattern/match/27 1035s ok 57 /pattern/match/28 1035s ok 58 /pattern/match/29 1035s ok 59 /pattern/match/30 1035s ok 60 /pattern/match/31 1035s ok 61 /pattern/match/32 1035s ok 62 /pattern/match/33 1035s ok 63 /pattern/match/34 1035s ok 64 /pattern/match/35 1035s ok 65 /pattern/match/36 1035s ok 66 /pattern/match/37 1035s ok 67 /pattern/match/38 1035s ok 68 /pattern/match/39 1035s ok 69 /pattern/match/40 1035s ok 70 /pattern/match/41 1035s ok 71 /pattern/match/42 1035s ok 72 /pattern/match/43 1035s ok 73 /pattern/match/44 1035s ok 74 /pattern/match/45 1035s ok 75 /pattern/match/46 1035s ok 76 /pattern/match/47 1035s ok 77 /pattern/match/48 1035s ok 78 /pattern/match/49 1035s ok 79 /pattern/match/50 1035s # End of match tests 1035s # Start of equal tests 1035s ok 80 /pattern/equal/0 1035s ok 81 /pattern/equal/1 1035s ok 82 /pattern/equal/2 1035s ok 83 /pattern/equal/3 1035s ok 84 /pattern/equal/4 1035s ok 85 /pattern/equal/5 1035s ok 86 /pattern/equal/6 1035s ok 87 /pattern/equal/7 1035s ok 88 /pattern/equal/8 1035s ok 89 /pattern/equal/9 1035s ok 90 /pattern/equal/10 1035s # End of equal tests 1035s # End of pattern tests 1035s ok - glib/pattern.test 1035s # Running test: glib/gdbus-non-socket.test 1035s TAP version 14 1035s # random seed: R02S359dfe45a60d38a354d82925c4773476 1035s 1..1 1035s # Start of gdbus tests 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_R74412/gdbus/non-socket/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_R74412/gdbus/non-socket/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_R74412/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_R74412/gdbus/non-socket/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_R74412/gdbus/non-socket/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_R74412/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_R74412/gdbus/non-socket/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_R74412/gdbus/non-socket/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_R74412/gdbus/non-socket/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_R74412/gdbus/non-socket/.dirs/runtime 1035s ok 1 /gdbus/non-socket 1035s # End of gdbus tests 1035s ok - glib/gdbus-non-socket.test 1035s # Running test: glib/option-context.test 1035s TAP version 14 1035s # random seed: R02S5528eb0f0321e38a7ba6b44800337b5e 1035s 1..57 1035s # Start of option tests 1035s ok 1 /option/basic 1035s ok 2 /option/translate 1035s ok 3 /option/strict-posix 1035s # Start of help tests 1035s ok 4 /option/help/options 1035s ok 5 /option/help/no-options 1035s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1035s ok 6 /option/help/no-help-options 1035s # End of help tests 1035s # Start of group tests 1035s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1035s ok 7 /option/group/captions 1035s ok 8 /option/group/main 1035s ok 9 /option/group/error-hook 1035s ok 10 /option/group/parse 1035s # Start of captions tests 1035s # Start of subprocess tests 1035s # End of subprocess tests 1035s # End of captions tests 1035s # End of group tests 1035s # Start of restoration tests 1035s ok 11 /option/restoration/int 1035s ok 12 /option/restoration/string 1035s ok 13 /option/restoration/boolean 1035s # End of restoration tests 1035s # Start of arg tests 1035s ok 14 /option/arg/reverse-string 1035s ok 15 /option/arg/optional-int 1035s # Start of repetition tests 1035s ok 16 /option/arg/repetition/int 1035s ok 17 /option/arg/repetition/string 1035s ok 18 /option/arg/repetition/filename 1035s ok 19 /option/arg/repetition/double 1035s ok 20 /option/arg/repetition/locale 1035s ok 21 /option/arg/repetition/int64 1035s # End of repetition tests 1035s # Start of array tests 1035s ok 22 /option/arg/array/string 1035s # End of array tests 1035s # Start of callback tests 1035s ok 23 /option/arg/callback/string 1035s ok 24 /option/arg/callback/count 1035s ok 25 /option/arg/callback/optional1 1035s ok 26 /option/arg/callback/optional2 1035s ok 27 /option/arg/callback/optional3 1035s ok 28 /option/arg/callback/optional4 1035s ok 29 /option/arg/callback/optional5 1035s ok 30 /option/arg/callback/optional6 1035s ok 31 /option/arg/callback/optional7 1035s ok 32 /option/arg/callback/optional8 1035s # End of callback tests 1035s # Start of remaining tests 1035s ok 33 /option/arg/remaining/callback 1035s ok 34 /option/arg/remaining/callback-false 1035s ok 35 /option/arg/remaining/non-option 1035s ok 36 /option/arg/remaining/separator 1035s ok 37 /option/arg/remaining/array 1035s # End of remaining tests 1035s # Start of ignore tests 1035s ok 38 /option/arg/ignore/long 1035s ok 39 /option/arg/ignore/short 1035s ok 40 /option/arg/ignore/arg 1035s # End of ignore tests 1035s # Start of rest tests 1035s ok 41 /option/arg/rest/non-option 1035s ok 42 /option/arg/rest/separator1 1035s ok 43 /option/arg/rest/separator2 1035s ok 44 /option/arg/rest/separator3 1035s ok 45 /option/arg/rest/separator4 1035s ok 46 /option/arg/rest/separator5 1035s # End of rest tests 1035s # End of arg tests 1035s # Start of context tests 1035s ok 47 /option/context/add 1035s ok 48 /option/context/empty2 1035s ok 49 /option/context/empty3 1035s # End of context tests 1035s # Start of bug tests 1035s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1035s ok 50 /option/bug/unknown-short 1035s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1035s ok 51 /option/bug/lonely-dash 1035s ok 52 /option/bug/triple-dash 1035s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1035s ok 53 /option/bug/missing-arg 1035s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1035s ok 54 /option/bug/dash-arg 1035s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1035s ok 55 /option/bug/short-remaining 1035s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1035s ok 56 /option/bug/double-free 1035s ok 57 /option/bug/double-zero 1035s # End of bug tests 1035s # End of option tests 1035s ok - glib/option-context.test 1035s # Running test: glib/gnotification.test 1035s TAP version 14 1035s # random seed: R02Sc4548575e3e4692e68d3d6f0bc5963bf 1035s 1..2 1035s # Start of gnotification tests 1035s ok 1 /gnotification/basic 1035s ok 2 /gnotification/properties 1035s # End of gnotification tests 1035s ok - glib/gnotification.test 1035s # Running test: glib/charset.test 1035s TAP version 14 1035s # random seed: R02S9f5f875c8732bfb97039292a48b9990a 1035s 1..2 1035s # Start of charset tests 1035s # Test 0 1035s # Test 1 1035s # Test 2 1035s # Test 3 1035s ok 1 /charset/language_names_with_category 1035s ok 2 /charset/language_names_with_category_async 1035s # End of charset tests 1035s ok - glib/charset.test 1035s # Running test: glib/option-argv0.test 1035s TAP version 14 1035s # random seed: R02Sfc861196f95b3c154038371f8b56acf2 1035s 1..1 1035s # Start of option tests 1035s ok 1 /option/argv0 1035s # End of option tests 1035s ok - glib/option-argv0.test 1035s # Running test: glib/utils-c-99.test 1035s TAP version 14 1035s # random seed: R02S18d971fc3be5b9a55ab8e21e57235f2b 1035s 1..41 1035s # Start of utils tests 1035s ok 1 /utils/language-names 1035s ok 2 /utils/locale-variants 1035s ok 3 /utils/version 1035s ok 4 /utils/appname 1035s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1035s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1035s ok 5 /utils/prgname-thread-safety 1035s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1035s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1035s ok 6 /utils/tmpdir 1035s ok 7 /utils/basic_bits 1035s ok 8 /utils/bits 1035s ok 9 /utils/swap 1035s ok 10 /utils/find-program 1035s ok 11 /utils/find-program-for-path 1035s ok 12 /utils/debug 1035s ok 13 /utils/codeset 1035s ok 14 /utils/codeset2 1035s ok 15 /utils/console-charset 1035s ok 16 /utils/gettext 1035s ok 17 /utils/username 1035s ok 18 /utils/realname 1035s ok 19 /utils/hostname 1035s ok 20 /utils/xdgdirs 1035s ok 21 /utils/specialdir 1035s # NAME: Ubuntu 1035s ok 22 /utils/os-info 1035s ok 23 /utils/clear-pointer 1035s ok 24 /utils/clear-pointer-cast 1035s ok 25 /utils/take-pointer 1035s ok 26 /utils/clear-source 1035s ok 27 /utils/misc-mem 1035s # /utils/aligned-mem summary: Aligned memory allocator 1035s # Alignment must not be zero 1035s # Alignment must be a power of two 1035s # Alignment must be a multiple of sizeof(void*) 1035s ok 28 /utils/aligned-mem 1035s # /utils/free-sized summary: Check that g_free_sized() works 1035s ok 29 /utils/free-sized 1035s ok 30 /utils/nullify 1035s ok 31 /utils/atexit 1035s ok 32 /utils/check-setuid 1035s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1035s ok 33 /utils/int-limits 1035s ok 34 /utils/clear-list 1035s ok 35 /utils/clear-slist 1035s ok 36 /utils/steal-handle-id 1035s # Start of specialdir tests 1035s ok 37 /utils/specialdir/desktop 1035s # End of specialdir tests 1035s # Start of clear-pointer tests 1035s ok 38 /utils/clear-pointer/side-effects 1035s # End of clear-pointer tests 1035s # Start of aligned-mem tests 1035s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1035s ok 39 /utils/aligned-mem/alignment 1035s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1035s ok 40 /utils/aligned-mem/zeroed 1035s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1035s ok 41 /utils/aligned-mem/free-sized 1035s # Start of subprocess tests 1035s # End of subprocess tests 1035s # End of aligned-mem tests 1035s # End of utils tests 1035s ok - glib/utils-c-99.test 1035s # Running test: glib/rec-mutex.test 1035s TAP version 14 1035s # random seed: R02S2c60519e6b9b6678354dcd2368a5307d 1035s 1..29 1035s # Start of thread tests 1035s ok 1 /thread/rec-mutex1 1035s ok 2 /thread/rec-mutex2 1035s ok 3 /thread/rec-mutex3 1035s ok 4 /thread/rec-mutex4 1035s # Start of rec-mutex tests 1035s # Start of perf tests 1035s # Start of uncontended tests 1035s # max perf: inf mips 1035s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1035s # max perf: inf mips 1035s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1035s # max perf: inf mips 1035s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1035s # max perf: inf mips 1035s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1035s # max perf: inf mips 1035s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1035s # End of uncontended tests 1035s # Start of contended1 tests 1035s # max perf: 2.000000 mips 1035s ok 10 /thread/rec-mutex/perf/contended1/depth1 1035s # max perf: inf mips 1035s ok 11 /thread/rec-mutex/perf/contended1/depth2 1035s # max perf: inf mips 1035s ok 12 /thread/rec-mutex/perf/contended1/depth3 1035s # max perf: inf mips 1035s ok 13 /thread/rec-mutex/perf/contended1/depth4 1035s # max perf: inf mips 1035s ok 14 /thread/rec-mutex/perf/contended1/depth5 1035s # End of contended1 tests 1035s # Start of contended2 tests 1035s # max perf: inf mips 1035s ok 15 /thread/rec-mutex/perf/contended2/depth1 1035s # max perf: inf mips 1035s ok 16 /thread/rec-mutex/perf/contended2/depth2 1035s # max perf: inf mips 1035s ok 17 /thread/rec-mutex/perf/contended2/depth3 1035s # max perf: 3.000000 mips 1035s ok 18 /thread/rec-mutex/perf/contended2/depth4 1035s # max perf: 3.000000 mips 1035s ok 19 /thread/rec-mutex/perf/contended2/depth5 1035s # End of contended2 tests 1035s # Start of contended3 tests 1035s # max perf: inf mips 1035s ok 20 /thread/rec-mutex/perf/contended3/depth1 1035s # max perf: 4.000000 mips 1035s ok 21 /thread/rec-mutex/perf/contended3/depth2 1035s # max perf: 0.400000 mips 1035s ok 22 /thread/rec-mutex/perf/contended3/depth3 1035s # max perf: 4.000000 mips 1035s ok 23 /thread/rec-mutex/perf/contended3/depth4 1035s # max perf: 4.000000 mips 1035s ok 24 /thread/rec-mutex/perf/contended3/depth5 1035s # End of contended3 tests 1035s # Start of contended4 tests 1035s # max perf: 5.000000 mips 1035s ok 25 /thread/rec-mutex/perf/contended4/depth1 1035s # max perf: 5.000000 mips 1035s ok 26 /thread/rec-mutex/perf/contended4/depth2 1035s # max perf: inf mips 1035s ok 27 /thread/rec-mutex/perf/contended4/depth3 1035s # max perf: 5.000000 mips 1035s ok 28 /thread/rec-mutex/perf/contended4/depth4 1035s # max perf: 2.500000 mips 1035s ok 29 /thread/rec-mutex/perf/contended4/depth5 1035s # End of contended4 tests 1035s # End of perf tests 1035s # End of rec-mutex tests 1035s # End of thread tests 1035s ok - glib/rec-mutex.test 1035s # Running test: glib/singleton.test 1035s TAP version 14 1035s # random seed: R02Sa55061e9d268e2e2b2239044dfeb440a 1035s 1..2 1035s # Start of gobject tests 1035s # Start of singleton tests 1035s ok 1 /gobject/singleton/construction 1035s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1035s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1035s ok 2 /gobject/singleton/construct-property 1035s # End of singleton tests 1035s # End of gobject tests 1035s ok - glib/singleton.test 1035s # Running test: glib/search-utils.test 1035s TAP version 14 1035s # random seed: R02S8ed70e174bf5caf9fa86558f73348597 1035s # GLib-DEBUG: Current user locale: C.UTF-8 1035s 1..6 1035s # Start of search tests 1035s # GLib-DEBUG: Started 1035s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1035s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1035s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1035s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1035s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1035s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1035s ok 1 /search/basic 1035s # GLib-DEBUG: Started 1035s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1035s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1035s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1035s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 1035s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 1035s ok 2 /search/composed 1035s # GLib-DEBUG: Started 1035s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1035s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1035s ok 3 /search/decomposed 1035s # GLib-DEBUG: Started 1035s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK 1035s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1035s ok 4 /search/turkish 1035s # GLib-DEBUG: Started 1035s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1035s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1035s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1035s ok 5 /search/c_locale_unicode 1035s # GLib-DEBUG: Started 1035s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1035s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1035s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1035s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1035s ok 6 /search/multi_words 1035s # End of search tests 1035s ok - glib/search-utils.test 1035s # Running test: glib/gdbus-test-codegen-old.test 1035s TAP version 14 1035s # random seed: R02Sce88325bca146c6ec784d403006d8247 1035s 1..8 1035s # Start of gdbus tests 1035s # Start of codegen tests 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/annotations/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/annotations/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/annotations/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/annotations/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/annotations/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/annotations/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/annotations/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/annotations/.dirs/runtime 1035s ok 1 /gdbus/codegen/annotations 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/interface_stability/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/interface_stability/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/interface_stability/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/interface_stability/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/interface_stability/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/interface_stability/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/interface_stability/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/interface_stability/.dirs/runtime 1035s ok 2 /gdbus/codegen/interface_stability 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/object-manager/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/object-manager/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/object-manager/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/object-manager/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/object-manager/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/object-manager/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/object-manager/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/object-manager/.dirs/runtime 1035s ok 3 /gdbus/codegen/object-manager 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/property-naming/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/property-naming/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/property-naming/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/property-naming/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/property-naming/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/property-naming/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/property-naming/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/property-naming/.dirs/runtime 1035s ok 4 /gdbus/codegen/property-naming 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/autocleanups/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/autocleanups/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/autocleanups/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/autocleanups/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/autocleanups/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/autocleanups/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/autocleanups/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/autocleanups/.dirs/runtime 1035s ok 5 /gdbus/codegen/autocleanups 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/deprecations/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/deprecations/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/deprecations/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/deprecations/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/deprecations/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/deprecations/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/deprecations/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/deprecations/.dirs/runtime 1035s ok 6 /gdbus/codegen/deprecations 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/standalone-interface-info/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/standalone-interface-info/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/standalone-interface-info/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/standalone-interface-info/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/standalone-interface-info/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/standalone-interface-info/.dirs/runtime 1035s ok 7 /gdbus/codegen/standalone-interface-info 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/unix-fd-list/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/unix-fd-list/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/unix-fd-list/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/unix-fd-list/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/unix-fd-list/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/unix-fd-list/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/unix-fd-list/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_HW1612/gdbus/codegen/unix-fd-list/.dirs/runtime 1035s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1035s ok 8 /gdbus/codegen/unix-fd-list 1035s # End of codegen tests 1035s # End of gdbus tests 1035s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1035s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1035s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1035s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1035s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1035s ok - glib/gdbus-test-codegen-old.test 1035s # Running test: glib/mkenums.py.test 1035s TAP version 13 1035s ok 1 __main__.TestMkenums.test_available_in 1035s # tmpdir: /tmp/tmpjvhcsgfo 1035s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1035s # /tmp/tmpjvhcsgfo/tmpa0817lib.h: 1035s # typedef enum { 1035s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1035s # } GDBusServerFlags; 1035s # 1035s # /tmp/tmpjvhcsgfo/tmpuz3xfrrv.template: 1035s # /*** BEGIN file-header ***/ 1035s # file-header 1035s # /*** END file-header ***/ 1035s # 1035s # /*** BEGIN file-production ***/ 1035s # file-production 1035s # filename: @filename@ 1035s # basename: @basename@ 1035s # /*** END file-production ***/ 1035s # 1035s # /*** BEGIN enumeration-production ***/ 1035s # enumeration-production 1035s # EnumName: @EnumName@ 1035s # enum_name: @enum_name@ 1035s # ENUMNAME: @ENUMNAME@ 1035s # ENUMSHORT: @ENUMSHORT@ 1035s # ENUMPREFIX: @ENUMPREFIX@ 1035s # enumsince: @enumsince@ 1035s # type: @type@ 1035s # Type: @Type@ 1035s # TYPE: @TYPE@ 1035s # /*** END enumeration-production ***/ 1035s # 1035s # /*** BEGIN value-header ***/ 1035s # value-header 1035s # EnumName: @EnumName@ 1035s # enum_name: @enum_name@ 1035s # ENUMNAME: @ENUMNAME@ 1035s # ENUMSHORT: @ENUMSHORT@ 1035s # ENUMPREFIX: @ENUMPREFIX@ 1035s # enumsince: @enumsince@ 1035s # type: @type@ 1035s # Type: @Type@ 1035s # TYPE: @TYPE@ 1035s # /*** END value-header ***/ 1035s # 1035s # /*** BEGIN value-production ***/ 1035s # value-production 1035s # VALUENAME: @VALUENAME@ 1035s # valuenick: @valuenick@ 1035s # valuenum: @valuenum@ 1035s # type: @type@ 1035s # Type: @Type@ 1035s # TYPE: @TYPE@ 1035s # /*** END value-production ***/ 1035s # 1035s # /*** BEGIN value-tail ***/ 1035s # value-tail 1035s # EnumName: @EnumName@ 1035s # enum_name: @enum_name@ 1035s # ENUMNAME: @ENUMNAME@ 1035s # ENUMSHORT: @ENUMSHORT@ 1035s # ENUMPREFIX: @ENUMPREFIX@ 1035s # enumsince: @enumsince@ 1035s # type: @type@ 1035s # Type: @Type@ 1035s # TYPE: @TYPE@ 1035s # /*** END value-tail ***/ 1035s # 1035s # /*** BEGIN comment ***/ 1035s # comment 1035s # comment: @comment@ 1035s # /*** END comment ***/ 1035s # 1035s # /*** BEGIN file-tail ***/ 1035s # file-tail 1035s # /*** END file-tail ***/ 1035s # 1035s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpjvhcsgfo/tmpuz3xfrrv.template', '/tmp/tmpjvhcsgfo/tmpa0817lib.h'] 1035s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1035s # Output: comment 1035s # 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. 1035s # 1035s # 1035s # file-header 1035s # file-production 1035s # filename: /tmp/tmpjvhcsgfo/tmpa0817lib.h 1035s # basename: tmpa0817lib.h 1035s # enumeration-production 1035s # EnumName: GDBusServerFlags 1035s # enum_name: g_dbus_server_flags 1035s # ENUMNAME: G_DBUS_SERVER_FLAGS 1035s # ENUMSHORT: DBUS_SERVER_FLAGS 1035s # ENUMPREFIX: G 1035s # enumsince: 1035s # type: flags 1035s # Type: Flags 1035s # TYPE: FLAGS 1035s # value-header 1035s # EnumName: GDBusServerFlags 1035s # enum_name: g_dbus_server_flags 1035s # ENUMNAME: G_DBUS_SERVER_FLAGS 1035s # ENUMSHORT: DBUS_SERVER_FLAGS 1035s # ENUMPREFIX: G 1035s # enumsince: 1035s # type: flags 1035s # Type: Flags 1035s # TYPE: FLAGS 1035s # value-production 1035s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1035s # valuenick: user 1035s # valuenum: 4 1035s # type: flags 1035s # Type: Flags 1035s # TYPE: FLAGS 1035s # value-tail 1035s # EnumName: GDBusServerFlags 1035s # enum_name: g_dbus_server_flags 1035s # ENUMNAME: G_DBUS_SERVER_FLAGS 1035s # ENUMSHORT: DBUS_SERVER_FLAGS 1035s # ENUMPREFIX: G 1035s # enumsince: 1035s # type: flags 1035s # Type: Flags 1035s # TYPE: FLAGS 1035s # file-tail 1035s # 1035s # comment 1035s # comment: Generated data ends here 1036s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1036s # tmpdir: /tmp/tmpf8vagnz3 1036s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmpf8vagnz3/tmpjfbwjtlc.h: 1036s # typedef enum { 1036s # ENUM_VALUE_WITH_COMMA = ',', 1036s # } TestCommaEnum; 1036s # 1036s # /tmp/tmpf8vagnz3/tmp01fz0zbd.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpf8vagnz3/tmp01fz0zbd.template', '/tmp/tmpf8vagnz3/tmpjfbwjtlc.h'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-production 1036s # filename: /tmp/tmpf8vagnz3/tmpjfbwjtlc.h 1036s # basename: tmpjfbwjtlc.h 1036s # enumeration-production 1036s # EnumName: TestCommaEnum 1036s # enum_name: test_comma_enum 1036s # ENUMNAME: TEST_COMMA_ENUM 1036s # ENUMSHORT: COMMA_ENUM 1036s # ENUMPREFIX: TEST 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-header 1036s # EnumName: TestCommaEnum 1036s # enum_name: test_comma_enum 1036s # ENUMNAME: TEST_COMMA_ENUM 1036s # ENUMSHORT: COMMA_ENUM 1036s # ENUMPREFIX: TEST 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-production 1036s # VALUENAME: ENUM_VALUE_WITH_COMMA 1036s # valuenick: comma 1036s # valuenum: 44 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-tail 1036s # EnumName: TestCommaEnum 1036s # enum_name: test_comma_enum 1036s # ENUMNAME: TEST_COMMA_ENUM 1036s # ENUMSHORT: COMMA_ENUM 1036s # ENUMPREFIX: TEST 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 3 __main__.TestMkenums.test_deprecated_in 1036s # tmpdir: /tmp/tmpa2t75pd2 1036s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmpa2t75pd2/tmpuhqitxdq.h: 1036s # typedef enum { 1036s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1036s # } GDBusServerFlags; 1036s # 1036s # /tmp/tmpa2t75pd2/tmp172awzvn.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpa2t75pd2/tmp172awzvn.template', '/tmp/tmpa2t75pd2/tmpuhqitxdq.h'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-production 1036s # filename: /tmp/tmpa2t75pd2/tmpuhqitxdq.h 1036s # basename: tmpuhqitxdq.h 1036s # enumeration-production 1036s # EnumName: GDBusServerFlags 1036s # enum_name: g_dbus_server_flags 1036s # ENUMNAME: G_DBUS_SERVER_FLAGS 1036s # ENUMSHORT: DBUS_SERVER_FLAGS 1036s # ENUMPREFIX: G 1036s # enumsince: 1036s # type: flags 1036s # Type: Flags 1036s # TYPE: FLAGS 1036s # value-header 1036s # EnumName: GDBusServerFlags 1036s # enum_name: g_dbus_server_flags 1036s # ENUMNAME: G_DBUS_SERVER_FLAGS 1036s # ENUMSHORT: DBUS_SERVER_FLAGS 1036s # ENUMPREFIX: G 1036s # enumsince: 1036s # type: flags 1036s # Type: Flags 1036s # TYPE: FLAGS 1036s # value-production 1036s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1036s # valuenick: user 1036s # valuenum: 4 1036s # type: flags 1036s # Type: Flags 1036s # TYPE: FLAGS 1036s # value-tail 1036s # EnumName: GDBusServerFlags 1036s # enum_name: g_dbus_server_flags 1036s # ENUMNAME: G_DBUS_SERVER_FLAGS 1036s # ENUMSHORT: DBUS_SERVER_FLAGS 1036s # ENUMPREFIX: G 1036s # enumsince: 1036s # type: flags 1036s # Type: Flags 1036s # TYPE: FLAGS 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 4 __main__.TestMkenums.test_deprecated_in_for 1036s # tmpdir: /tmp/tmphhq3wnrx 1036s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmphhq3wnrx/tmprziuws6k.h: 1036s # typedef enum { 1036s # 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) 1036s # } GDBusServerFlags; 1036s # 1036s # /tmp/tmphhq3wnrx/tmp50vqo08f.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphhq3wnrx/tmp50vqo08f.template', '/tmp/tmphhq3wnrx/tmprziuws6k.h'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-production 1036s # filename: /tmp/tmphhq3wnrx/tmprziuws6k.h 1036s # basename: tmprziuws6k.h 1036s # enumeration-production 1036s # EnumName: GDBusServerFlags 1036s # enum_name: g_dbus_server_flags 1036s # ENUMNAME: G_DBUS_SERVER_FLAGS 1036s # ENUMSHORT: DBUS_SERVER_FLAGS 1036s # ENUMPREFIX: G 1036s # enumsince: 1036s # type: flags 1036s # Type: Flags 1036s # TYPE: FLAGS 1036s # value-header 1036s # EnumName: GDBusServerFlags 1036s # enum_name: g_dbus_server_flags 1036s # ENUMNAME: G_DBUS_SERVER_FLAGS 1036s # ENUMSHORT: DBUS_SERVER_FLAGS 1036s # ENUMPREFIX: G 1036s # enumsince: 1036s # type: flags 1036s # Type: Flags 1036s # TYPE: FLAGS 1036s # value-production 1036s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1036s # valuenick: user 1036s # valuenum: 4 1036s # type: flags 1036s # Type: Flags 1036s # TYPE: FLAGS 1036s # value-tail 1036s # EnumName: GDBusServerFlags 1036s # enum_name: g_dbus_server_flags 1036s # ENUMNAME: G_DBUS_SERVER_FLAGS 1036s # ENUMSHORT: DBUS_SERVER_FLAGS 1036s # ENUMPREFIX: G 1036s # enumsince: 1036s # type: flags 1036s # Type: Flags 1036s # TYPE: FLAGS 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 5 __main__.TestMkenums.test_empty_header 1036s # tmpdir: /tmp/tmpcffj08yv 1036s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmpcffj08yv/tmpuv93fpiw.h: 1036s # /tmp/tmpcffj08yv/tmp6w7amw1h.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcffj08yv/tmp6w7amw1h.template', '/tmp/tmpcffj08yv/tmpuv93fpiw.h'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 6 __main__.TestMkenums.test_empty_template 1036s # tmpdir: /tmp/tmpv97kxkhg 1036s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmpv97kxkhg/tmphbq2viif.template: 1036s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpv97kxkhg/tmphbq2viif.template'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # 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. */ 1036s # 1036s # 1036s # /* Generated data ends here */ 1036s ok 7 __main__.TestMkenums.test_enum_name 1036s # tmpdir: /tmp/tmphon_pyh1 1036s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmphon_pyh1/tmpny3zaisr.h: 1036s # typedef enum _SomeEnumIdentifier { 1036s # ENUM_VALUE 1036s # } SomeEnumIdentifier; 1036s # 1036s # /tmp/tmphon_pyh1/tmpsobhoqiq.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphon_pyh1/tmpsobhoqiq.template', '/tmp/tmphon_pyh1/tmpny3zaisr.h'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-production 1036s # filename: /tmp/tmphon_pyh1/tmpny3zaisr.h 1036s # basename: tmpny3zaisr.h 1036s # enumeration-production 1036s # EnumName: SomeEnumIdentifier 1036s # enum_name: some_enum_identifier 1036s # ENUMNAME: SOME_ENUM_IDENTIFIER 1036s # ENUMSHORT: ENUM_IDENTIFIER 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-header 1036s # EnumName: SomeEnumIdentifier 1036s # enum_name: some_enum_identifier 1036s # ENUMNAME: SOME_ENUM_IDENTIFIER 1036s # ENUMSHORT: ENUM_IDENTIFIER 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-production 1036s # VALUENAME: ENUM_VALUE 1036s # valuenick: value 1036s # valuenum: 0 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-tail 1036s # EnumName: SomeEnumIdentifier 1036s # enum_name: some_enum_identifier 1036s # ENUMNAME: SOME_ENUM_IDENTIFIER 1036s # ENUMSHORT: ENUM_IDENTIFIER 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 8 __main__.TestMkenums.test_enum_private_public 1036s # tmpdir: /tmp/tmpz3i85ix2 1036s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmpz3i85ix2/tmp89vpdh1u.h: 1036s # typedef enum { 1036s # ENUM_VALUE_PUBLIC1, 1036s # /*< private >*/ 1036s # ENUM_VALUE_PRIVATE, 1036s # } SomeEnumA 1036s # 1036s # /tmp/tmpz3i85ix2/tmpftmsme2g.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpz3i85ix2/tmpftmsme2g.template', '/tmp/tmpz3i85ix2/tmp89vpdh1u.h'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-production 1036s # filename: /tmp/tmpz3i85ix2/tmp89vpdh1u.h 1036s # basename: tmp89vpdh1u.h 1036s # enumeration-production 1036s # EnumName: SomeEnumA 1036s # enum_name: some_enum_a 1036s # ENUMNAME: SOME_ENUM_A 1036s # ENUMSHORT: ENUM_A 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-header 1036s # EnumName: SomeEnumA 1036s # enum_name: some_enum_a 1036s # ENUMNAME: SOME_ENUM_A 1036s # ENUMSHORT: ENUM_A 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-production 1036s # VALUENAME: ENUM_VALUE_PUBLIC1 1036s # valuenick: public1 1036s # valuenum: 0 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-tail 1036s # EnumName: SomeEnumA 1036s # enum_name: some_enum_a 1036s # ENUMNAME: SOME_ENUM_A 1036s # ENUMSHORT: ENUM_A 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s # /tmp/tmpz3i85ix2/tmpc67cpaj4.h: 1036s # typedef enum { 1036s # /*< private >*/ 1036s # ENUM_VALUE_PRIVATE, 1036s # /*< public >*/ 1036s # ENUM_VALUE_PUBLIC2, 1036s # } SomeEnumB; 1036s # 1036s # /tmp/tmpz3i85ix2/tmp_nhf8lji.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpz3i85ix2/tmp_nhf8lji.template', '/tmp/tmpz3i85ix2/tmpc67cpaj4.h'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-production 1036s # filename: /tmp/tmpz3i85ix2/tmpc67cpaj4.h 1036s # basename: tmpc67cpaj4.h 1036s # enumeration-production 1036s # EnumName: SomeEnumB 1036s # enum_name: some_enum_b 1036s # ENUMNAME: SOME_ENUM_B 1036s # ENUMSHORT: ENUM_B 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-header 1036s # EnumName: SomeEnumB 1036s # enum_name: some_enum_b 1036s # ENUMNAME: SOME_ENUM_B 1036s # ENUMSHORT: ENUM_B 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-production 1036s # VALUENAME: ENUM_VALUE_PUBLIC2 1036s # valuenick: public2 1036s # valuenum: 1 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-tail 1036s # EnumName: SomeEnumB 1036s # enum_name: some_enum_b 1036s # ENUMNAME: SOME_ENUM_B 1036s # ENUMSHORT: ENUM_B 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1036s # tmpdir: /tmp/tmp2n3m4_f5 1036s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmp2n3m4_f5/tmpj8dj__s7.h: 1036s # typedef enum { 1036s # /*< private >*/ 1036s # ENUM_VALUE_PRIVATE = 5, 1036s # /*< public >*/ 1036s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1036s # } TestSymbolicEnum; 1036s # 1036s # /tmp/tmp2n3m4_f5/tmpt7tzqo_m.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2n3m4_f5/tmpt7tzqo_m.template', '/tmp/tmp2n3m4_f5/tmpj8dj__s7.h'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-production 1036s # filename: /tmp/tmp2n3m4_f5/tmpj8dj__s7.h 1036s # basename: tmpj8dj__s7.h 1036s # enumeration-production 1036s # EnumName: TestSymbolicEnum 1036s # enum_name: test_symbolic_enum 1036s # ENUMNAME: TEST_SYMBOLIC_ENUM 1036s # ENUMSHORT: SYMBOLIC_ENUM 1036s # ENUMPREFIX: TEST 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-header 1036s # EnumName: TestSymbolicEnum 1036s # enum_name: test_symbolic_enum 1036s # ENUMNAME: TEST_SYMBOLIC_ENUM 1036s # ENUMSHORT: SYMBOLIC_ENUM 1036s # ENUMPREFIX: TEST 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-production 1036s # VALUENAME: ENUM_VALUE_PUBLIC 1036s # valuenick: public 1036s # valuenum: 7 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-tail 1036s # EnumName: TestSymbolicEnum 1036s # enum_name: test_symbolic_enum 1036s # ENUMNAME: TEST_SYMBOLIC_ENUM 1036s # ENUMSHORT: SYMBOLIC_ENUM 1036s # ENUMPREFIX: TEST 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1036s # tmpdir: /tmp/tmp58zh20ik 1036s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmp58zh20ik/tmpp9ob5qd8.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-tail ***/ 1036s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp58zh20ik/tmpp9ob5qd8.template'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # file-tail 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 11 __main__.TestMkenums.test_help 1036s # tmpdir: /tmp/tmpbsyukpup 1036s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1036s # Running: ['/usr/bin/glib-mkenums', '--help'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1036s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1036s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1036s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1036s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1036s # [--output OUTPUT] [--version] 1036s # [args ...] 1036s # 1036s # positional arguments: 1036s # args One or more input files, or a single argument 1036s # @rspfile_path pointing to a file that contains the 1036s # actual arguments 1036s # 1036s # options: 1036s # -h, --help show this help message and exit 1036s # --identifier-prefix IDPREFIX 1036s # Identifier prefix 1036s # --symbol-prefix SYMPREFIX 1036s # Symbol prefix 1036s # --fhead FHEAD Output file header 1036s # --ftail FTAIL Output file footer 1036s # --fprod FPROD Put out TEXT every time a new input file is being 1036s # processed. 1036s # --eprod EPROD Per enum text, produced prior to value iterations 1036s # --vhead VHEAD Value header, produced before iterating over enum 1036s # values 1036s # --vprod VPROD Value text, produced for each enum value. 1036s # --vtail VTAIL Value tail, produced after iterating over enum values 1036s # --comments COMMENT_TMPL 1036s # Comment structure 1036s # --template TEMPLATE Template file 1036s # --output OUTPUT 1036s # --version, -v Print version information 1036s # 1036s # Production text substitutions: 1036s # @EnumName@ PrefixTheXEnum 1036s # @enum_name@ prefix_the_xenum 1036s # @ENUMNAME@ PREFIX_THE_XENUM 1036s # @ENUMSHORT@ THE_XENUM 1036s # @ENUMPREFIX@ PREFIX 1036s # @enumsince@ the user-provided since value given 1036s # @VALUENAME@ PREFIX_THE_XVALUE 1036s # @valuenick@ the-xvalue 1036s # @valuenum@ the integer value (limited support, Since: 2.26) 1036s # @type@ either enum or flags 1036s # @Type@ either Enum or Flags 1036s # @TYPE@ either ENUM or FLAGS 1036s # @filename@ name of current input file 1036s # @basename@ base name of the current input file (Since: 2.22) 1036s ok 12 __main__.TestMkenums.test_no_args 1036s # tmpdir: /tmp/tmp5r54dafz 1036s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1036s # Running: ['/usr/bin/glib-mkenums'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # 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. */ 1036s # 1036s # 1036s # /* Generated data ends here */ 1036s ok 13 __main__.TestMkenums.test_no_headers 1036s # tmpdir: /tmp/tmplbz3l2mu 1036s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmplbz3l2mu/tmpb56dtv95.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplbz3l2mu/tmpb56dtv95.template'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 14 __main__.TestMkenums.test_no_nick 1036s # tmpdir: /tmp/tmpe_xvccix 1036s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmpe_xvccix/tmpt0_js5sh.h: 1036s # typedef enum { 1036s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1036s # } GeglSamplerType; 1036s # 1036s # /tmp/tmpe_xvccix/tmprn3pvmqc.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpe_xvccix/tmprn3pvmqc.template', '/tmp/tmpe_xvccix/tmpt0_js5sh.h'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-production 1036s # filename: /tmp/tmpe_xvccix/tmpt0_js5sh.h 1036s # basename: tmpt0_js5sh.h 1036s # enumeration-production 1036s # EnumName: GeglSamplerType 1036s # enum_name: gegl_sampler_type 1036s # ENUMNAME: GEGL_SAMPLER_TYPE 1036s # ENUMSHORT: SAMPLER_TYPE 1036s # ENUMPREFIX: GEGL 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-header 1036s # EnumName: GeglSamplerType 1036s # enum_name: gegl_sampler_type 1036s # ENUMNAME: GEGL_SAMPLER_TYPE 1036s # ENUMSHORT: SAMPLER_TYPE 1036s # ENUMPREFIX: GEGL 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-production 1036s # VALUENAME: GEGL_SAMPLER_NEAREST 1036s # valuenick: nearest 1036s # valuenum: 0 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-tail 1036s # EnumName: GeglSamplerType 1036s # enum_name: gegl_sampler_type 1036s # ENUMNAME: GEGL_SAMPLER_TYPE 1036s # ENUMSHORT: SAMPLER_TYPE 1036s # ENUMPREFIX: GEGL 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1036s # tmpdir: /tmp/tmp09avwlqu 1036s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmp09avwlqu/tmp1i0m6y97.h: 1036s # /* Copyright © La Peña */ 1036s # typedef enum { 1036s # ENUM_VALUE 1036s # } SomeEnumIdentifier; 1036s # 1036s # /tmp/tmp09avwlqu/tmpuxoohlpp.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp09avwlqu/tmpuxoohlpp.template', '/tmp/tmp09avwlqu/tmp1i0m6y97.h'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-production 1036s # filename: /tmp/tmp09avwlqu/tmp1i0m6y97.h 1036s # basename: tmp1i0m6y97.h 1036s # enumeration-production 1036s # EnumName: SomeEnumIdentifier 1036s # enum_name: some_enum_identifier 1036s # ENUMNAME: SOME_ENUM_IDENTIFIER 1036s # ENUMSHORT: ENUM_IDENTIFIER 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-header 1036s # EnumName: SomeEnumIdentifier 1036s # enum_name: some_enum_identifier 1036s # ENUMNAME: SOME_ENUM_IDENTIFIER 1036s # ENUMSHORT: ENUM_IDENTIFIER 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-production 1036s # VALUENAME: ENUM_VALUE 1036s # valuenick: value 1036s # valuenum: 0 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-tail 1036s # EnumName: SomeEnumIdentifier 1036s # enum_name: some_enum_identifier 1036s # ENUMNAME: SOME_ENUM_IDENTIFIER 1036s # ENUMSHORT: ENUM_IDENTIFIER 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 16 __main__.TestMkenums.test_reproducible 1036s # tmpdir: /tmp/tmp00i02rfv 1036s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmp00i02rfv/tmp3r6phfbu.template: template 1036s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp00i02rfv/tmp3r6phfbu.template', '/tmp/tmp00i02rfv/tmpyunfmv0r1.h', '/tmp/tmp00i02rfv/tmpnooc00al2.h'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # 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. */ 1036s # 1036s # 1036s # /* Generated data ends here */ 1036s # /tmp/tmp00i02rfv/tmp5qcayk93.template: template 1036s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp00i02rfv/tmp5qcayk93.template', '/tmp/tmp00i02rfv/tmpnooc00al2.h', '/tmp/tmp00i02rfv/tmpyunfmv0r1.h'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # 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. */ 1036s # 1036s # 1036s # /* Generated data ends here */ 1036s ok 17 __main__.TestMkenums.test_since 1036s # tmpdir: /tmp/tmp3r425p0w 1036s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmp3r425p0w/tmpcgy0jplo.h: 1036s # typedef enum { /*< since=1.0 >*/ 1036s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1036s # } QmiWmsMessageProtocol; 1036s # 1036s # /tmp/tmp3r425p0w/tmpmo_d0ndt.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp3r425p0w/tmpmo_d0ndt.template', '/tmp/tmp3r425p0w/tmpcgy0jplo.h'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-production 1036s # filename: /tmp/tmp3r425p0w/tmpcgy0jplo.h 1036s # basename: tmpcgy0jplo.h 1036s # enumeration-production 1036s # EnumName: QmiWmsMessageProtocol 1036s # enum_name: qmi_wms_message_protocol 1036s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1036s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1036s # ENUMPREFIX: QMI 1036s # enumsince: 1.0 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-header 1036s # EnumName: QmiWmsMessageProtocol 1036s # enum_name: qmi_wms_message_protocol 1036s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1036s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1036s # ENUMPREFIX: QMI 1036s # enumsince: 1.0 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-production 1036s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1036s # valuenick: cdma 1036s # valuenum: 0 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-tail 1036s # EnumName: QmiWmsMessageProtocol 1036s # enum_name: qmi_wms_message_protocol 1036s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1036s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1036s # ENUMPREFIX: QMI 1036s # enumsince: 1.0 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 18 __main__.TestMkenums.test_with_double_quotes 1036s # tmpdir: /tmp/tmpxz3p_xh_ 1036s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmpxz3p_xh_/tmpcru8z1wn.h: 1036s # typedef enum { 1036s # FOO_VALUE /*< nick="eek, a comma" >*/ 1036s # } Foo; 1036s # 1036s # /tmp/tmpxz3p_xh_/tmpxmrscdq5.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxz3p_xh_/tmpxmrscdq5.template', '/tmp/tmpxz3p_xh_/tmpcru8z1wn.h'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-production 1036s # filename: /tmp/tmpxz3p_xh_/tmpcru8z1wn.h 1036s # basename: tmpcru8z1wn.h 1036s # enumeration-production 1036s # EnumName: Foo 1036s # enum_name: foo_ 1036s # ENUMNAME: FOO_ 1036s # ENUMSHORT: 1036s # ENUMPREFIX: FOO 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-header 1036s # EnumName: Foo 1036s # enum_name: foo_ 1036s # ENUMNAME: FOO_ 1036s # ENUMSHORT: 1036s # ENUMPREFIX: FOO 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-production 1036s # VALUENAME: FOO_VALUE 1036s # valuenick: eek, a comma 1036s # valuenum: 0 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-tail 1036s # EnumName: Foo 1036s # enum_name: foo_ 1036s # ENUMNAME: FOO_ 1036s # ENUMSHORT: 1036s # ENUMPREFIX: FOO 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 19 __main__.TestRspMkenums.test_available_in 1036s # tmpdir: /tmp/tmp7b39lgaj 1036s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmp7b39lgaj/tmpb7_6tdin.h: 1036s # typedef enum { 1036s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1036s # } GDBusServerFlags; 1036s # 1036s # /tmp/tmp7b39lgaj/tmp8aiyc06g.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Response file contains: --template /tmp/tmp7b39lgaj/tmp8aiyc06g.template /tmp/tmp7b39lgaj/tmpb7_6tdin.h 1036s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7b39lgaj/tmpbpsyx52n'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-production 1036s # filename: /tmp/tmp7b39lgaj/tmpb7_6tdin.h 1036s # basename: tmpb7_6tdin.h 1036s # enumeration-production 1036s # EnumName: GDBusServerFlags 1036s # enum_name: g_dbus_server_flags 1036s # ENUMNAME: G_DBUS_SERVER_FLAGS 1036s # ENUMSHORT: DBUS_SERVER_FLAGS 1036s # ENUMPREFIX: G 1036s # enumsince: 1036s # type: flags 1036s # Type: Flags 1036s # TYPE: FLAGS 1036s # value-header 1036s # EnumName: GDBusServerFlags 1036s # enum_name: g_dbus_server_flags 1036s # ENUMNAME: G_DBUS_SERVER_FLAGS 1036s # ENUMSHORT: DBUS_SERVER_FLAGS 1036s # ENUMPREFIX: G 1036s # enumsince: 1036s # type: flags 1036s # Type: Flags 1036s # TYPE: FLAGS 1036s # value-production 1036s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1036s # valuenick: user 1036s # valuenum: 4 1036s # type: flags 1036s # Type: Flags 1036s # TYPE: FLAGS 1036s # value-tail 1036s # EnumName: GDBusServerFlags 1036s # enum_name: g_dbus_server_flags 1036s # ENUMNAME: G_DBUS_SERVER_FLAGS 1036s # ENUMSHORT: DBUS_SERVER_FLAGS 1036s # ENUMPREFIX: G 1036s # enumsince: 1036s # type: flags 1036s # Type: Flags 1036s # TYPE: FLAGS 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1036s # tmpdir: /tmp/tmpdejz31i3 1036s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmpdejz31i3/tmpat7nhjw3.h: 1036s # typedef enum { 1036s # ENUM_VALUE_WITH_COMMA = ',', 1036s # } TestCommaEnum; 1036s # 1036s # /tmp/tmpdejz31i3/tmp_oerchrr.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Response file contains: --template /tmp/tmpdejz31i3/tmp_oerchrr.template /tmp/tmpdejz31i3/tmpat7nhjw3.h 1036s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpdejz31i3/tmp9ririvy0'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-production 1036s # filename: /tmp/tmpdejz31i3/tmpat7nhjw3.h 1036s # basename: tmpat7nhjw3.h 1036s # enumeration-production 1036s # EnumName: TestCommaEnum 1036s # enum_name: test_comma_enum 1036s # ENUMNAME: TEST_COMMA_ENUM 1036s # ENUMSHORT: COMMA_ENUM 1036s # ENUMPREFIX: TEST 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-header 1036s # EnumName: TestCommaEnum 1036s # enum_name: test_comma_enum 1036s # ENUMNAME: TEST_COMMA_ENUM 1036s # ENUMSHORT: COMMA_ENUM 1036s # ENUMPREFIX: TEST 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-production 1036s # VALUENAME: ENUM_VALUE_WITH_COMMA 1036s # valuenick: comma 1036s # valuenum: 44 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-tail 1036s # EnumName: TestCommaEnum 1036s # enum_name: test_comma_enum 1036s # ENUMNAME: TEST_COMMA_ENUM 1036s # ENUMSHORT: COMMA_ENUM 1036s # ENUMPREFIX: TEST 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 21 __main__.TestRspMkenums.test_deprecated_in 1036s # tmpdir: /tmp/tmpzqxwrje8 1036s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmpzqxwrje8/tmp43yvvbzd.h: 1036s # typedef enum { 1036s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1036s # } GDBusServerFlags; 1036s # 1036s # /tmp/tmpzqxwrje8/tmpglwarp1n.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Response file contains: --template /tmp/tmpzqxwrje8/tmpglwarp1n.template /tmp/tmpzqxwrje8/tmp43yvvbzd.h 1036s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzqxwrje8/tmpyquzmjd3'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-production 1036s # filename: /tmp/tmpzqxwrje8/tmp43yvvbzd.h 1036s # basename: tmp43yvvbzd.h 1036s # enumeration-production 1036s # EnumName: GDBusServerFlags 1036s # enum_name: g_dbus_server_flags 1036s # ENUMNAME: G_DBUS_SERVER_FLAGS 1036s # ENUMSHORT: DBUS_SERVER_FLAGS 1036s # ENUMPREFIX: G 1036s # enumsince: 1036s # type: flags 1036s # Type: Flags 1036s # TYPE: FLAGS 1036s # value-header 1036s # EnumName: GDBusServerFlags 1036s # enum_name: g_dbus_server_flags 1036s # ENUMNAME: G_DBUS_SERVER_FLAGS 1036s # ENUMSHORT: DBUS_SERVER_FLAGS 1036s # ENUMPREFIX: G 1036s # enumsince: 1036s # type: flags 1036s # Type: Flags 1036s # TYPE: FLAGS 1036s # value-production 1036s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1036s # valuenick: user 1036s # valuenum: 4 1036s # type: flags 1036s # Type: Flags 1036s # TYPE: FLAGS 1036s # value-tail 1036s # EnumName: GDBusServerFlags 1036s # enum_name: g_dbus_server_flags 1036s # ENUMNAME: G_DBUS_SERVER_FLAGS 1036s # ENUMSHORT: DBUS_SERVER_FLAGS 1036s # ENUMPREFIX: G 1036s # enumsince: 1036s # type: flags 1036s # Type: Flags 1036s # TYPE: FLAGS 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1036s # tmpdir: /tmp/tmpnxj5i0hs 1036s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmpnxj5i0hs/tmpwkd7e19h.h: 1036s # typedef enum { 1036s # 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) 1036s # } GDBusServerFlags; 1036s # 1036s # /tmp/tmpnxj5i0hs/tmp1pb0kab9.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Response file contains: --template /tmp/tmpnxj5i0hs/tmp1pb0kab9.template /tmp/tmpnxj5i0hs/tmpwkd7e19h.h 1036s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpnxj5i0hs/tmp9oa3v0aa'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-production 1036s # filename: /tmp/tmpnxj5i0hs/tmpwkd7e19h.h 1036s # basename: tmpwkd7e19h.h 1036s # enumeration-production 1036s # EnumName: GDBusServerFlags 1036s # enum_name: g_dbus_server_flags 1036s # ENUMNAME: G_DBUS_SERVER_FLAGS 1036s # ENUMSHORT: DBUS_SERVER_FLAGS 1036s # ENUMPREFIX: G 1036s # enumsince: 1036s # type: flags 1036s # Type: Flags 1036s # TYPE: FLAGS 1036s # value-header 1036s # EnumName: GDBusServerFlags 1036s # enum_name: g_dbus_server_flags 1036s # ENUMNAME: G_DBUS_SERVER_FLAGS 1036s # ENUMSHORT: DBUS_SERVER_FLAGS 1036s # ENUMPREFIX: G 1036s # enumsince: 1036s # type: flags 1036s # Type: Flags 1036s # TYPE: FLAGS 1036s # value-production 1036s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1036s # valuenick: user 1036s # valuenum: 4 1036s # type: flags 1036s # Type: Flags 1036s # TYPE: FLAGS 1036s # value-tail 1036s # EnumName: GDBusServerFlags 1036s # enum_name: g_dbus_server_flags 1036s # ENUMNAME: G_DBUS_SERVER_FLAGS 1036s # ENUMSHORT: DBUS_SERVER_FLAGS 1036s # ENUMPREFIX: G 1036s # enumsince: 1036s # type: flags 1036s # Type: Flags 1036s # TYPE: FLAGS 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 23 __main__.TestRspMkenums.test_empty_header 1036s # tmpdir: /tmp/tmp7wsxl1_7 1036s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmp7wsxl1_7/tmpl2ax8l_0.h: 1036s # /tmp/tmp7wsxl1_7/tmpqybw8ts6.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Response file contains: --template /tmp/tmp7wsxl1_7/tmpqybw8ts6.template /tmp/tmp7wsxl1_7/tmpl2ax8l_0.h 1036s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7wsxl1_7/tmp17yjul74'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 24 __main__.TestRspMkenums.test_empty_template 1036s # tmpdir: /tmp/tmp3ovk5zln 1036s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmp3ovk5zln/tmpxbv1bn29.template: 1036s # Response file contains: --template /tmp/tmp3ovk5zln/tmpxbv1bn29.template 1036s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3ovk5zln/tmpdx0zy2w7'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # 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. */ 1036s # 1036s # 1036s # /* Generated data ends here */ 1036s ok 25 __main__.TestRspMkenums.test_enum_name 1036s # tmpdir: /tmp/tmpb4ptc6xs 1036s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmpb4ptc6xs/tmpbv8jmujb.h: 1036s # typedef enum _SomeEnumIdentifier { 1036s # ENUM_VALUE 1036s # } SomeEnumIdentifier; 1036s # 1036s # /tmp/tmpb4ptc6xs/tmp2q_k25dw.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Response file contains: --template /tmp/tmpb4ptc6xs/tmp2q_k25dw.template /tmp/tmpb4ptc6xs/tmpbv8jmujb.h 1036s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpb4ptc6xs/tmps68b7zob'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-production 1036s # filename: /tmp/tmpb4ptc6xs/tmpbv8jmujb.h 1036s # basename: tmpbv8jmujb.h 1036s # enumeration-production 1036s # EnumName: SomeEnumIdentifier 1036s # enum_name: some_enum_identifier 1036s # ENUMNAME: SOME_ENUM_IDENTIFIER 1036s # ENUMSHORT: ENUM_IDENTIFIER 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-header 1036s # EnumName: SomeEnumIdentifier 1036s # enum_name: some_enum_identifier 1036s # ENUMNAME: SOME_ENUM_IDENTIFIER 1036s # ENUMSHORT: ENUM_IDENTIFIER 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-production 1036s # VALUENAME: ENUM_VALUE 1036s # valuenick: value 1036s # valuenum: 0 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-tail 1036s # EnumName: SomeEnumIdentifier 1036s # enum_name: some_enum_identifier 1036s # ENUMNAME: SOME_ENUM_IDENTIFIER 1036s # ENUMSHORT: ENUM_IDENTIFIER 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 26 __main__.TestRspMkenums.test_enum_private_public 1036s # tmpdir: /tmp/tmpsi8lw823 1036s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmpsi8lw823/tmpm0f0hxgf.h: 1036s # typedef enum { 1036s # ENUM_VALUE_PUBLIC1, 1036s # /*< private >*/ 1036s # ENUM_VALUE_PRIVATE, 1036s # } SomeEnumA 1036s # 1036s # /tmp/tmpsi8lw823/tmpfmpkewcr.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Response file contains: --template /tmp/tmpsi8lw823/tmpfmpkewcr.template /tmp/tmpsi8lw823/tmpm0f0hxgf.h 1036s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsi8lw823/tmprhk5clg2'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-production 1036s # filename: /tmp/tmpsi8lw823/tmpm0f0hxgf.h 1036s # basename: tmpm0f0hxgf.h 1036s # enumeration-production 1036s # EnumName: SomeEnumA 1036s # enum_name: some_enum_a 1036s # ENUMNAME: SOME_ENUM_A 1036s # ENUMSHORT: ENUM_A 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-header 1036s # EnumName: SomeEnumA 1036s # enum_name: some_enum_a 1036s # ENUMNAME: SOME_ENUM_A 1036s # ENUMSHORT: ENUM_A 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-production 1036s # VALUENAME: ENUM_VALUE_PUBLIC1 1036s # valuenick: public1 1036s # valuenum: 0 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-tail 1036s # EnumName: SomeEnumA 1036s # enum_name: some_enum_a 1036s # ENUMNAME: SOME_ENUM_A 1036s # ENUMSHORT: ENUM_A 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s # /tmp/tmpsi8lw823/tmpilea_7i3.h: 1036s # typedef enum { 1036s # /*< private >*/ 1036s # ENUM_VALUE_PRIVATE, 1036s # /*< public >*/ 1036s # ENUM_VALUE_PUBLIC2, 1036s # } SomeEnumB; 1036s # 1036s # /tmp/tmpsi8lw823/tmpuoi965rr.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Response file contains: --template /tmp/tmpsi8lw823/tmpuoi965rr.template /tmp/tmpsi8lw823/tmpilea_7i3.h 1036s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsi8lw823/tmp8fpv3bju'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-production 1036s # filename: /tmp/tmpsi8lw823/tmpilea_7i3.h 1036s # basename: tmpilea_7i3.h 1036s # enumeration-production 1036s # EnumName: SomeEnumB 1036s # enum_name: some_enum_b 1036s # ENUMNAME: SOME_ENUM_B 1036s # ENUMSHORT: ENUM_B 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-header 1036s # EnumName: SomeEnumB 1036s # enum_name: some_enum_b 1036s # ENUMNAME: SOME_ENUM_B 1036s # ENUMSHORT: ENUM_B 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-production 1036s # VALUENAME: ENUM_VALUE_PUBLIC2 1036s # valuenick: public2 1036s # valuenum: 1 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-tail 1036s # EnumName: SomeEnumB 1036s # enum_name: some_enum_b 1036s # ENUMNAME: SOME_ENUM_B 1036s # ENUMSHORT: ENUM_B 1036s # ENUMPREFIX: SOME 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1036s # tmpdir: /tmp/tmpzq4rh__5 1036s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmpzq4rh__5/tmpdrd60r30.h: 1036s # typedef enum { 1036s # /*< private >*/ 1036s # ENUM_VALUE_PRIVATE = 5, 1036s # /*< public >*/ 1036s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1036s # } TestSymbolicEnum; 1036s # 1036s # /tmp/tmpzq4rh__5/tmp802co_hb.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Response file contains: --template /tmp/tmpzq4rh__5/tmp802co_hb.template /tmp/tmpzq4rh__5/tmpdrd60r30.h 1036s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzq4rh__5/tmpch1r2c09'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-production 1036s # filename: /tmp/tmpzq4rh__5/tmpdrd60r30.h 1036s # basename: tmpdrd60r30.h 1036s # enumeration-production 1036s # EnumName: TestSymbolicEnum 1036s # enum_name: test_symbolic_enum 1036s # ENUMNAME: TEST_SYMBOLIC_ENUM 1036s # ENUMSHORT: SYMBOLIC_ENUM 1036s # ENUMPREFIX: TEST 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-header 1036s # EnumName: TestSymbolicEnum 1036s # enum_name: test_symbolic_enum 1036s # ENUMNAME: TEST_SYMBOLIC_ENUM 1036s # ENUMSHORT: SYMBOLIC_ENUM 1036s # ENUMPREFIX: TEST 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-production 1036s # VALUENAME: ENUM_VALUE_PUBLIC 1036s # valuenick: public 1036s # valuenum: 7 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-tail 1036s # EnumName: TestSymbolicEnum 1036s # enum_name: test_symbolic_enum 1036s # ENUMNAME: TEST_SYMBOLIC_ENUM 1036s # ENUMSHORT: SYMBOLIC_ENUM 1036s # ENUMPREFIX: TEST 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1036s # tmpdir: /tmp/tmpry8u4vzi 1036s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmpry8u4vzi/tmplelqzm46.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-tail ***/ 1036s # Response file contains: --template /tmp/tmpry8u4vzi/tmplelqzm46.template 1036s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpry8u4vzi/tmp9s3wybs5'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # file-tail 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 29 __main__.TestRspMkenums.test_help 1036s # tmpdir: /tmp/tmpmv2oe5ld 1036s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1036s # Response file contains: --help 1036s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmv2oe5ld/tmpm457j8dq'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1036s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1036s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1036s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1036s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1036s # [--output OUTPUT] [--version] 1036s # [args ...] 1036s # 1036s # positional arguments: 1036s # args One or more input files, or a single argument 1036s # @rspfile_path pointing to a file that contains the 1036s # actual arguments 1036s # 1036s # options: 1036s # -h, --help show this help message and exit 1036s # --identifier-prefix IDPREFIX 1036s # Identifier prefix 1036s # --symbol-prefix SYMPREFIX 1036s # Symbol prefix 1036s # --fhead FHEAD Output file header 1036s # --ftail FTAIL Output file footer 1036s # --fprod FPROD Put out TEXT every time a new input file is being 1036s # processed. 1036s # --eprod EPROD Per enum text, produced prior to value iterations 1036s # --vhead VHEAD Value header, produced before iterating over enum 1036s # values 1036s # --vprod VPROD Value text, produced for each enum value. 1036s # --vtail VTAIL Value tail, produced after iterating over enum values 1036s # --comments COMMENT_TMPL 1036s # Comment structure 1036s # --template TEMPLATE Template file 1036s # --output OUTPUT 1036s # --version, -v Print version information 1036s # 1036s # Production text substitutions: 1036s # @EnumName@ PrefixTheXEnum 1036s # @enum_name@ prefix_the_xenum 1036s # @ENUMNAME@ PREFIX_THE_XENUM 1036s # @ENUMSHORT@ THE_XENUM 1036s # @ENUMPREFIX@ PREFIX 1036s # @enumsince@ the user-provided since value given 1036s # @VALUENAME@ PREFIX_THE_XVALUE 1036s # @valuenick@ the-xvalue 1036s # @valuenum@ the integer value (limited support, Since: 2.26) 1036s # @type@ either enum or flags 1036s # @Type@ either Enum or Flags 1036s # @TYPE@ either ENUM or FLAGS 1036s # @filename@ name of current input file 1036s # @basename@ base name of the current input file (Since: 2.22) 1036s ok 30 __main__.TestRspMkenums.test_no_args 1036s # tmpdir: /tmp/tmp_5_zsldi 1036s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1036s # Response file contains: 1036s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_5_zsldi/tmpmc1v5crg'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # 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. */ 1036s # 1036s # 1036s # /* Generated data ends here */ 1036s ok 31 __main__.TestRspMkenums.test_no_headers 1036s # tmpdir: /tmp/tmpvkmhkira 1036s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmpvkmhkira/tmp2oob6ux4.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Response file contains: --template /tmp/tmpvkmhkira/tmp2oob6ux4.template 1036s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvkmhkira/tmpwxz6ytl4'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 32 __main__.TestRspMkenums.test_no_nick 1036s # tmpdir: /tmp/tmpu78zmlbk 1036s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmpu78zmlbk/tmpjttys2ib.h: 1036s # typedef enum { 1036s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1036s # } GeglSamplerType; 1036s # 1036s # /tmp/tmpu78zmlbk/tmpbmjpk7w3.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Response file contains: --template /tmp/tmpu78zmlbk/tmpbmjpk7w3.template /tmp/tmpu78zmlbk/tmpjttys2ib.h 1036s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpu78zmlbk/tmpuzj3ri4p'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1036s # file-header 1036s # file-production 1036s # filename: /tmp/tmpu78zmlbk/tmpjttys2ib.h 1036s # basename: tmpjttys2ib.h 1036s # enumeration-production 1036s # EnumName: GeglSamplerType 1036s # enum_name: gegl_sampler_type 1036s # ENUMNAME: GEGL_SAMPLER_TYPE 1036s # ENUMSHORT: SAMPLER_TYPE 1036s # ENUMPREFIX: GEGL 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-header 1036s # EnumName: GeglSamplerType 1036s # enum_name: gegl_sampler_type 1036s # ENUMNAME: GEGL_SAMPLER_TYPE 1036s # ENUMSHORT: SAMPLER_TYPE 1036s # ENUMPREFIX: GEGL 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-production 1036s # VALUENAME: GEGL_SAMPLER_NEAREST 1036s # valuenick: nearest 1036s # valuenum: 0 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # value-tail 1036s # EnumName: GeglSamplerType 1036s # enum_name: gegl_sampler_type 1036s # ENUMNAME: GEGL_SAMPLER_TYPE 1036s # ENUMSHORT: SAMPLER_TYPE 1036s # ENUMPREFIX: GEGL 1036s # enumsince: 1036s # type: enum 1036s # Type: Enum 1036s # TYPE: ENUM 1036s # file-tail 1036s # 1036s # comment 1036s # comment: Generated data ends here 1036s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1036s # tmpdir: /tmp/tmpcf_vi3o6 1036s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1036s # /tmp/tmpcf_vi3o6/tmpxpqppn8p.h: 1036s # /* Copyright © La Peña */ 1036s # typedef enum { 1036s # ENUM_VALUE 1036s # } SomeEnumIdentifier; 1036s # 1036s # /tmp/tmpcf_vi3o6/tmpy4iw_4xr.template: 1036s # /*** BEGIN file-header ***/ 1036s # file-header 1036s # /*** END file-header ***/ 1036s # 1036s # /*** BEGIN file-production ***/ 1036s # file-production 1036s # filename: @filename@ 1036s # basename: @basename@ 1036s # /*** END file-production ***/ 1036s # 1036s # /*** BEGIN enumeration-production ***/ 1036s # enumeration-production 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END enumeration-production ***/ 1036s # 1036s # /*** BEGIN value-header ***/ 1036s # value-header 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-header ***/ 1036s # 1036s # /*** BEGIN value-production ***/ 1036s # value-production 1036s # VALUENAME: @VALUENAME@ 1036s # valuenick: @valuenick@ 1036s # valuenum: @valuenum@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-production ***/ 1036s # 1036s # /*** BEGIN value-tail ***/ 1036s # value-tail 1036s # EnumName: @EnumName@ 1036s # enum_name: @enum_name@ 1036s # ENUMNAME: @ENUMNAME@ 1036s # ENUMSHORT: @ENUMSHORT@ 1036s # ENUMPREFIX: @ENUMPREFIX@ 1036s # enumsince: @enumsince@ 1036s # type: @type@ 1036s # Type: @Type@ 1036s # TYPE: @TYPE@ 1036s # /*** END value-tail ***/ 1036s # 1036s # /*** BEGIN comment ***/ 1036s # comment 1036s # comment: @comment@ 1036s # /*** END comment ***/ 1036s # 1036s # /*** BEGIN file-tail ***/ 1036s # file-tail 1036s # /*** END file-tail ***/ 1036s # 1036s # Response file contains: --template /tmp/tmpcf_vi3o6/tmpy4iw_4xr.template /tmp/tmpcf_vi3o6/tmpxpqppn8p.h 1036s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpcf_vi3o6/tmpp3ltyig9'] 1036s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1036s # Output: comment 1036s # 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. 1036s # 1036s # 1037s # file-header 1037s # file-production 1037s # filename: /tmp/tmpcf_vi3o6/tmpxpqppn8p.h 1037s # basename: tmpxpqppn8p.h 1037s # enumeration-production 1037s # EnumName: SomeEnumIdentifier 1037s # enum_name: some_enum_identifier 1037s # ENUMNAME: SOME_ENUM_IDENTIFIER 1037s # ENUMSHORT: ENUM_IDENTIFIER 1037s # ENUMPREFIX: SOME 1037s # enumsince: 1037s # type: enum 1037s # Type: Enum 1037s # TYPE: ENUM 1037s # value-header 1037s # EnumName: SomeEnumIdentifier 1037s # enum_name: some_enum_identifier 1037s # ENUMNAME: SOME_ENUM_IDENTIFIER 1037s # ENUMSHORT: ENUM_IDENTIFIER 1037s # ENUMPREFIX: SOME 1037s # enumsince: 1037s # type: enum 1037s # Type: Enum 1037s # TYPE: ENUM 1037s # value-production 1037s # VALUENAME: ENUM_VALUE 1037s # valuenick: value 1037s # valuenum: 0 1037s # type: enum 1037s # Type: Enum 1037s # TYPE: ENUM 1037s # value-tail 1037s # EnumName: SomeEnumIdentifier 1037s # enum_name: some_enum_identifier 1037s # ENUMNAME: SOME_ENUM_IDENTIFIER 1037s # ENUMSHORT: ENUM_IDENTIFIER 1037s # ENUMPREFIX: SOME 1037s # enumsince: 1037s # type: enum 1037s # Type: Enum 1037s # TYPE: ENUM 1037s # file-tail 1037s # 1037s # comment 1037s # comment: Generated data ends here 1037s ok 34 __main__.TestRspMkenums.test_reproducible 1037s # tmpdir: /tmp/tmpyaetxzgy 1037s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1037s # /tmp/tmpyaetxzgy/tmpg5cdp16s.template: template 1037s # Response file contains: --template /tmp/tmpyaetxzgy/tmpg5cdp16s.template /tmp/tmpyaetxzgy/tmpgyzq9z_o1.h /tmp/tmpyaetxzgy/tmphao5mohg2.h 1037s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpyaetxzgy/tmp9ecou4qj'] 1037s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1037s # 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. */ 1037s # 1037s # 1037s # /* Generated data ends here */ 1037s # /tmp/tmpyaetxzgy/tmpm0o65jtk.template: template 1037s # Response file contains: --template /tmp/tmpyaetxzgy/tmpm0o65jtk.template /tmp/tmpyaetxzgy/tmphao5mohg2.h /tmp/tmpyaetxzgy/tmpgyzq9z_o1.h 1037s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpyaetxzgy/tmphc2p3_h0'] 1037s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1037s # 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. */ 1037s # 1037s # 1037s # /* Generated data ends here */ 1037s ok 35 __main__.TestRspMkenums.test_since 1037s # tmpdir: /tmp/tmpim0qjzs1 1037s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1037s # /tmp/tmpim0qjzs1/tmpfke_v1gm.h: 1037s # typedef enum { /*< since=1.0 >*/ 1037s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1037s # } QmiWmsMessageProtocol; 1037s # 1037s # /tmp/tmpim0qjzs1/tmp4lft4n43.template: 1037s # /*** BEGIN file-header ***/ 1037s # file-header 1037s # /*** END file-header ***/ 1037s # 1037s # /*** BEGIN file-production ***/ 1037s # file-production 1037s # filename: @filename@ 1037s # basename: @basename@ 1037s # /*** END file-production ***/ 1037s # 1037s # /*** BEGIN enumeration-production ***/ 1037s # enumeration-production 1037s # EnumName: @EnumName@ 1037s # enum_name: @enum_name@ 1037s # ENUMNAME: @ENUMNAME@ 1037s # ENUMSHORT: @ENUMSHORT@ 1037s # ENUMPREFIX: @ENUMPREFIX@ 1037s # enumsince: @enumsince@ 1037s # type: @type@ 1037s # Type: @Type@ 1037s # TYPE: @TYPE@ 1037s # /*** END enumeration-production ***/ 1037s # 1037s # /*** BEGIN value-header ***/ 1037s # value-header 1037s # EnumName: @EnumName@ 1037s # enum_name: @enum_name@ 1037s # ENUMNAME: @ENUMNAME@ 1037s # ENUMSHORT: @ENUMSHORT@ 1037s # ENUMPREFIX: @ENUMPREFIX@ 1037s # enumsince: @enumsince@ 1037s # type: @type@ 1037s # Type: @Type@ 1037s # TYPE: @TYPE@ 1037s # /*** END value-header ***/ 1037s # 1037s # /*** BEGIN value-production ***/ 1037s # value-production 1037s # VALUENAME: @VALUENAME@ 1037s # valuenick: @valuenick@ 1037s # valuenum: @valuenum@ 1037s # type: @type@ 1037s # Type: @Type@ 1037s # TYPE: @TYPE@ 1037s # /*** END value-production ***/ 1037s # 1037s # /*** BEGIN value-tail ***/ 1037s # value-tail 1037s # EnumName: @EnumName@ 1037s # enum_name: @enum_name@ 1037s # ENUMNAME: @ENUMNAME@ 1037s # ENUMSHORT: @ENUMSHORT@ 1037s # ENUMPREFIX: @ENUMPREFIX@ 1037s # enumsince: @enumsince@ 1037s # type: @type@ 1037s # Type: @Type@ 1037s # TYPE: @TYPE@ 1037s # /*** END value-tail ***/ 1037s # 1037s # /*** BEGIN comment ***/ 1037s # comment 1037s # comment: @comment@ 1037s # /*** END comment ***/ 1037s # 1037s # /*** BEGIN file-tail ***/ 1037s # file-tail 1037s # /*** END file-tail ***/ 1037s # 1037s # Response file contains: --template /tmp/tmpim0qjzs1/tmp4lft4n43.template /tmp/tmpim0qjzs1/tmpfke_v1gm.h 1037s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpim0qjzs1/tmpjf5ollzr'] 1037s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1037s # Output: comment 1037s # 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. 1037s # 1037s # 1037s # file-header 1037s # file-production 1037s # filename: /tmp/tmpim0qjzs1/tmpfke_v1gm.h 1037s # basename: tmpfke_v1gm.h 1037s # enumeration-production 1037s # EnumName: QmiWmsMessageProtocol 1037s # enum_name: qmi_wms_message_protocol 1037s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1037s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1037s # ENUMPREFIX: QMI 1037s # enumsince: 1.0 1037s # type: enum 1037s # Type: Enum 1037s # TYPE: ENUM 1037s # value-header 1037s # EnumName: QmiWmsMessageProtocol 1037s # enum_name: qmi_wms_message_protocol 1037s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1037s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1037s # ENUMPREFIX: QMI 1037s # enumsince: 1.0 1037s # type: enum 1037s # Type: Enum 1037s # TYPE: ENUM 1037s # value-production 1037s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1037s # valuenick: cdma 1037s # valuenum: 0 1037s # type: enum 1037s # Type: Enum 1037s # TYPE: ENUM 1037s # value-tail 1037s # EnumName: QmiWmsMessageProtocol 1037s # enum_name: qmi_wms_message_protocol 1037s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1037s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1037s # ENUMPREFIX: QMI 1037s # enumsince: 1.0 1037s # type: enum 1037s # Type: Enum 1037s # TYPE: ENUM 1037s # file-tail 1037s # 1037s # comment 1037s # comment: Generated data ends here 1037s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1037s # tmpdir: /tmp/tmp659ve55f 1037s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1037s # /tmp/tmp659ve55f/tmpqf6qu9zz.h: 1037s # typedef enum { 1037s # FOO_VALUE /*< nick="eek, a comma" >*/ 1037s # } Foo; 1037s # 1037s # /tmp/tmp659ve55f/tmpnxbmht_p.template: 1037s # /*** BEGIN file-header ***/ 1037s # file-header 1037s # /*** END file-header ***/ 1037s # 1037s # /*** BEGIN file-production ***/ 1037s # file-production 1037s # filename: @filename@ 1037s # basename: @basename@ 1037s # /*** END file-production ***/ 1037s # 1037s # /*** BEGIN enumeration-production ***/ 1037s # enumeration-production 1037s # EnumName: @EnumName@ 1037s # enum_name: @enum_name@ 1037s # ENUMNAME: @ENUMNAME@ 1037s # ENUMSHORT: @ENUMSHORT@ 1037s # ENUMPREFIX: @ENUMPREFIX@ 1037s # enumsince: @enumsince@ 1037s # type: @type@ 1037s # Type: @Type@ 1037s # TYPE: @TYPE@ 1037s # /*** END enumeration-production ***/ 1037s # 1037s # /*** BEGIN value-header ***/ 1037s # value-header 1037s # EnumName: @EnumName@ 1037s # enum_name: @enum_name@ 1037s # ENUMNAME: @ENUMNAME@ 1037s # ENUMSHORT: @ENUMSHORT@ 1037s # ENUMPREFIX: @ENUMPREFIX@ 1037s # enumsince: @enumsince@ 1037s # type: @type@ 1037s # Type: @Type@ 1037s # TYPE: @TYPE@ 1037s # /*** END value-header ***/ 1037s # 1037s # /*** BEGIN value-production ***/ 1037s # value-production 1037s # VALUENAME: @VALUENAME@ 1037s # valuenick: @valuenick@ 1037s # valuenum: @valuenum@ 1037s # type: @type@ 1037s # Type: @Type@ 1037s # TYPE: @TYPE@ 1037s # /*** END value-production ***/ 1037s # 1037s # /*** BEGIN value-tail ***/ 1037s # value-tail 1037s # EnumName: @EnumName@ 1037s # enum_name: @enum_name@ 1037s # ENUMNAME: @ENUMNAME@ 1037s # ENUMSHORT: @ENUMSHORT@ 1037s # ENUMPREFIX: @ENUMPREFIX@ 1037s # enumsince: @enumsince@ 1037s # type: @type@ 1037s # Type: @Type@ 1037s # TYPE: @TYPE@ 1037s # /*** END value-tail ***/ 1037s # 1037s # /*** BEGIN comment ***/ 1037s # comment 1037s # comment: @comment@ 1037s # /*** END comment ***/ 1037s # 1037s # /*** BEGIN file-tail ***/ 1037s # file-tail 1037s # /*** END file-tail ***/ 1037s # 1037s # Response file contains: --template /tmp/tmp659ve55f/tmpnxbmht_p.template /tmp/tmp659ve55f/tmpqf6qu9zz.h 1037s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp659ve55f/tmpwwysu0w3'] 1037s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1037s # Output: comment 1037s # 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. 1037s # 1037s # 1037s # file-header 1037s # file-production 1037s # filename: /tmp/tmp659ve55f/tmpqf6qu9zz.h 1037s # basename: tmpqf6qu9zz.h 1037s # enumeration-production 1037s # EnumName: Foo 1037s # enum_name: foo_ 1037s # ENUMNAME: FOO_ 1037s # ENUMSHORT: 1037s # ENUMPREFIX: FOO 1037s # enumsince: 1037s # type: enum 1037s # Type: Enum 1037s # TYPE: ENUM 1037s # value-header 1037s # EnumName: Foo 1037s # enum_name: foo_ 1037s # ENUMNAME: FOO_ 1037s # ENUMSHORT: 1037s # ENUMPREFIX: FOO 1037s # enumsince: 1037s # type: enum 1037s # Type: Enum 1037s # TYPE: ENUM 1037s # value-production 1037s # VALUENAME: FOO_VALUE 1037s # valuenick: eek, a comma 1037s # valuenum: 0 1037s # type: enum 1037s # Type: Enum 1037s # TYPE: ENUM 1037s # value-tail 1037s # EnumName: Foo 1037s # enum_name: foo_ 1037s # ENUMNAME: FOO_ 1037s # ENUMSHORT: 1037s # ENUMPREFIX: FOO 1037s # enumsince: 1037s # type: enum 1037s # Type: Enum 1037s # TYPE: ENUM 1037s # file-tail 1037s # 1037s # comment 1037s # comment: Generated data ends here 1037s 1..36 1037s ok - glib/mkenums.py.test 1037s # Running test: glib/signals-refcount3.test 1037s TAP version 14 1037s # random seed: R02S26782a691c973937df3e5db1022396b6 1037s 1..1 1037s # Start of gobject tests 1037s # Start of refcount tests 1037s # init 0x2aa0d74d420 1037s # 1037s # init 0x2aa0d74d5c0 1037s # 1037s # Executing: glib/signals-refcount3.test 1042s # dispose 0x2aa0d74d420! 1042s # 1042s # dispose 0x2aa0d74d5c0! 1042s # 1042s ok 1 /gobject/refcount/signals 1042s # slow test /gobject/refcount/signals executed in 5.00 secs 1042s # End of refcount tests 1042s # End of gobject tests 1042s ok - glib/signals-refcount3.test 1042s # Running test: glib/cxx-98.test 1042s TAP version 14 1042s # random seed: R02S63c7b19af43e6febe85dd1e48b8ac542 1042s 1..2 1042s # Start of gtask tests 1042s # 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. 1042s ok 1 /gtask/name 1042s # Start of name tests 1042s # 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. 1042s ok 2 /gtask/name/macro-wrapper 1042s # End of name tests 1042s # End of gtask tests 1042s ok - glib/cxx-98.test 1042s # Running test: glib/checksum.test 1042s TAP version 14 1042s # random seed: R02S652e7bd0fabe29eb6afa2094037c51f4 1042s 1..1851 1042s # Start of checksum tests 1042s ok 1 /checksum/unsupported 1042s # Start of MD5 tests 1042s ok 2 /checksum/MD5/0 1042s ok 3 /checksum/MD5/1 1042s ok 4 /checksum/MD5/2 1042s ok 5 /checksum/MD5/3 1042s ok 6 /checksum/MD5/4 1042s ok 7 /checksum/MD5/5 1042s ok 8 /checksum/MD5/6 1042s ok 9 /checksum/MD5/7 1042s ok 10 /checksum/MD5/8 1042s ok 11 /checksum/MD5/9 1042s ok 12 /checksum/MD5/10 1042s ok 13 /checksum/MD5/11 1042s ok 14 /checksum/MD5/12 1042s ok 15 /checksum/MD5/13 1042s ok 16 /checksum/MD5/14 1042s ok 17 /checksum/MD5/15 1042s ok 18 /checksum/MD5/16 1042s ok 19 /checksum/MD5/17 1042s ok 20 /checksum/MD5/18 1042s ok 21 /checksum/MD5/19 1042s ok 22 /checksum/MD5/20 1042s ok 23 /checksum/MD5/21 1042s ok 24 /checksum/MD5/22 1042s ok 25 /checksum/MD5/23 1042s ok 26 /checksum/MD5/24 1042s ok 27 /checksum/MD5/25 1042s ok 28 /checksum/MD5/26 1042s ok 29 /checksum/MD5/27 1042s ok 30 /checksum/MD5/28 1042s ok 31 /checksum/MD5/29 1042s ok 32 /checksum/MD5/30 1042s ok 33 /checksum/MD5/31 1042s ok 34 /checksum/MD5/32 1042s ok 35 /checksum/MD5/33 1042s ok 36 /checksum/MD5/34 1042s ok 37 /checksum/MD5/35 1042s ok 38 /checksum/MD5/36 1042s ok 39 /checksum/MD5/37 1042s ok 40 /checksum/MD5/38 1042s ok 41 /checksum/MD5/39 1042s ok 42 /checksum/MD5/40 1042s ok 43 /checksum/MD5/41 1042s ok 44 /checksum/MD5/42 1042s ok 45 /checksum/MD5/43 1042s ok 46 /checksum/MD5/44 1042s ok 47 /checksum/MD5/45 1042s ok 48 /checksum/MD5/46 1042s ok 49 /checksum/MD5/47 1042s ok 50 /checksum/MD5/48 1042s ok 51 /checksum/MD5/49 1042s ok 52 /checksum/MD5/50 1042s ok 53 /checksum/MD5/51 1042s ok 54 /checksum/MD5/52 1042s ok 55 /checksum/MD5/53 1042s ok 56 /checksum/MD5/54 1042s ok 57 /checksum/MD5/55 1042s ok 58 /checksum/MD5/56 1042s ok 59 /checksum/MD5/57 1042s ok 60 /checksum/MD5/58 1042s ok 61 /checksum/MD5/59 1042s ok 62 /checksum/MD5/60 1042s ok 63 /checksum/MD5/61 1042s ok 64 /checksum/MD5/62 1042s ok 65 /checksum/MD5/63 1042s ok 66 /checksum/MD5/64 1042s ok 67 /checksum/MD5/65 1042s ok 68 /checksum/MD5/66 1042s ok 69 /checksum/MD5/67 1042s ok 70 /checksum/MD5/68 1042s ok 71 /checksum/MD5/69 1042s ok 72 /checksum/MD5/70 1042s ok 73 /checksum/MD5/71 1042s ok 74 /checksum/MD5/72 1042s ok 75 /checksum/MD5/73 1042s ok 76 /checksum/MD5/74 1042s ok 77 /checksum/MD5/75 1042s ok 78 /checksum/MD5/76 1042s ok 79 /checksum/MD5/77 1042s ok 80 /checksum/MD5/78 1042s ok 81 /checksum/MD5/79 1042s ok 82 /checksum/MD5/80 1042s ok 83 /checksum/MD5/81 1042s ok 84 /checksum/MD5/82 1042s ok 85 /checksum/MD5/83 1042s ok 86 /checksum/MD5/84 1042s ok 87 /checksum/MD5/85 1042s ok 88 /checksum/MD5/86 1042s ok 89 /checksum/MD5/87 1042s ok 90 /checksum/MD5/88 1042s ok 91 /checksum/MD5/89 1042s ok 92 /checksum/MD5/90 1042s ok 93 /checksum/MD5/91 1042s ok 94 /checksum/MD5/92 1042s ok 95 /checksum/MD5/93 1042s ok 96 /checksum/MD5/94 1042s ok 97 /checksum/MD5/95 1042s ok 98 /checksum/MD5/96 1042s ok 99 /checksum/MD5/97 1042s ok 100 /checksum/MD5/98 1042s ok 101 /checksum/MD5/99 1042s ok 102 /checksum/MD5/100 1042s ok 103 /checksum/MD5/101 1042s ok 104 /checksum/MD5/102 1042s ok 105 /checksum/MD5/103 1042s ok 106 /checksum/MD5/104 1042s ok 107 /checksum/MD5/105 1042s ok 108 /checksum/MD5/106 1042s ok 109 /checksum/MD5/107 1042s ok 110 /checksum/MD5/108 1042s ok 111 /checksum/MD5/109 1042s ok 112 /checksum/MD5/110 1042s ok 113 /checksum/MD5/111 1042s ok 114 /checksum/MD5/112 1042s ok 115 /checksum/MD5/113 1042s ok 116 /checksum/MD5/114 1042s ok 117 /checksum/MD5/115 1042s ok 118 /checksum/MD5/116 1042s ok 119 /checksum/MD5/117 1042s ok 120 /checksum/MD5/118 1042s ok 121 /checksum/MD5/119 1042s ok 122 /checksum/MD5/120 1042s ok 123 /checksum/MD5/121 1042s ok 124 /checksum/MD5/122 1042s ok 125 /checksum/MD5/123 1042s ok 126 /checksum/MD5/124 1042s ok 127 /checksum/MD5/125 1042s ok 128 /checksum/MD5/126 1042s ok 129 /checksum/MD5/127 1042s ok 130 /checksum/MD5/128 1042s ok 131 /checksum/MD5/129 1042s ok 132 /checksum/MD5/130 1042s ok 133 /checksum/MD5/131 1042s ok 134 /checksum/MD5/132 1042s ok 135 /checksum/MD5/133 1042s ok 136 /checksum/MD5/134 1042s ok 137 /checksum/MD5/135 1042s ok 138 /checksum/MD5/136 1042s ok 139 /checksum/MD5/137 1042s ok 140 /checksum/MD5/138 1042s ok 141 /checksum/MD5/139 1042s ok 142 /checksum/MD5/140 1042s ok 143 /checksum/MD5/141 1042s ok 144 /checksum/MD5/142 1042s ok 145 /checksum/MD5/143 1042s ok 146 /checksum/MD5/144 1042s ok 147 /checksum/MD5/145 1042s ok 148 /checksum/MD5/146 1042s ok 149 /checksum/MD5/147 1042s ok 150 /checksum/MD5/148 1042s ok 151 /checksum/MD5/149 1042s ok 152 /checksum/MD5/150 1042s ok 153 /checksum/MD5/151 1042s ok 154 /checksum/MD5/152 1042s ok 155 /checksum/MD5/153 1042s ok 156 /checksum/MD5/154 1042s ok 157 /checksum/MD5/155 1042s ok 158 /checksum/MD5/156 1042s ok 159 /checksum/MD5/157 1042s ok 160 /checksum/MD5/158 1042s ok 161 /checksum/MD5/159 1042s ok 162 /checksum/MD5/160 1042s ok 163 /checksum/MD5/161 1042s ok 164 /checksum/MD5/162 1042s ok 165 /checksum/MD5/163 1042s ok 166 /checksum/MD5/164 1042s ok 167 /checksum/MD5/165 1042s ok 168 /checksum/MD5/166 1042s ok 169 /checksum/MD5/167 1042s ok 170 /checksum/MD5/168 1042s ok 171 /checksum/MD5/169 1042s ok 172 /checksum/MD5/170 1042s ok 173 /checksum/MD5/171 1042s ok 174 /checksum/MD5/172 1042s ok 175 /checksum/MD5/173 1042s ok 176 /checksum/MD5/174 1042s ok 177 /checksum/MD5/175 1042s ok 178 /checksum/MD5/176 1042s ok 179 /checksum/MD5/177 1042s ok 180 /checksum/MD5/178 1042s ok 181 /checksum/MD5/179 1042s ok 182 /checksum/MD5/180 1042s ok 183 /checksum/MD5/181 1042s ok 184 /checksum/MD5/182 1042s ok 185 /checksum/MD5/183 1042s ok 186 /checksum/MD5/string 1042s ok 187 /checksum/MD5/bytes 1042s # Start of reset tests 1042s ok 188 /checksum/MD5/reset/0 1042s ok 189 /checksum/MD5/reset/1 1042s ok 190 /checksum/MD5/reset/2 1042s ok 191 /checksum/MD5/reset/3 1042s ok 192 /checksum/MD5/reset/4 1042s ok 193 /checksum/MD5/reset/5 1042s ok 194 /checksum/MD5/reset/6 1042s ok 195 /checksum/MD5/reset/7 1042s ok 196 /checksum/MD5/reset/8 1042s ok 197 /checksum/MD5/reset/9 1042s ok 198 /checksum/MD5/reset/10 1042s ok 199 /checksum/MD5/reset/11 1042s ok 200 /checksum/MD5/reset/12 1042s ok 201 /checksum/MD5/reset/13 1042s ok 202 /checksum/MD5/reset/14 1042s ok 203 /checksum/MD5/reset/15 1042s ok 204 /checksum/MD5/reset/16 1042s ok 205 /checksum/MD5/reset/17 1042s ok 206 /checksum/MD5/reset/18 1042s ok 207 /checksum/MD5/reset/19 1042s ok 208 /checksum/MD5/reset/20 1042s ok 209 /checksum/MD5/reset/21 1042s ok 210 /checksum/MD5/reset/22 1042s ok 211 /checksum/MD5/reset/23 1042s ok 212 /checksum/MD5/reset/24 1042s ok 213 /checksum/MD5/reset/25 1042s ok 214 /checksum/MD5/reset/26 1042s ok 215 /checksum/MD5/reset/27 1042s ok 216 /checksum/MD5/reset/28 1042s ok 217 /checksum/MD5/reset/29 1042s ok 218 /checksum/MD5/reset/30 1042s ok 219 /checksum/MD5/reset/31 1042s ok 220 /checksum/MD5/reset/32 1042s ok 221 /checksum/MD5/reset/33 1042s ok 222 /checksum/MD5/reset/34 1042s ok 223 /checksum/MD5/reset/35 1042s ok 224 /checksum/MD5/reset/36 1042s ok 225 /checksum/MD5/reset/37 1042s ok 226 /checksum/MD5/reset/38 1042s ok 227 /checksum/MD5/reset/39 1042s ok 228 /checksum/MD5/reset/40 1042s ok 229 /checksum/MD5/reset/41 1042s ok 230 /checksum/MD5/reset/42 1042s ok 231 /checksum/MD5/reset/43 1042s ok 232 /checksum/MD5/reset/44 1042s ok 233 /checksum/MD5/reset/45 1042s ok 234 /checksum/MD5/reset/46 1042s ok 235 /checksum/MD5/reset/47 1042s ok 236 /checksum/MD5/reset/48 1042s ok 237 /checksum/MD5/reset/49 1042s ok 238 /checksum/MD5/reset/50 1042s ok 239 /checksum/MD5/reset/51 1042s ok 240 /checksum/MD5/reset/52 1042s ok 241 /checksum/MD5/reset/53 1042s ok 242 /checksum/MD5/reset/54 1042s ok 243 /checksum/MD5/reset/55 1042s ok 244 /checksum/MD5/reset/56 1042s ok 245 /checksum/MD5/reset/57 1042s ok 246 /checksum/MD5/reset/58 1042s ok 247 /checksum/MD5/reset/59 1042s ok 248 /checksum/MD5/reset/60 1042s ok 249 /checksum/MD5/reset/61 1042s ok 250 /checksum/MD5/reset/62 1042s ok 251 /checksum/MD5/reset/63 1042s ok 252 /checksum/MD5/reset/64 1042s ok 253 /checksum/MD5/reset/65 1042s ok 254 /checksum/MD5/reset/66 1042s ok 255 /checksum/MD5/reset/67 1042s ok 256 /checksum/MD5/reset/68 1042s ok 257 /checksum/MD5/reset/69 1042s ok 258 /checksum/MD5/reset/70 1042s ok 259 /checksum/MD5/reset/71 1042s ok 260 /checksum/MD5/reset/72 1042s ok 261 /checksum/MD5/reset/73 1042s ok 262 /checksum/MD5/reset/74 1042s ok 263 /checksum/MD5/reset/75 1042s ok 264 /checksum/MD5/reset/76 1042s ok 265 /checksum/MD5/reset/77 1042s ok 266 /checksum/MD5/reset/78 1042s ok 267 /checksum/MD5/reset/79 1042s ok 268 /checksum/MD5/reset/80 1042s ok 269 /checksum/MD5/reset/81 1042s ok 270 /checksum/MD5/reset/82 1042s ok 271 /checksum/MD5/reset/83 1042s ok 272 /checksum/MD5/reset/84 1042s ok 273 /checksum/MD5/reset/85 1042s ok 274 /checksum/MD5/reset/86 1042s ok 275 /checksum/MD5/reset/87 1042s ok 276 /checksum/MD5/reset/88 1042s ok 277 /checksum/MD5/reset/89 1042s ok 278 /checksum/MD5/reset/90 1042s ok 279 /checksum/MD5/reset/91 1042s ok 280 /checksum/MD5/reset/92 1042s ok 281 /checksum/MD5/reset/93 1042s ok 282 /checksum/MD5/reset/94 1042s ok 283 /checksum/MD5/reset/95 1042s ok 284 /checksum/MD5/reset/96 1042s ok 285 /checksum/MD5/reset/97 1042s ok 286 /checksum/MD5/reset/98 1042s ok 287 /checksum/MD5/reset/99 1042s ok 288 /checksum/MD5/reset/100 1042s ok 289 /checksum/MD5/reset/101 1042s ok 290 /checksum/MD5/reset/102 1042s ok 291 /checksum/MD5/reset/103 1042s ok 292 /checksum/MD5/reset/104 1042s ok 293 /checksum/MD5/reset/105 1042s ok 294 /checksum/MD5/reset/106 1042s ok 295 /checksum/MD5/reset/107 1042s ok 296 /checksum/MD5/reset/108 1042s ok 297 /checksum/MD5/reset/109 1042s ok 298 /checksum/MD5/reset/110 1042s ok 299 /checksum/MD5/reset/111 1042s ok 300 /checksum/MD5/reset/112 1042s ok 301 /checksum/MD5/reset/113 1042s ok 302 /checksum/MD5/reset/114 1042s ok 303 /checksum/MD5/reset/115 1042s ok 304 /checksum/MD5/reset/116 1042s ok 305 /checksum/MD5/reset/117 1042s ok 306 /checksum/MD5/reset/118 1042s ok 307 /checksum/MD5/reset/119 1042s ok 308 /checksum/MD5/reset/120 1042s ok 309 /checksum/MD5/reset/121 1042s ok 310 /checksum/MD5/reset/122 1042s ok 311 /checksum/MD5/reset/123 1042s ok 312 /checksum/MD5/reset/124 1042s ok 313 /checksum/MD5/reset/125 1042s ok 314 /checksum/MD5/reset/126 1042s ok 315 /checksum/MD5/reset/127 1042s ok 316 /checksum/MD5/reset/128 1042s ok 317 /checksum/MD5/reset/129 1042s ok 318 /checksum/MD5/reset/130 1042s ok 319 /checksum/MD5/reset/131 1042s ok 320 /checksum/MD5/reset/132 1042s ok 321 /checksum/MD5/reset/133 1042s ok 322 /checksum/MD5/reset/134 1042s ok 323 /checksum/MD5/reset/135 1042s ok 324 /checksum/MD5/reset/136 1042s ok 325 /checksum/MD5/reset/137 1042s ok 326 /checksum/MD5/reset/138 1042s ok 327 /checksum/MD5/reset/139 1042s ok 328 /checksum/MD5/reset/140 1042s ok 329 /checksum/MD5/reset/141 1042s ok 330 /checksum/MD5/reset/142 1042s ok 331 /checksum/MD5/reset/143 1042s ok 332 /checksum/MD5/reset/144 1042s ok 333 /checksum/MD5/reset/145 1042s ok 334 /checksum/MD5/reset/146 1042s ok 335 /checksum/MD5/reset/147 1042s ok 336 /checksum/MD5/reset/148 1042s ok 337 /checksum/MD5/reset/149 1042s ok 338 /checksum/MD5/reset/150 1042s ok 339 /checksum/MD5/reset/151 1042s ok 340 /checksum/MD5/reset/152 1042s ok 341 /checksum/MD5/reset/153 1042s ok 342 /checksum/MD5/reset/154 1042s ok 343 /checksum/MD5/reset/155 1042s ok 344 /checksum/MD5/reset/156 1042s ok 345 /checksum/MD5/reset/157 1042s ok 346 /checksum/MD5/reset/158 1042s ok 347 /checksum/MD5/reset/159 1042s ok 348 /checksum/MD5/reset/160 1042s ok 349 /checksum/MD5/reset/161 1042s ok 350 /checksum/MD5/reset/162 1042s ok 351 /checksum/MD5/reset/163 1042s ok 352 /checksum/MD5/reset/164 1042s ok 353 /checksum/MD5/reset/165 1042s ok 354 /checksum/MD5/reset/166 1042s ok 355 /checksum/MD5/reset/167 1042s ok 356 /checksum/MD5/reset/168 1042s ok 357 /checksum/MD5/reset/169 1042s ok 358 /checksum/MD5/reset/170 1042s ok 359 /checksum/MD5/reset/171 1042s ok 360 /checksum/MD5/reset/172 1042s ok 361 /checksum/MD5/reset/173 1042s ok 362 /checksum/MD5/reset/174 1042s ok 363 /checksum/MD5/reset/175 1042s ok 364 /checksum/MD5/reset/176 1042s ok 365 /checksum/MD5/reset/177 1042s ok 366 /checksum/MD5/reset/178 1042s ok 367 /checksum/MD5/reset/179 1042s ok 368 /checksum/MD5/reset/180 1042s ok 369 /checksum/MD5/reset/181 1042s ok 370 /checksum/MD5/reset/182 1042s ok 371 /checksum/MD5/reset/183 1042s # End of reset tests 1042s # End of MD5 tests 1042s # Start of SHA1 tests 1042s ok 372 /checksum/SHA1/0 1042s ok 373 /checksum/SHA1/1 1042s ok 374 /checksum/SHA1/2 1042s ok 375 /checksum/SHA1/3 1042s ok 376 /checksum/SHA1/4 1042s ok 377 /checksum/SHA1/5 1042s ok 378 /checksum/SHA1/6 1042s ok 379 /checksum/SHA1/7 1042s ok 380 /checksum/SHA1/8 1042s ok 381 /checksum/SHA1/9 1042s ok 382 /checksum/SHA1/10 1042s ok 383 /checksum/SHA1/11 1042s ok 384 /checksum/SHA1/12 1042s ok 385 /checksum/SHA1/13 1042s ok 386 /checksum/SHA1/14 1042s ok 387 /checksum/SHA1/15 1042s ok 388 /checksum/SHA1/16 1042s ok 389 /checksum/SHA1/17 1042s ok 390 /checksum/SHA1/18 1042s ok 391 /checksum/SHA1/19 1042s ok 392 /checksum/SHA1/20 1042s ok 393 /checksum/SHA1/21 1042s ok 394 /checksum/SHA1/22 1042s ok 395 /checksum/SHA1/23 1042s ok 396 /checksum/SHA1/24 1042s ok 397 /checksum/SHA1/25 1042s ok 398 /checksum/SHA1/26 1042s ok 399 /checksum/SHA1/27 1042s ok 400 /checksum/SHA1/28 1042s ok 401 /checksum/SHA1/29 1042s ok 402 /checksum/SHA1/30 1042s ok 403 /checksum/SHA1/31 1042s ok 404 /checksum/SHA1/32 1042s ok 405 /checksum/SHA1/33 1042s ok 406 /checksum/SHA1/34 1042s ok 407 /checksum/SHA1/35 1042s ok 408 /checksum/SHA1/36 1042s ok 409 /checksum/SHA1/37 1042s ok 410 /checksum/SHA1/38 1042s ok 411 /checksum/SHA1/39 1042s ok 412 /checksum/SHA1/40 1042s ok 413 /checksum/SHA1/41 1042s ok 414 /checksum/SHA1/42 1042s ok 415 /checksum/SHA1/43 1042s ok 416 /checksum/SHA1/44 1042s ok 417 /checksum/SHA1/45 1042s ok 418 /checksum/SHA1/46 1042s ok 419 /checksum/SHA1/47 1042s ok 420 /checksum/SHA1/48 1042s ok 421 /checksum/SHA1/49 1042s ok 422 /checksum/SHA1/50 1042s ok 423 /checksum/SHA1/51 1042s ok 424 /checksum/SHA1/52 1042s ok 425 /checksum/SHA1/53 1042s ok 426 /checksum/SHA1/54 1042s ok 427 /checksum/SHA1/55 1042s ok 428 /checksum/SHA1/56 1042s ok 429 /checksum/SHA1/57 1042s ok 430 /checksum/SHA1/58 1042s ok 431 /checksum/SHA1/59 1042s ok 432 /checksum/SHA1/60 1042s ok 433 /checksum/SHA1/61 1042s ok 434 /checksum/SHA1/62 1042s ok 435 /checksum/SHA1/63 1042s ok 436 /checksum/SHA1/64 1042s ok 437 /checksum/SHA1/65 1042s ok 438 /checksum/SHA1/66 1042s ok 439 /checksum/SHA1/67 1042s ok 440 /checksum/SHA1/68 1042s ok 441 /checksum/SHA1/69 1042s ok 442 /checksum/SHA1/70 1042s ok 443 /checksum/SHA1/71 1042s ok 444 /checksum/SHA1/72 1042s ok 445 /checksum/SHA1/73 1042s ok 446 /checksum/SHA1/74 1042s ok 447 /checksum/SHA1/75 1042s ok 448 /checksum/SHA1/76 1042s ok 449 /checksum/SHA1/77 1042s ok 450 /checksum/SHA1/78 1042s ok 451 /checksum/SHA1/79 1042s ok 452 /checksum/SHA1/80 1042s ok 453 /checksum/SHA1/81 1042s ok 454 /checksum/SHA1/82 1042s ok 455 /checksum/SHA1/83 1042s ok 456 /checksum/SHA1/84 1042s ok 457 /checksum/SHA1/85 1042s ok 458 /checksum/SHA1/86 1042s ok 459 /checksum/SHA1/87 1042s ok 460 /checksum/SHA1/88 1042s ok 461 /checksum/SHA1/89 1042s ok 462 /checksum/SHA1/90 1042s ok 463 /checksum/SHA1/91 1042s ok 464 /checksum/SHA1/92 1042s ok 465 /checksum/SHA1/93 1042s ok 466 /checksum/SHA1/94 1042s ok 467 /checksum/SHA1/95 1042s ok 468 /checksum/SHA1/96 1042s ok 469 /checksum/SHA1/97 1042s ok 470 /checksum/SHA1/98 1042s ok 471 /checksum/SHA1/99 1042s ok 472 /checksum/SHA1/100 1042s ok 473 /checksum/SHA1/101 1042s ok 474 /checksum/SHA1/102 1042s ok 475 /checksum/SHA1/103 1042s ok 476 /checksum/SHA1/104 1042s ok 477 /checksum/SHA1/105 1042s ok 478 /checksum/SHA1/106 1042s ok 479 /checksum/SHA1/107 1042s ok 480 /checksum/SHA1/108 1042s ok 481 /checksum/SHA1/109 1042s ok 482 /checksum/SHA1/110 1042s ok 483 /checksum/SHA1/111 1042s ok 484 /checksum/SHA1/112 1042s ok 485 /checksum/SHA1/113 1042s ok 486 /checksum/SHA1/114 1042s ok 487 /checksum/SHA1/115 1042s ok 488 /checksum/SHA1/116 1042s ok 489 /checksum/SHA1/117 1042s ok 490 /checksum/SHA1/118 1042s ok 491 /checksum/SHA1/119 1042s ok 492 /checksum/SHA1/120 1042s ok 493 /checksum/SHA1/121 1042s ok 494 /checksum/SHA1/122 1042s ok 495 /checksum/SHA1/123 1042s ok 496 /checksum/SHA1/124 1042s ok 497 /checksum/SHA1/125 1042s ok 498 /checksum/SHA1/126 1042s ok 499 /checksum/SHA1/127 1042s ok 500 /checksum/SHA1/128 1042s ok 501 /checksum/SHA1/129 1042s ok 502 /checksum/SHA1/130 1042s ok 503 /checksum/SHA1/131 1042s ok 504 /checksum/SHA1/132 1042s ok 505 /checksum/SHA1/133 1042s ok 506 /checksum/SHA1/134 1042s ok 507 /checksum/SHA1/135 1042s ok 508 /checksum/SHA1/136 1042s ok 509 /checksum/SHA1/137 1042s ok 510 /checksum/SHA1/138 1042s ok 511 /checksum/SHA1/139 1042s ok 512 /checksum/SHA1/140 1042s ok 513 /checksum/SHA1/141 1042s ok 514 /checksum/SHA1/142 1042s ok 515 /checksum/SHA1/143 1042s ok 516 /checksum/SHA1/144 1042s ok 517 /checksum/SHA1/145 1042s ok 518 /checksum/SHA1/146 1042s ok 519 /checksum/SHA1/147 1042s ok 520 /checksum/SHA1/148 1042s ok 521 /checksum/SHA1/149 1042s ok 522 /checksum/SHA1/150 1042s ok 523 /checksum/SHA1/151 1042s ok 524 /checksum/SHA1/152 1042s ok 525 /checksum/SHA1/153 1042s ok 526 /checksum/SHA1/154 1042s ok 527 /checksum/SHA1/155 1042s ok 528 /checksum/SHA1/156 1042s ok 529 /checksum/SHA1/157 1042s ok 530 /checksum/SHA1/158 1042s ok 531 /checksum/SHA1/159 1042s ok 532 /checksum/SHA1/160 1042s ok 533 /checksum/SHA1/161 1042s ok 534 /checksum/SHA1/162 1042s ok 535 /checksum/SHA1/163 1042s ok 536 /checksum/SHA1/164 1042s ok 537 /checksum/SHA1/165 1042s ok 538 /checksum/SHA1/166 1042s ok 539 /checksum/SHA1/167 1042s ok 540 /checksum/SHA1/168 1042s ok 541 /checksum/SHA1/169 1042s ok 542 /checksum/SHA1/170 1042s ok 543 /checksum/SHA1/171 1042s ok 544 /checksum/SHA1/172 1042s ok 545 /checksum/SHA1/173 1042s ok 546 /checksum/SHA1/174 1042s ok 547 /checksum/SHA1/175 1042s ok 548 /checksum/SHA1/176 1042s ok 549 /checksum/SHA1/177 1042s ok 550 /checksum/SHA1/178 1042s ok 551 /checksum/SHA1/179 1042s ok 552 /checksum/SHA1/180 1042s ok 553 /checksum/SHA1/181 1042s ok 554 /checksum/SHA1/182 1042s ok 555 /checksum/SHA1/183 1042s ok 556 /checksum/SHA1/string 1042s ok 557 /checksum/SHA1/bytes 1042s # Start of reset tests 1042s ok 558 /checksum/SHA1/reset/0 1042s ok 559 /checksum/SHA1/reset/1 1042s ok 560 /checksum/SHA1/reset/2 1042s ok 561 /checksum/SHA1/reset/3 1042s ok 562 /checksum/SHA1/reset/4 1042s ok 563 /checksum/SHA1/reset/5 1042s ok 564 /checksum/SHA1/reset/6 1042s ok 565 /checksum/SHA1/reset/7 1042s ok 566 /checksum/SHA1/reset/8 1042s ok 567 /checksum/SHA1/reset/9 1042s ok 568 /checksum/SHA1/reset/10 1042s ok 569 /checksum/SHA1/reset/11 1042s ok 570 /checksum/SHA1/reset/12 1042s ok 571 /checksum/SHA1/reset/13 1042s ok 572 /checksum/SHA1/reset/14 1042s ok 573 /checksum/SHA1/reset/15 1042s ok 574 /checksum/SHA1/reset/16 1042s ok 575 /checksum/SHA1/reset/17 1042s ok 576 /checksum/SHA1/reset/18 1042s ok 577 /checksum/SHA1/reset/19 1042s ok 578 /checksum/SHA1/reset/20 1042s ok 579 /checksum/SHA1/reset/21 1042s ok 580 /checksum/SHA1/reset/22 1042s ok 581 /checksum/SHA1/reset/23 1042s ok 582 /checksum/SHA1/reset/24 1042s ok 583 /checksum/SHA1/reset/25 1042s ok 584 /checksum/SHA1/reset/26 1042s ok 585 /checksum/SHA1/reset/27 1042s ok 586 /checksum/SHA1/reset/28 1042s ok 587 /checksum/SHA1/reset/29 1042s ok 588 /checksum/SHA1/reset/30 1042s ok 589 /checksum/SHA1/reset/31 1042s ok 590 /checksum/SHA1/reset/32 1042s ok 591 /checksum/SHA1/reset/33 1042s ok 592 /checksum/SHA1/reset/34 1042s ok 593 /checksum/SHA1/reset/35 1042s ok 594 /checksum/SHA1/reset/36 1042s ok 595 /checksum/SHA1/reset/37 1042s ok 596 /checksum/SHA1/reset/38 1042s ok 597 /checksum/SHA1/reset/39 1042s ok 598 /checksum/SHA1/reset/40 1042s ok 599 /checksum/SHA1/reset/41 1042s ok 600 /checksum/SHA1/reset/42 1042s ok 601 /checksum/SHA1/reset/43 1042s ok 602 /checksum/SHA1/reset/44 1042s ok 603 /checksum/SHA1/reset/45 1042s ok 604 /checksum/SHA1/reset/46 1042s ok 605 /checksum/SHA1/reset/47 1042s ok 606 /checksum/SHA1/reset/48 1042s ok 607 /checksum/SHA1/reset/49 1042s ok 608 /checksum/SHA1/reset/50 1042s ok 609 /checksum/SHA1/reset/51 1042s ok 610 /checksum/SHA1/reset/52 1042s ok 611 /checksum/SHA1/reset/53 1042s ok 612 /checksum/SHA1/reset/54 1042s ok 613 /checksum/SHA1/reset/55 1042s ok 614 /checksum/SHA1/reset/56 1042s ok 615 /checksum/SHA1/reset/57 1042s ok 616 /checksum/SHA1/reset/58 1042s ok 617 /checksum/SHA1/reset/59 1042s ok 618 /checksum/SHA1/reset/60 1042s ok 619 /checksum/SHA1/reset/61 1042s ok 620 /checksum/SHA1/reset/62 1042s ok 621 /checksum/SHA1/reset/63 1042s ok 622 /checksum/SHA1/reset/64 1042s ok 623 /checksum/SHA1/reset/65 1042s ok 624 /checksum/SHA1/reset/66 1042s ok 625 /checksum/SHA1/reset/67 1042s ok 626 /checksum/SHA1/reset/68 1042s ok 627 /checksum/SHA1/reset/69 1042s ok 628 /checksum/SHA1/reset/70 1042s ok 629 /checksum/SHA1/reset/71 1042s ok 630 /checksum/SHA1/reset/72 1042s ok 631 /checksum/SHA1/reset/73 1042s ok 632 /checksum/SHA1/reset/74 1042s ok 633 /checksum/SHA1/reset/75 1042s ok 634 /checksum/SHA1/reset/76 1042s ok 635 /checksum/SHA1/reset/77 1042s ok 636 /checksum/SHA1/reset/78 1042s ok 637 /checksum/SHA1/reset/79 1042s ok 638 /checksum/SHA1/reset/80 1042s ok 639 /checksum/SHA1/reset/81 1042s ok 640 /checksum/SHA1/reset/82 1042s ok 641 /checksum/SHA1/reset/83 1042s ok 642 /checksum/SHA1/reset/84 1042s ok 643 /checksum/SHA1/reset/85 1042s ok 644 /checksum/SHA1/reset/86 1042s ok 645 /checksum/SHA1/reset/87 1042s ok 646 /checksum/SHA1/reset/88 1042s ok 647 /checksum/SHA1/reset/89 1042s ok 648 /checksum/SHA1/reset/90 1042s ok 649 /checksum/SHA1/reset/91 1042s ok 650 /checksum/SHA1/reset/92 1042s ok 651 /checksum/SHA1/reset/93 1042s ok 652 /checksum/SHA1/reset/94 1042s ok 653 /checksum/SHA1/reset/95 1042s ok 654 /checksum/SHA1/reset/96 1042s ok 655 /checksum/SHA1/reset/97 1042s ok 656 /checksum/SHA1/reset/98 1042s ok 657 /checksum/SHA1/reset/99 1042s ok 658 /checksum/SHA1/reset/100 1042s ok 659 /checksum/SHA1/reset/101 1042s ok 660 /checksum/SHA1/reset/102 1042s ok 661 /checksum/SHA1/reset/103 1042s ok 662 /checksum/SHA1/reset/104 1042s ok 663 /checksum/SHA1/reset/105 1042s ok 664 /checksum/SHA1/reset/106 1042s ok 665 /checksum/SHA1/reset/107 1042s ok 666 /checksum/SHA1/reset/108 1042s ok 667 /checksum/SHA1/reset/109 1042s ok 668 /checksum/SHA1/reset/110 1042s ok 669 /checksum/SHA1/reset/111 1042s ok 670 /checksum/SHA1/reset/112 1042s ok 671 /checksum/SHA1/reset/113 1042s ok 672 /checksum/SHA1/reset/114 1042s ok 673 /checksum/SHA1/reset/115 1042s ok 674 /checksum/SHA1/reset/116 1042s ok 675 /checksum/SHA1/reset/117 1042s ok 676 /checksum/SHA1/reset/118 1042s ok 677 /checksum/SHA1/reset/119 1042s ok 678 /checksum/SHA1/reset/120 1042s ok 679 /checksum/SHA1/reset/121 1042s ok 680 /checksum/SHA1/reset/122 1042s ok 681 /checksum/SHA1/reset/123 1042s ok 682 /checksum/SHA1/reset/124 1042s ok 683 /checksum/SHA1/reset/125 1042s ok 684 /checksum/SHA1/reset/126 1042s ok 685 /checksum/SHA1/reset/127 1042s ok 686 /checksum/SHA1/reset/128 1042s ok 687 /checksum/SHA1/reset/129 1042s ok 688 /checksum/SHA1/reset/130 1042s ok 689 /checksum/SHA1/reset/131 1042s ok 690 /checksum/SHA1/reset/132 1042s ok 691 /checksum/SHA1/reset/133 1042s ok 692 /checksum/SHA1/reset/134 1042s ok 693 /checksum/SHA1/reset/135 1042s ok 694 /checksum/SHA1/reset/136 1042s ok 695 /checksum/SHA1/reset/137 1042s ok 696 /checksum/SHA1/reset/138 1042s ok 697 /checksum/SHA1/reset/139 1042s ok 698 /checksum/SHA1/reset/140 1042s ok 699 /checksum/SHA1/reset/141 1042s ok 700 /checksum/SHA1/reset/142 1042s ok 701 /checksum/SHA1/reset/143 1042s ok 702 /checksum/SHA1/reset/144 1042s ok 703 /checksum/SHA1/reset/145 1042s ok 704 /checksum/SHA1/reset/146 1042s ok 705 /checksum/SHA1/reset/147 1042s ok 706 /checksum/SHA1/reset/148 1042s ok 707 /checksum/SHA1/reset/149 1042s ok 708 /checksum/SHA1/reset/150 1042s ok 709 /checksum/SHA1/reset/151 1042s ok 710 /checksum/SHA1/reset/152 1042s ok 711 /checksum/SHA1/reset/153 1042s ok 712 /checksum/SHA1/reset/154 1042s ok 713 /checksum/SHA1/reset/155 1042s ok 714 /checksum/SHA1/reset/156 1042s ok 715 /checksum/SHA1/reset/157 1042s ok 716 /checksum/SHA1/reset/158 1042s ok 717 /checksum/SHA1/reset/159 1042s ok 718 /checksum/SHA1/reset/160 1042s ok 719 /checksum/SHA1/reset/161 1042s ok 720 /checksum/SHA1/reset/162 1042s ok 721 /checksum/SHA1/reset/163 1042s ok 722 /checksum/SHA1/reset/164 1042s ok 723 /checksum/SHA1/reset/165 1042s ok 724 /checksum/SHA1/reset/166 1042s ok 725 /checksum/SHA1/reset/167 1042s ok 726 /checksum/SHA1/reset/168 1042s ok 727 /checksum/SHA1/reset/169 1042s ok 728 /checksum/SHA1/reset/170 1042s ok 729 /checksum/SHA1/reset/171 1042s ok 730 /checksum/SHA1/reset/172 1042s ok 731 /checksum/SHA1/reset/173 1042s ok 732 /checksum/SHA1/reset/174 1042s ok 733 /checksum/SHA1/reset/175 1042s ok 734 /checksum/SHA1/reset/176 1042s ok 735 /checksum/SHA1/reset/177 1042s ok 736 /checksum/SHA1/reset/178 1042s ok 737 /checksum/SHA1/reset/179 1042s ok 738 /checksum/SHA1/reset/180 1042s ok 739 /checksum/SHA1/reset/181 1042s ok 740 /checksum/SHA1/reset/182 1042s ok 741 /checksum/SHA1/reset/183 1042s # End of reset tests 1042s # End of SHA1 tests 1042s # Start of SHA256 tests 1042s ok 742 /checksum/SHA256/0 1042s ok 743 /checksum/SHA256/1 1042s ok 744 /checksum/SHA256/2 1042s ok 745 /checksum/SHA256/3 1042s ok 746 /checksum/SHA256/4 1042s ok 747 /checksum/SHA256/5 1042s ok 748 /checksum/SHA256/6 1042s ok 749 /checksum/SHA256/7 1042s ok 750 /checksum/SHA256/8 1042s ok 751 /checksum/SHA256/9 1042s ok 752 /checksum/SHA256/10 1042s ok 753 /checksum/SHA256/11 1042s ok 754 /checksum/SHA256/12 1042s ok 755 /checksum/SHA256/13 1042s ok 756 /checksum/SHA256/14 1042s ok 757 /checksum/SHA256/15 1042s ok 758 /checksum/SHA256/16 1042s ok 759 /checksum/SHA256/17 1042s ok 760 /checksum/SHA256/18 1042s ok 761 /checksum/SHA256/19 1042s ok 762 /checksum/SHA256/20 1042s ok 763 /checksum/SHA256/21 1042s ok 764 /checksum/SHA256/22 1042s ok 765 /checksum/SHA256/23 1042s ok 766 /checksum/SHA256/24 1042s ok 767 /checksum/SHA256/25 1042s ok 768 /checksum/SHA256/26 1042s ok 769 /checksum/SHA256/27 1042s ok 770 /checksum/SHA256/28 1042s ok 771 /checksum/SHA256/29 1042s ok 772 /checksum/SHA256/30 1042s ok 773 /checksum/SHA256/31 1042s ok 774 /checksum/SHA256/32 1042s ok 775 /checksum/SHA256/33 1042s ok 776 /checksum/SHA256/34 1042s ok 777 /checksum/SHA256/35 1042s ok 778 /checksum/SHA256/36 1042s ok 779 /checksum/SHA256/37 1042s ok 780 /checksum/SHA256/38 1042s ok 781 /checksum/SHA256/39 1042s ok 782 /checksum/SHA256/40 1042s ok 783 /checksum/SHA256/41 1042s ok 784 /checksum/SHA256/42 1042s ok 785 /checksum/SHA256/43 1042s ok 786 /checksum/SHA256/44 1042s ok 787 /checksum/SHA256/45 1042s ok 788 /checksum/SHA256/46 1042s ok 789 /checksum/SHA256/47 1042s ok 790 /checksum/SHA256/48 1042s ok 791 /checksum/SHA256/49 1042s ok 792 /checksum/SHA256/50 1042s ok 793 /checksum/SHA256/51 1042s ok 794 /checksum/SHA256/52 1042s ok 795 /checksum/SHA256/53 1042s ok 796 /checksum/SHA256/54 1042s ok 797 /checksum/SHA256/55 1042s ok 798 /checksum/SHA256/56 1042s ok 799 /checksum/SHA256/57 1042s ok 800 /checksum/SHA256/58 1042s ok 801 /checksum/SHA256/59 1042s ok 802 /checksum/SHA256/60 1042s ok 803 /checksum/SHA256/61 1042s ok 804 /checksum/SHA256/62 1042s ok 805 /checksum/SHA256/63 1042s ok 806 /checksum/SHA256/64 1042s ok 807 /checksum/SHA256/65 1042s ok 808 /checksum/SHA256/66 1042s ok 809 /checksum/SHA256/67 1042s ok 810 /checksum/SHA256/68 1042s ok 811 /checksum/SHA256/69 1042s ok 812 /checksum/SHA256/70 1042s ok 813 /checksum/SHA256/71 1042s ok 814 /checksum/SHA256/72 1042s ok 815 /checksum/SHA256/73 1042s ok 816 /checksum/SHA256/74 1042s ok 817 /checksum/SHA256/75 1042s ok 818 /checksum/SHA256/76 1042s ok 819 /checksum/SHA256/77 1042s ok 820 /checksum/SHA256/78 1042s ok 821 /checksum/SHA256/79 1042s ok 822 /checksum/SHA256/80 1042s ok 823 /checksum/SHA256/81 1042s ok 824 /checksum/SHA256/82 1042s ok 825 /checksum/SHA256/83 1042s ok 826 /checksum/SHA256/84 1042s ok 827 /checksum/SHA256/85 1042s ok 828 /checksum/SHA256/86 1042s ok 829 /checksum/SHA256/87 1042s ok 830 /checksum/SHA256/88 1042s ok 831 /checksum/SHA256/89 1042s ok 832 /checksum/SHA256/90 1042s ok 833 /checksum/SHA256/91 1042s ok 834 /checksum/SHA256/92 1042s ok 835 /checksum/SHA256/93 1042s ok 836 /checksum/SHA256/94 1042s ok 837 /checksum/SHA256/95 1042s ok 838 /checksum/SHA256/96 1042s ok 839 /checksum/SHA256/97 1042s ok 840 /checksum/SHA256/98 1042s ok 841 /checksum/SHA256/99 1042s ok 842 /checksum/SHA256/100 1042s ok 843 /checksum/SHA256/101 1042s ok 844 /checksum/SHA256/102 1042s ok 845 /checksum/SHA256/103 1042s ok 846 /checksum/SHA256/104 1042s ok 847 /checksum/SHA256/105 1042s ok 848 /checksum/SHA256/106 1042s ok 849 /checksum/SHA256/107 1042s ok 850 /checksum/SHA256/108 1042s ok 851 /checksum/SHA256/109 1042s ok 852 /checksum/SHA256/110 1042s ok 853 /checksum/SHA256/111 1042s ok 854 /checksum/SHA256/112 1042s ok 855 /checksum/SHA256/113 1042s ok 856 /checksum/SHA256/114 1042s ok 857 /checksum/SHA256/115 1042s ok 858 /checksum/SHA256/116 1042s ok 859 /checksum/SHA256/117 1042s ok 860 /checksum/SHA256/118 1042s ok 861 /checksum/SHA256/119 1042s ok 862 /checksum/SHA256/120 1042s ok 863 /checksum/SHA256/121 1042s ok 864 /checksum/SHA256/122 1042s ok 865 /checksum/SHA256/123 1042s ok 866 /checksum/SHA256/124 1042s ok 867 /checksum/SHA256/125 1042s ok 868 /checksum/SHA256/126 1042s ok 869 /checksum/SHA256/127 1042s ok 870 /checksum/SHA256/128 1042s ok 871 /checksum/SHA256/129 1042s ok 872 /checksum/SHA256/130 1042s ok 873 /checksum/SHA256/131 1042s ok 874 /checksum/SHA256/132 1042s ok 875 /checksum/SHA256/133 1042s ok 876 /checksum/SHA256/134 1042s ok 877 /checksum/SHA256/135 1042s ok 878 /checksum/SHA256/136 1042s ok 879 /checksum/SHA256/137 1042s ok 880 /checksum/SHA256/138 1042s ok 881 /checksum/SHA256/139 1042s ok 882 /checksum/SHA256/140 1042s ok 883 /checksum/SHA256/141 1042s ok 884 /checksum/SHA256/142 1042s ok 885 /checksum/SHA256/143 1042s ok 886 /checksum/SHA256/144 1042s ok 887 /checksum/SHA256/145 1042s ok 888 /checksum/SHA256/146 1042s ok 889 /checksum/SHA256/147 1042s ok 890 /checksum/SHA256/148 1042s ok 891 /checksum/SHA256/149 1042s ok 892 /checksum/SHA256/150 1042s ok 893 /checksum/SHA256/151 1042s ok 894 /checksum/SHA256/152 1042s ok 895 /checksum/SHA256/153 1042s ok 896 /checksum/SHA256/154 1042s ok 897 /checksum/SHA256/155 1042s ok 898 /checksum/SHA256/156 1042s ok 899 /checksum/SHA256/157 1042s ok 900 /checksum/SHA256/158 1042s ok 901 /checksum/SHA256/159 1042s ok 902 /checksum/SHA256/160 1042s ok 903 /checksum/SHA256/161 1042s ok 904 /checksum/SHA256/162 1042s ok 905 /checksum/SHA256/163 1042s ok 906 /checksum/SHA256/164 1042s ok 907 /checksum/SHA256/165 1042s ok 908 /checksum/SHA256/166 1042s ok 909 /checksum/SHA256/167 1042s ok 910 /checksum/SHA256/168 1042s ok 911 /checksum/SHA256/169 1042s ok 912 /checksum/SHA256/170 1042s ok 913 /checksum/SHA256/171 1042s ok 914 /checksum/SHA256/172 1042s ok 915 /checksum/SHA256/173 1042s ok 916 /checksum/SHA256/174 1042s ok 917 /checksum/SHA256/175 1042s ok 918 /checksum/SHA256/176 1042s ok 919 /checksum/SHA256/177 1042s ok 920 /checksum/SHA256/178 1042s ok 921 /checksum/SHA256/179 1042s ok 922 /checksum/SHA256/180 1042s ok 923 /checksum/SHA256/181 1042s ok 924 /checksum/SHA256/182 1042s ok 925 /checksum/SHA256/183 1042s ok 926 /checksum/SHA256/string 1042s ok 927 /checksum/SHA256/bytes 1042s # Start of reset tests 1042s ok 928 /checksum/SHA256/reset/0 1042s ok 929 /checksum/SHA256/reset/1 1042s ok 930 /checksum/SHA256/reset/2 1042s ok 931 /checksum/SHA256/reset/3 1042s ok 932 /checksum/SHA256/reset/4 1042s ok 933 /checksum/SHA256/reset/5 1042s ok 934 /checksum/SHA256/reset/6 1042s ok 935 /checksum/SHA256/reset/7 1042s ok 936 /checksum/SHA256/reset/8 1042s ok 937 /checksum/SHA256/reset/9 1042s ok 938 /checksum/SHA256/reset/10 1042s ok 939 /checksum/SHA256/reset/11 1042s ok 940 /checksum/SHA256/reset/12 1042s ok 941 /checksum/SHA256/reset/13 1042s ok 942 /checksum/SHA256/reset/14 1042s ok 943 /checksum/SHA256/reset/15 1042s ok 944 /checksum/SHA256/reset/16 1042s ok 945 /checksum/SHA256/reset/17 1042s ok 946 /checksum/SHA256/reset/18 1042s ok 947 /checksum/SHA256/reset/19 1042s ok 948 /checksum/SHA256/reset/20 1042s ok 949 /checksum/SHA256/reset/21 1042s ok 950 /checksum/SHA256/reset/22 1042s ok 951 /checksum/SHA256/reset/23 1042s ok 952 /checksum/SHA256/reset/24 1042s ok 953 /checksum/SHA256/reset/25 1042s ok 954 /checksum/SHA256/reset/26 1042s ok 955 /checksum/SHA256/reset/27 1042s ok 956 /checksum/SHA256/reset/28 1042s ok 957 /checksum/SHA256/reset/29 1042s ok 958 /checksum/SHA256/reset/30 1042s ok 959 /checksum/SHA256/reset/31 1042s ok 960 /checksum/SHA256/reset/32 1042s ok 961 /checksum/SHA256/reset/33 1042s ok 962 /checksum/SHA256/reset/34 1042s ok 963 /checksum/SHA256/reset/35 1042s ok 964 /checksum/SHA256/reset/36 1042s ok 965 /checksum/SHA256/reset/37 1042s ok 966 /checksum/SHA256/reset/38 1042s ok 967 /checksum/SHA256/reset/39 1042s ok 968 /checksum/SHA256/reset/40 1042s ok 969 /checksum/SHA256/reset/41 1042s ok 970 /checksum/SHA256/reset/42 1042s ok 971 /checksum/SHA256/reset/43 1042s ok 972 /checksum/SHA256/reset/44 1042s ok 973 /checksum/SHA256/reset/45 1042s ok 974 /checksum/SHA256/reset/46 1042s ok 975 /checksum/SHA256/reset/47 1042s ok 976 /checksum/SHA256/reset/48 1042s ok 977 /checksum/SHA256/reset/49 1042s ok 978 /checksum/SHA256/reset/50 1042s ok 979 /checksum/SHA256/reset/51 1042s ok 980 /checksum/SHA256/reset/52 1042s ok 981 /checksum/SHA256/reset/53 1042s ok 982 /checksum/SHA256/reset/54 1042s ok 983 /checksum/SHA256/reset/55 1042s ok 984 /checksum/SHA256/reset/56 1042s ok 985 /checksum/SHA256/reset/57 1042s ok 986 /checksum/SHA256/reset/58 1042s ok 987 /checksum/SHA256/reset/59 1042s ok 988 /checksum/SHA256/reset/60 1042s ok 989 /checksum/SHA256/reset/61 1042s ok 990 /checksum/SHA256/reset/62 1042s ok 991 /checksum/SHA256/reset/63 1042s ok 992 /checksum/SHA256/reset/64 1042s ok 993 /checksum/SHA256/reset/65 1042s ok 994 /checksum/SHA256/reset/66 1042s ok 995 /checksum/SHA256/reset/67 1042s ok 996 /checksum/SHA256/reset/68 1042s ok 997 /checksum/SHA256/reset/69 1042s ok 998 /checksum/SHA256/reset/70 1042s ok 999 /checksum/SHA256/reset/71 1042s ok 1000 /checksum/SHA256/reset/72 1042s ok 1001 /checksum/SHA256/reset/73 1042s ok 1002 /checksum/SHA256/reset/74 1042s ok 1003 /checksum/SHA256/reset/75 1042s ok 1004 /checksum/SHA256/reset/76 1042s ok 1005 /checksum/SHA256/reset/77 1042s ok 1006 /checksum/SHA256/reset/78 1042s ok 1007 /checksum/SHA256/reset/79 1042s ok 1008 /checksum/SHA256/reset/80 1042s ok 1009 /checksum/SHA256/reset/81 1042s ok 1010 /checksum/SHA256/reset/82 1042s ok 1011 /checksum/SHA256/reset/83 1042s ok 1012 /checksum/SHA256/reset/84 1042s ok 1013 /checksum/SHA256/reset/85 1042s ok 1014 /checksum/SHA256/reset/86 1042s ok 1015 /checksum/SHA256/reset/87 1042s ok 1016 /checksum/SHA256/reset/88 1042s ok 1017 /checksum/SHA256/reset/89 1042s ok 1018 /checksum/SHA256/reset/90 1042s ok 1019 /checksum/SHA256/reset/91 1042s ok 1020 /checksum/SHA256/reset/92 1042s ok 1021 /checksum/SHA256/reset/93 1042s ok 1022 /checksum/SHA256/reset/94 1042s ok 1023 /checksum/SHA256/reset/95 1042s ok 1024 /checksum/SHA256/reset/96 1042s ok 1025 /checksum/SHA256/reset/97 1042s ok 1026 /checksum/SHA256/reset/98 1042s ok 1027 /checksum/SHA256/reset/99 1042s ok 1028 /checksum/SHA256/reset/100 1042s ok 1029 /checksum/SHA256/reset/101 1042s ok 1030 /checksum/SHA256/reset/102 1042s ok 1031 /checksum/SHA256/reset/103 1042s ok 1032 /checksum/SHA256/reset/104 1042s ok 1033 /checksum/SHA256/reset/105 1042s ok 1034 /checksum/SHA256/reset/106 1042s ok 1035 /checksum/SHA256/reset/107 1042s ok 1036 /checksum/SHA256/reset/108 1042s ok 1037 /checksum/SHA256/reset/109 1042s ok 1038 /checksum/SHA256/reset/110 1042s ok 1039 /checksum/SHA256/reset/111 1042s ok 1040 /checksum/SHA256/reset/112 1042s ok 1041 /checksum/SHA256/reset/113 1042s ok 1042 /checksum/SHA256/reset/114 1042s ok 1043 /checksum/SHA256/reset/115 1042s ok 1044 /checksum/SHA256/reset/116 1042s ok 1045 /checksum/SHA256/reset/117 1042s ok 1046 /checksum/SHA256/reset/118 1042s ok 1047 /checksum/SHA256/reset/119 1042s ok 1048 /checksum/SHA256/reset/120 1042s ok 1049 /checksum/SHA256/reset/121 1042s ok 1050 /checksum/SHA256/reset/122 1042s ok 1051 /checksum/SHA256/reset/123 1042s ok 1052 /checksum/SHA256/reset/124 1042s ok 1053 /checksum/SHA256/reset/125 1042s ok 1054 /checksum/SHA256/reset/126 1042s ok 1055 /checksum/SHA256/reset/127 1042s ok 1056 /checksum/SHA256/reset/128 1042s ok 1057 /checksum/SHA256/reset/129 1042s ok 1058 /checksum/SHA256/reset/130 1042s ok 1059 /checksum/SHA256/reset/131 1042s ok 1060 /checksum/SHA256/reset/132 1042s ok 1061 /checksum/SHA256/reset/133 1042s ok 1062 /checksum/SHA256/reset/134 1042s ok 1063 /checksum/SHA256/reset/135 1042s ok 1064 /checksum/SHA256/reset/136 1042s ok 1065 /checksum/SHA256/reset/137 1042s ok 1066 /checksum/SHA256/reset/138 1042s ok 1067 /checksum/SHA256/reset/139 1042s ok 1068 /checksum/SHA256/reset/140 1042s ok 1069 /checksum/SHA256/reset/141 1042s ok 1070 /checksum/SHA256/reset/142 1042s ok 1071 /checksum/SHA256/reset/143 1042s ok 1072 /checksum/SHA256/reset/144 1042s ok 1073 /checksum/SHA256/reset/145 1042s ok 1074 /checksum/SHA256/reset/146 1042s ok 1075 /checksum/SHA256/reset/147 1042s ok 1076 /checksum/SHA256/reset/148 1042s ok 1077 /checksum/SHA256/reset/149 1042s ok 1078 /checksum/SHA256/reset/150 1042s ok 1079 /checksum/SHA256/reset/151 1042s ok 1080 /checksum/SHA256/reset/152 1042s ok 1081 /checksum/SHA256/reset/153 1042s ok 1082 /checksum/SHA256/reset/154 1042s ok 1083 /checksum/SHA256/reset/155 1042s ok 1084 /checksum/SHA256/reset/156 1042s ok 1085 /checksum/SHA256/reset/157 1042s ok 1086 /checksum/SHA256/reset/158 1042s ok 1087 /checksum/SHA256/reset/159 1042s ok 1088 /checksum/SHA256/reset/160 1042s ok 1089 /checksum/SHA256/reset/161 1042s ok 1090 /checksum/SHA256/reset/162 1042s ok 1091 /checksum/SHA256/reset/163 1042s ok 1092 /checksum/SHA256/reset/164 1042s ok 1093 /checksum/SHA256/reset/165 1042s ok 1094 /checksum/SHA256/reset/166 1042s ok 1095 /checksum/SHA256/reset/167 1042s ok 1096 /checksum/SHA256/reset/168 1042s ok 1097 /checksum/SHA256/reset/169 1042s ok 1098 /checksum/SHA256/reset/170 1042s ok 1099 /checksum/SHA256/reset/171 1042s ok 1100 /checksum/SHA256/reset/172 1042s ok 1101 /checksum/SHA256/reset/173 1042s ok 1102 /checksum/SHA256/reset/174 1042s ok 1103 /checksum/SHA256/reset/175 1042s ok 1104 /checksum/SHA256/reset/176 1042s ok 1105 /checksum/SHA256/reset/177 1042s ok 1106 /checksum/SHA256/reset/178 1042s ok 1107 /checksum/SHA256/reset/179 1042s ok 1108 /checksum/SHA256/reset/180 1042s ok 1109 /checksum/SHA256/reset/181 1042s ok 1110 /checksum/SHA256/reset/182 1042s ok 1111 /checksum/SHA256/reset/183 1042s # End of reset tests 1042s # End of SHA256 tests 1042s # Start of SHA384 tests 1042s ok 1112 /checksum/SHA384/0 1042s ok 1113 /checksum/SHA384/1 1042s ok 1114 /checksum/SHA384/2 1042s ok 1115 /checksum/SHA384/3 1042s ok 1116 /checksum/SHA384/4 1042s ok 1117 /checksum/SHA384/5 1042s ok 1118 /checksum/SHA384/6 1042s ok 1119 /checksum/SHA384/7 1042s ok 1120 /checksum/SHA384/8 1042s ok 1121 /checksum/SHA384/9 1042s ok 1122 /checksum/SHA384/10 1042s ok 1123 /checksum/SHA384/11 1042s ok 1124 /checksum/SHA384/12 1042s ok 1125 /checksum/SHA384/13 1042s ok 1126 /checksum/SHA384/14 1042s ok 1127 /checksum/SHA384/15 1042s ok 1128 /checksum/SHA384/16 1042s ok 1129 /checksum/SHA384/17 1042s ok 1130 /checksum/SHA384/18 1042s ok 1131 /checksum/SHA384/19 1042s ok 1132 /checksum/SHA384/20 1042s ok 1133 /checksum/SHA384/21 1042s ok 1134 /checksum/SHA384/22 1042s ok 1135 /checksum/SHA384/23 1042s ok 1136 /checksum/SHA384/24 1042s ok 1137 /checksum/SHA384/25 1042s ok 1138 /checksum/SHA384/26 1042s ok 1139 /checksum/SHA384/27 1042s ok 1140 /checksum/SHA384/28 1042s ok 1141 /checksum/SHA384/29 1042s ok 1142 /checksum/SHA384/30 1042s ok 1143 /checksum/SHA384/31 1042s ok 1144 /checksum/SHA384/32 1042s ok 1145 /checksum/SHA384/33 1042s ok 1146 /checksum/SHA384/34 1042s ok 1147 /checksum/SHA384/35 1042s ok 1148 /checksum/SHA384/36 1042s ok 1149 /checksum/SHA384/37 1042s ok 1150 /checksum/SHA384/38 1042s ok 1151 /checksum/SHA384/39 1042s ok 1152 /checksum/SHA384/40 1042s ok 1153 /checksum/SHA384/41 1042s ok 1154 /checksum/SHA384/42 1042s ok 1155 /checksum/SHA384/43 1042s ok 1156 /checksum/SHA384/44 1042s ok 1157 /checksum/SHA384/45 1042s ok 1158 /checksum/SHA384/46 1042s ok 1159 /checksum/SHA384/47 1042s ok 1160 /checksum/SHA384/48 1042s ok 1161 /checksum/SHA384/49 1042s ok 1162 /checksum/SHA384/50 1042s ok 1163 /checksum/SHA384/51 1042s ok 1164 /checksum/SHA384/52 1042s ok 1165 /checksum/SHA384/53 1042s ok 1166 /checksum/SHA384/54 1042s ok 1167 /checksum/SHA384/55 1042s ok 1168 /checksum/SHA384/56 1042s ok 1169 /checksum/SHA384/57 1042s ok 1170 /checksum/SHA384/58 1042s ok 1171 /checksum/SHA384/59 1042s ok 1172 /checksum/SHA384/60 1042s ok 1173 /checksum/SHA384/61 1042s ok 1174 /checksum/SHA384/62 1042s ok 1175 /checksum/SHA384/63 1042s ok 1176 /checksum/SHA384/64 1042s ok 1177 /checksum/SHA384/65 1042s ok 1178 /checksum/SHA384/66 1042s ok 1179 /checksum/SHA384/67 1042s ok 1180 /checksum/SHA384/68 1042s ok 1181 /checksum/SHA384/69 1042s ok 1182 /checksum/SHA384/70 1042s ok 1183 /checksum/SHA384/71 1042s ok 1184 /checksum/SHA384/72 1042s ok 1185 /checksum/SHA384/73 1042s ok 1186 /checksum/SHA384/74 1042s ok 1187 /checksum/SHA384/75 1042s ok 1188 /checksum/SHA384/76 1042s ok 1189 /checksum/SHA384/77 1042s ok 1190 /checksum/SHA384/78 1042s ok 1191 /checksum/SHA384/79 1042s ok 1192 /checksum/SHA384/80 1042s ok 1193 /checksum/SHA384/81 1042s ok 1194 /checksum/SHA384/82 1042s ok 1195 /checksum/SHA384/83 1042s ok 1196 /checksum/SHA384/84 1042s ok 1197 /checksum/SHA384/85 1042s ok 1198 /checksum/SHA384/86 1042s ok 1199 /checksum/SHA384/87 1042s ok 1200 /checksum/SHA384/88 1042s ok 1201 /checksum/SHA384/89 1042s ok 1202 /checksum/SHA384/90 1042s ok 1203 /checksum/SHA384/91 1042s ok 1204 /checksum/SHA384/92 1042s ok 1205 /checksum/SHA384/93 1042s ok 1206 /checksum/SHA384/94 1042s ok 1207 /checksum/SHA384/95 1042s ok 1208 /checksum/SHA384/96 1042s ok 1209 /checksum/SHA384/97 1042s ok 1210 /checksum/SHA384/98 1042s ok 1211 /checksum/SHA384/99 1042s ok 1212 /checksum/SHA384/100 1042s ok 1213 /checksum/SHA384/101 1042s ok 1214 /checksum/SHA384/102 1042s ok 1215 /checksum/SHA384/103 1042s ok 1216 /checksum/SHA384/104 1042s ok 1217 /checksum/SHA384/105 1042s ok 1218 /checksum/SHA384/106 1042s ok 1219 /checksum/SHA384/107 1042s ok 1220 /checksum/SHA384/108 1042s ok 1221 /checksum/SHA384/109 1042s ok 1222 /checksum/SHA384/110 1042s ok 1223 /checksum/SHA384/111 1042s ok 1224 /checksum/SHA384/112 1042s ok 1225 /checksum/SHA384/113 1042s ok 1226 /checksum/SHA384/114 1042s ok 1227 /checksum/SHA384/115 1042s ok 1228 /checksum/SHA384/116 1042s ok 1229 /checksum/SHA384/117 1042s ok 1230 /checksum/SHA384/118 1042s ok 1231 /checksum/SHA384/119 1042s ok 1232 /checksum/SHA384/120 1042s ok 1233 /checksum/SHA384/121 1042s ok 1234 /checksum/SHA384/122 1042s ok 1235 /checksum/SHA384/123 1042s ok 1236 /checksum/SHA384/124 1042s ok 1237 /checksum/SHA384/125 1042s ok 1238 /checksum/SHA384/126 1042s ok 1239 /checksum/SHA384/127 1042s ok 1240 /checksum/SHA384/128 1042s ok 1241 /checksum/SHA384/129 1042s ok 1242 /checksum/SHA384/130 1042s ok 1243 /checksum/SHA384/131 1042s ok 1244 /checksum/SHA384/132 1042s ok 1245 /checksum/SHA384/133 1042s ok 1246 /checksum/SHA384/134 1042s ok 1247 /checksum/SHA384/135 1042s ok 1248 /checksum/SHA384/136 1042s ok 1249 /checksum/SHA384/137 1042s ok 1250 /checksum/SHA384/138 1042s ok 1251 /checksum/SHA384/139 1042s ok 1252 /checksum/SHA384/140 1042s ok 1253 /checksum/SHA384/141 1042s ok 1254 /checksum/SHA384/142 1042s ok 1255 /checksum/SHA384/143 1042s ok 1256 /checksum/SHA384/144 1042s ok 1257 /checksum/SHA384/145 1042s ok 1258 /checksum/SHA384/146 1042s ok 1259 /checksum/SHA384/147 1042s ok 1260 /checksum/SHA384/148 1042s ok 1261 /checksum/SHA384/149 1042s ok 1262 /checksum/SHA384/150 1042s ok 1263 /checksum/SHA384/151 1042s ok 1264 /checksum/SHA384/152 1042s ok 1265 /checksum/SHA384/153 1042s ok 1266 /checksum/SHA384/154 1042s ok 1267 /checksum/SHA384/155 1042s ok 1268 /checksum/SHA384/156 1042s ok 1269 /checksum/SHA384/157 1042s ok 1270 /checksum/SHA384/158 1042s ok 1271 /checksum/SHA384/159 1042s ok 1272 /checksum/SHA384/160 1042s ok 1273 /checksum/SHA384/161 1042s ok 1274 /checksum/SHA384/162 1042s ok 1275 /checksum/SHA384/163 1042s ok 1276 /checksum/SHA384/164 1042s ok 1277 /checksum/SHA384/165 1042s ok 1278 /checksum/SHA384/166 1042s ok 1279 /checksum/SHA384/167 1042s ok 1280 /checksum/SHA384/168 1042s ok 1281 /checksum/SHA384/169 1042s ok 1282 /checksum/SHA384/170 1042s ok 1283 /checksum/SHA384/171 1042s ok 1284 /checksum/SHA384/172 1042s ok 1285 /checksum/SHA384/173 1042s ok 1286 /checksum/SHA384/174 1042s ok 1287 /checksum/SHA384/175 1042s ok 1288 /checksum/SHA384/176 1042s ok 1289 /checksum/SHA384/177 1042s ok 1290 /checksum/SHA384/178 1042s ok 1291 /checksum/SHA384/179 1042s ok 1292 /checksum/SHA384/180 1042s ok 1293 /checksum/SHA384/181 1042s ok 1294 /checksum/SHA384/182 1042s ok 1295 /checksum/SHA384/183 1042s ok 1296 /checksum/SHA384/string 1042s ok 1297 /checksum/SHA384/bytes 1042s # Start of reset tests 1042s ok 1298 /checksum/SHA384/reset/0 1042s ok 1299 /checksum/SHA384/reset/1 1042s ok 1300 /checksum/SHA384/reset/2 1042s ok 1301 /checksum/SHA384/reset/3 1042s ok 1302 /checksum/SHA384/reset/4 1042s ok 1303 /checksum/SHA384/reset/5 1042s ok 1304 /checksum/SHA384/reset/6 1042s ok 1305 /checksum/SHA384/reset/7 1042s ok 1306 /checksum/SHA384/reset/8 1042s ok 1307 /checksum/SHA384/reset/9 1042s ok 1308 /checksum/SHA384/reset/10 1042s ok 1309 /checksum/SHA384/reset/11 1042s ok 1310 /checksum/SHA384/reset/12 1042s ok 1311 /checksum/SHA384/reset/13 1042s ok 1312 /checksum/SHA384/reset/14 1042s ok 1313 /checksum/SHA384/reset/15 1042s ok 1314 /checksum/SHA384/reset/16 1042s ok 1315 /checksum/SHA384/reset/17 1042s ok 1316 /checksum/SHA384/reset/18 1042s ok 1317 /checksum/SHA384/reset/19 1042s ok 1318 /checksum/SHA384/reset/20 1042s ok 1319 /checksum/SHA384/reset/21 1042s ok 1320 /checksum/SHA384/reset/22 1042s ok 1321 /checksum/SHA384/reset/23 1042s ok 1322 /checksum/SHA384/reset/24 1042s ok 1323 /checksum/SHA384/reset/25 1042s ok 1324 /checksum/SHA384/reset/26 1042s ok 1325 /checksum/SHA384/reset/27 1042s ok 1326 /checksum/SHA384/reset/28 1042s ok 1327 /checksum/SHA384/reset/29 1042s ok 1328 /checksum/SHA384/reset/30 1042s ok 1329 /checksum/SHA384/reset/31 1042s ok 1330 /checksum/SHA384/reset/32 1042s ok 1331 /checksum/SHA384/reset/33 1042s ok 1332 /checksum/SHA384/reset/34 1042s ok 1333 /checksum/SHA384/reset/35 1042s ok 1334 /checksum/SHA384/reset/36 1042s ok 1335 /checksum/SHA384/reset/37 1042s ok 1336 /checksum/SHA384/reset/38 1042s ok 1337 /checksum/SHA384/reset/39 1042s ok 1338 /checksum/SHA384/reset/40 1042s ok 1339 /checksum/SHA384/reset/41 1042s ok 1340 /checksum/SHA384/reset/42 1042s ok 1341 /checksum/SHA384/reset/43 1042s ok 1342 /checksum/SHA384/reset/44 1042s ok 1343 /checksum/SHA384/reset/45 1042s ok 1344 /checksum/SHA384/reset/46 1042s ok 1345 /checksum/SHA384/reset/47 1042s ok 1346 /checksum/SHA384/reset/48 1042s ok 1347 /checksum/SHA384/reset/49 1042s ok 1348 /checksum/SHA384/reset/50 1042s ok 1349 /checksum/SHA384/reset/51 1042s ok 1350 /checksum/SHA384/reset/52 1042s ok 1351 /checksum/SHA384/reset/53 1042s ok 1352 /checksum/SHA384/reset/54 1042s ok 1353 /checksum/SHA384/reset/55 1042s ok 1354 /checksum/SHA384/reset/56 1042s ok 1355 /checksum/SHA384/reset/57 1042s ok 1356 /checksum/SHA384/reset/58 1042s ok 1357 /checksum/SHA384/reset/59 1042s ok 1358 /checksum/SHA384/reset/60 1042s ok 1359 /checksum/SHA384/reset/61 1042s ok 1360 /checksum/SHA384/reset/62 1042s ok 1361 /checksum/SHA384/reset/63 1042s ok 1362 /checksum/SHA384/reset/64 1042s ok 1363 /checksum/SHA384/reset/65 1042s ok 1364 /checksum/SHA384/reset/66 1042s ok 1365 /checksum/SHA384/reset/67 1042s ok 1366 /checksum/SHA384/reset/68 1042s ok 1367 /checksum/SHA384/reset/69 1042s ok 1368 /checksum/SHA384/reset/70 1042s ok 1369 /checksum/SHA384/reset/71 1042s ok 1370 /checksum/SHA384/reset/72 1042s ok 1371 /checksum/SHA384/reset/73 1042s ok 1372 /checksum/SHA384/reset/74 1042s ok 1373 /checksum/SHA384/reset/75 1042s ok 1374 /checksum/SHA384/reset/76 1042s ok 1375 /checksum/SHA384/reset/77 1042s ok 1376 /checksum/SHA384/reset/78 1042s ok 1377 /checksum/SHA384/reset/79 1042s ok 1378 /checksum/SHA384/reset/80 1042s ok 1379 /checksum/SHA384/reset/81 1042s ok 1380 /checksum/SHA384/reset/82 1042s ok 1381 /checksum/SHA384/reset/83 1042s ok 1382 /checksum/SHA384/reset/84 1042s ok 1383 /checksum/SHA384/reset/85 1042s ok 1384 /checksum/SHA384/reset/86 1042s ok 1385 /checksum/SHA384/reset/87 1042s ok 1386 /checksum/SHA384/reset/88 1042s ok 1387 /checksum/SHA384/reset/89 1042s ok 1388 /checksum/SHA384/reset/90 1042s ok 1389 /checksum/SHA384/reset/91 1042s ok 1390 /checksum/SHA384/reset/92 1042s ok 1391 /checksum/SHA384/reset/93 1042s ok 1392 /checksum/SHA384/reset/94 1042s ok 1393 /checksum/SHA384/reset/95 1042s ok 1394 /checksum/SHA384/reset/96 1042s ok 1395 /checksum/SHA384/reset/97 1042s ok 1396 /checksum/SHA384/reset/98 1042s ok 1397 /checksum/SHA384/reset/99 1042s ok 1398 /checksum/SHA384/reset/100 1042s ok 1399 /checksum/SHA384/reset/101 1042s ok 1400 /checksum/SHA384/reset/102 1042s ok 1401 /checksum/SHA384/reset/103 1042s ok 1402 /checksum/SHA384/reset/104 1042s ok 1403 /checksum/SHA384/reset/105 1042s ok 1404 /checksum/SHA384/reset/106 1042s ok 1405 /checksum/SHA384/reset/107 1042s ok 1406 /checksum/SHA384/reset/108 1042s ok 1407 /checksum/SHA384/reset/109 1042s ok 1408 /checksum/SHA384/reset/110 1042s ok 1409 /checksum/SHA384/reset/111 1042s ok 1410 /checksum/SHA384/reset/112 1042s ok 1411 /checksum/SHA384/reset/113 1042s ok 1412 /checksum/SHA384/reset/114 1042s ok 1413 /checksum/SHA384/reset/115 1042s ok 1414 /checksum/SHA384/reset/116 1042s ok 1415 /checksum/SHA384/reset/117 1042s ok 1416 /checksum/SHA384/reset/118 1042s ok 1417 /checksum/SHA384/reset/119 1042s ok 1418 /checksum/SHA384/reset/120 1042s ok 1419 /checksum/SHA384/reset/121 1042s ok 1420 /checksum/SHA384/reset/122 1042s ok 1421 /checksum/SHA384/reset/123 1042s ok 1422 /checksum/SHA384/reset/124 1042s ok 1423 /checksum/SHA384/reset/125 1042s ok 1424 /checksum/SHA384/reset/126 1042s ok 1425 /checksum/SHA384/reset/127 1042s ok 1426 /checksum/SHA384/reset/128 1042s ok 1427 /checksum/SHA384/reset/129 1042s ok 1428 /checksum/SHA384/reset/130 1042s ok 1429 /checksum/SHA384/reset/131 1042s ok 1430 /checksum/SHA384/reset/132 1042s ok 1431 /checksum/SHA384/reset/133 1042s ok 1432 /checksum/SHA384/reset/134 1042s ok 1433 /checksum/SHA384/reset/135 1042s ok 1434 /checksum/SHA384/reset/136 1042s ok 1435 /checksum/SHA384/reset/137 1042s ok 1436 /checksum/SHA384/reset/138 1042s ok 1437 /checksum/SHA384/reset/139 1042s ok 1438 /checksum/SHA384/reset/140 1042s ok 1439 /checksum/SHA384/reset/141 1042s ok 1440 /checksum/SHA384/reset/142 1042s ok 1441 /checksum/SHA384/reset/143 1042s ok 1442 /checksum/SHA384/reset/144 1042s ok 1443 /checksum/SHA384/reset/145 1042s ok 1444 /checksum/SHA384/reset/146 1042s ok 1445 /checksum/SHA384/reset/147 1042s ok 1446 /checksum/SHA384/reset/148 1042s ok 1447 /checksum/SHA384/reset/149 1042s ok 1448 /checksum/SHA384/reset/150 1042s ok 1449 /checksum/SHA384/reset/151 1042s ok 1450 /checksum/SHA384/reset/152 1042s ok 1451 /checksum/SHA384/reset/153 1042s ok 1452 /checksum/SHA384/reset/154 1042s ok 1453 /checksum/SHA384/reset/155 1042s ok 1454 /checksum/SHA384/reset/156 1042s ok 1455 /checksum/SHA384/reset/157 1042s ok 1456 /checksum/SHA384/reset/158 1042s ok 1457 /checksum/SHA384/reset/159 1042s ok 1458 /checksum/SHA384/reset/160 1042s ok 1459 /checksum/SHA384/reset/161 1042s ok 1460 /checksum/SHA384/reset/162 1042s ok 1461 /checksum/SHA384/reset/163 1042s ok 1462 /checksum/SHA384/reset/164 1042s ok 1463 /checksum/SHA384/reset/165 1042s ok 1464 /checksum/SHA384/reset/166 1042s ok 1465 /checksum/SHA384/reset/167 1042s ok 1466 /checksum/SHA384/reset/168 1042s ok 1467 /checksum/SHA384/reset/169 1042s ok 1468 /checksum/SHA384/reset/170 1042s ok 1469 /checksum/SHA384/reset/171 1042s ok 1470 /checksum/SHA384/reset/172 1042s ok 1471 /checksum/SHA384/reset/173 1042s ok 1472 /checksum/SHA384/reset/174 1042s ok 1473 /checksum/SHA384/reset/175 1042s ok 1474 /checksum/SHA384/reset/176 1042s ok 1475 /checksum/SHA384/reset/177 1042s ok 1476 /checksum/SHA384/reset/178 1042s ok 1477 /checksum/SHA384/reset/179 1042s ok 1478 /checksum/SHA384/reset/180 1042s ok 1479 /checksum/SHA384/reset/181 1042s ok 1480 /checksum/SHA384/reset/182 1042s ok 1481 /checksum/SHA384/reset/183 1042s # End of reset tests 1042s # End of SHA384 tests 1042s # Start of SHA512 tests 1042s ok 1482 /checksum/SHA512/0 1042s ok 1483 /checksum/SHA512/1 1042s ok 1484 /checksum/SHA512/2 1042s ok 1485 /checksum/SHA512/3 1042s ok 1486 /checksum/SHA512/4 1042s ok 1487 /checksum/SHA512/5 1042s ok 1488 /checksum/SHA512/6 1042s ok 1489 /checksum/SHA512/7 1042s ok 1490 /checksum/SHA512/8 1042s ok 1491 /checksum/SHA512/9 1042s ok 1492 /checksum/SHA512/10 1042s ok 1493 /checksum/SHA512/11 1042s ok 1494 /checksum/SHA512/12 1042s ok 1495 /checksum/SHA512/13 1042s ok 1496 /checksum/SHA512/14 1042s ok 1497 /checksum/SHA512/15 1042s ok 1498 /checksum/SHA512/16 1042s ok 1499 /checksum/SHA512/17 1042s ok 1500 /checksum/SHA512/18 1042s ok 1501 /checksum/SHA512/19 1042s ok 1502 /checksum/SHA512/20 1042s ok 1503 /checksum/SHA512/21 1042s ok 1504 /checksum/SHA512/22 1042s ok 1505 /checksum/SHA512/23 1042s ok 1506 /checksum/SHA512/24 1042s ok 1507 /checksum/SHA512/25 1042s ok 1508 /checksum/SHA512/26 1042s ok 1509 /checksum/SHA512/27 1042s ok 1510 /checksum/SHA512/28 1042s ok 1511 /checksum/SHA512/29 1042s ok 1512 /checksum/SHA512/30 1042s ok 1513 /checksum/SHA512/31 1042s ok 1514 /checksum/SHA512/32 1042s ok 1515 /checksum/SHA512/33 1042s ok 1516 /checksum/SHA512/34 1042s ok 1517 /checksum/SHA512/35 1042s ok 1518 /checksum/SHA512/36 1042s ok 1519 /checksum/SHA512/37 1042s ok 1520 /checksum/SHA512/38 1042s ok 1521 /checksum/SHA512/39 1042s ok 1522 /checksum/SHA512/40 1042s ok 1523 /checksum/SHA512/41 1042s ok 1524 /checksum/SHA512/42 1042s ok 1525 /checksum/SHA512/43 1042s ok 1526 /checksum/SHA512/44 1042s ok 1527 /checksum/SHA512/45 1042s ok 1528 /checksum/SHA512/46 1042s ok 1529 /checksum/SHA512/47 1042s ok 1530 /checksum/SHA512/48 1042s ok 1531 /checksum/SHA512/49 1042s ok 1532 /checksum/SHA512/50 1042s ok 1533 /checksum/SHA512/51 1042s ok 1534 /checksum/SHA512/52 1042s ok 1535 /checksum/SHA512/53 1042s ok 1536 /checksum/SHA512/54 1042s ok 1537 /checksum/SHA512/55 1042s ok 1538 /checksum/SHA512/56 1042s ok 1539 /checksum/SHA512/57 1042s ok 1540 /checksum/SHA512/58 1042s ok 1541 /checksum/SHA512/59 1042s ok 1542 /checksum/SHA512/60 1042s ok 1543 /checksum/SHA512/61 1042s ok 1544 /checksum/SHA512/62 1042s ok 1545 /checksum/SHA512/63 1042s ok 1546 /checksum/SHA512/64 1042s ok 1547 /checksum/SHA512/65 1042s ok 1548 /checksum/SHA512/66 1042s ok 1549 /checksum/SHA512/67 1042s ok 1550 /checksum/SHA512/68 1042s ok 1551 /checksum/SHA512/69 1042s ok 1552 /checksum/SHA512/70 1042s ok 1553 /checksum/SHA512/71 1042s ok 1554 /checksum/SHA512/72 1042s ok 1555 /checksum/SHA512/73 1042s ok 1556 /checksum/SHA512/74 1042s ok 1557 /checksum/SHA512/75 1042s ok 1558 /checksum/SHA512/76 1042s ok 1559 /checksum/SHA512/77 1042s ok 1560 /checksum/SHA512/78 1042s ok 1561 /checksum/SHA512/79 1042s ok 1562 /checksum/SHA512/80 1042s ok 1563 /checksum/SHA512/81 1042s ok 1564 /checksum/SHA512/82 1042s ok 1565 /checksum/SHA512/83 1042s ok 1566 /checksum/SHA512/84 1042s ok 1567 /checksum/SHA512/85 1042s ok 1568 /checksum/SHA512/86 1042s ok 1569 /checksum/SHA512/87 1042s ok 1570 /checksum/SHA512/88 1042s ok 1571 /checksum/SHA512/89 1042s ok 1572 /checksum/SHA512/90 1042s ok 1573 /checksum/SHA512/91 1042s ok 1574 /checksum/SHA512/92 1042s ok 1575 /checksum/SHA512/93 1042s ok 1576 /checksum/SHA512/94 1042s ok 1577 /checksum/SHA512/95 1042s ok 1578 /checksum/SHA512/96 1042s ok 1579 /checksum/SHA512/97 1042s ok 1580 /checksum/SHA512/98 1042s ok 1581 /checksum/SHA512/99 1042s ok 1582 /checksum/SHA512/100 1042s ok 1583 /checksum/SHA512/101 1042s ok 1584 /checksum/SHA512/102 1042s ok 1585 /checksum/SHA512/103 1042s ok 1586 /checksum/SHA512/104 1042s ok 1587 /checksum/SHA512/105 1042s ok 1588 /checksum/SHA512/106 1042s ok 1589 /checksum/SHA512/107 1042s ok 1590 /checksum/SHA512/108 1042s ok 1591 /checksum/SHA512/109 1042s ok 1592 /checksum/SHA512/110 1042s ok 1593 /checksum/SHA512/111 1042s ok 1594 /checksum/SHA512/112 1042s ok 1595 /checksum/SHA512/113 1042s ok 1596 /checksum/SHA512/114 1042s ok 1597 /checksum/SHA512/115 1042s ok 1598 /checksum/SHA512/116 1042s ok 1599 /checksum/SHA512/117 1042s ok 1600 /checksum/SHA512/118 1042s ok 1601 /checksum/SHA512/119 1042s ok 1602 /checksum/SHA512/120 1042s ok 1603 /checksum/SHA512/121 1042s ok 1604 /checksum/SHA512/122 1042s ok 1605 /checksum/SHA512/123 1042s ok 1606 /checksum/SHA512/124 1042s ok 1607 /checksum/SHA512/125 1042s ok 1608 /checksum/SHA512/126 1042s ok 1609 /checksum/SHA512/127 1042s ok 1610 /checksum/SHA512/128 1042s ok 1611 /checksum/SHA512/129 1042s ok 1612 /checksum/SHA512/130 1042s ok 1613 /checksum/SHA512/131 1042s ok 1614 /checksum/SHA512/132 1042s ok 1615 /checksum/SHA512/133 1042s ok 1616 /checksum/SHA512/134 1042s ok 1617 /checksum/SHA512/135 1042s ok 1618 /checksum/SHA512/136 1042s ok 1619 /checksum/SHA512/137 1042s ok 1620 /checksum/SHA512/138 1042s ok 1621 /checksum/SHA512/139 1042s ok 1622 /checksum/SHA512/140 1042s ok 1623 /checksum/SHA512/141 1042s ok 1624 /checksum/SHA512/142 1042s ok 1625 /checksum/SHA512/143 1042s ok 1626 /checksum/SHA512/144 1042s ok 1627 /checksum/SHA512/145 1042s ok 1628 /checksum/SHA512/146 1042s ok 1629 /checksum/SHA512/147 1042s ok 1630 /checksum/SHA512/148 1042s ok 1631 /checksum/SHA512/149 1042s ok 1632 /checksum/SHA512/150 1042s ok 1633 /checksum/SHA512/151 1042s ok 1634 /checksum/SHA512/152 1042s ok 1635 /checksum/SHA512/153 1042s ok 1636 /checksum/SHA512/154 1042s ok 1637 /checksum/SHA512/155 1042s ok 1638 /checksum/SHA512/156 1042s ok 1639 /checksum/SHA512/157 1042s ok 1640 /checksum/SHA512/158 1042s ok 1641 /checksum/SHA512/159 1042s ok 1642 /checksum/SHA512/160 1042s ok 1643 /checksum/SHA512/161 1042s ok 1644 /checksum/SHA512/162 1042s ok 1645 /checksum/SHA512/163 1042s ok 1646 /checksum/SHA512/164 1042s ok 1647 /checksum/SHA512/165 1042s ok 1648 /checksum/SHA512/166 1042s ok 1649 /checksum/SHA512/167 1042s ok 1650 /checksum/SHA512/168 1042s ok 1651 /checksum/SHA512/169 1042s ok 1652 /checksum/SHA512/170 1042s ok 1653 /checksum/SHA512/171 1042s ok 1654 /checksum/SHA512/172 1042s ok 1655 /checksum/SHA512/173 1042s ok 1656 /checksum/SHA512/174 1042s ok 1657 /checksum/SHA512/175 1042s ok 1658 /checksum/SHA512/176 1042s ok 1659 /checksum/SHA512/177 1042s ok 1660 /checksum/SHA512/178 1042s ok 1661 /checksum/SHA512/179 1042s ok 1662 /checksum/SHA512/180 1042s ok 1663 /checksum/SHA512/181 1042s ok 1664 /checksum/SHA512/182 1042s ok 1665 /checksum/SHA512/183 1042s ok 1666 /checksum/SHA512/string 1042s ok 1667 /checksum/SHA512/bytes 1042s # Start of reset tests 1042s ok 1668 /checksum/SHA512/reset/0 1042s ok 1669 /checksum/SHA512/reset/1 1042s ok 1670 /checksum/SHA512/reset/2 1042s ok 1671 /checksum/SHA512/reset/3 1042s ok 1672 /checksum/SHA512/reset/4 1042s ok 1673 /checksum/SHA512/reset/5 1042s ok 1674 /checksum/SHA512/reset/6 1042s ok 1675 /checksum/SHA512/reset/7 1042s ok 1676 /checksum/SHA512/reset/8 1042s ok 1677 /checksum/SHA512/reset/9 1042s ok 1678 /checksum/SHA512/reset/10 1042s ok 1679 /checksum/SHA512/reset/11 1042s ok 1680 /checksum/SHA512/reset/12 1042s ok 1681 /checksum/SHA512/reset/13 1042s ok 1682 /checksum/SHA512/reset/14 1042s ok 1683 /checksum/SHA512/reset/15 1042s ok 1684 /checksum/SHA512/reset/16 1042s ok 1685 /checksum/SHA512/reset/17 1042s ok 1686 /checksum/SHA512/reset/18 1042s ok 1687 /checksum/SHA512/reset/19 1042s ok 1688 /checksum/SHA512/reset/20 1042s ok 1689 /checksum/SHA512/reset/21 1042s ok 1690 /checksum/SHA512/reset/22 1042s ok 1691 /checksum/SHA512/reset/23 1042s ok 1692 /checksum/SHA512/reset/24 1042s ok 1693 /checksum/SHA512/reset/25 1042s ok 1694 /checksum/SHA512/reset/26 1042s ok 1695 /checksum/SHA512/reset/27 1042s ok 1696 /checksum/SHA512/reset/28 1042s ok 1697 /checksum/SHA512/reset/29 1042s ok 1698 /checksum/SHA512/reset/30 1042s ok 1699 /checksum/SHA512/reset/31 1042s ok 1700 /checksum/SHA512/reset/32 1042s ok 1701 /checksum/SHA512/reset/33 1042s ok 1702 /checksum/SHA512/reset/34 1042s ok 1703 /checksum/SHA512/reset/35 1042s ok 1704 /checksum/SHA512/reset/36 1042s ok 1705 /checksum/SHA512/reset/37 1042s ok 1706 /checksum/SHA512/reset/38 1042s ok 1707 /checksum/SHA512/reset/39 1042s ok 1708 /checksum/SHA512/reset/40 1042s ok 1709 /checksum/SHA512/reset/41 1042s ok 1710 /checksum/SHA512/reset/42 1042s ok 1711 /checksum/SHA512/reset/43 1042s ok 1712 /checksum/SHA512/reset/44 1042s ok 1713 /checksum/SHA512/reset/45 1042s ok 1714 /checksum/SHA512/reset/46 1042s ok 1715 /checksum/SHA512/reset/47 1042s ok 1716 /checksum/SHA512/reset/48 1042s ok 1717 /checksum/SHA512/reset/49 1042s ok 1718 /checksum/SHA512/reset/50 1042s ok 1719 /checksum/SHA512/reset/51 1042s ok 1720 /checksum/SHA512/reset/52 1042s ok 1721 /checksum/SHA512/reset/53 1042s ok 1722 /checksum/SHA512/reset/54 1042s ok 1723 /checksum/SHA512/reset/55 1042s ok 1724 /checksum/SHA512/reset/56 1042s ok 1725 /checksum/SHA512/reset/57 1042s ok 1726 /checksum/SHA512/reset/58 1042s ok 1727 /checksum/SHA512/reset/59 1042s ok 1728 /checksum/SHA512/reset/60 1042s ok 1729 /checksum/SHA512/reset/61 1042s ok 1730 /checksum/SHA512/reset/62 1042s ok 1731 /checksum/SHA512/reset/63 1042s ok 1732 /checksum/SHA512/reset/64 1042s ok 1733 /checksum/SHA512/reset/65 1042s ok 1734 /checksum/SHA512/reset/66 1042s ok 1735 /checksum/SHA512/reset/67 1042s ok 1736 /checksum/SHA512/reset/68 1042s ok 1737 /checksum/SHA512/reset/69 1042s ok 1738 /checksum/SHA512/reset/70 1042s ok 1739 /checksum/SHA512/reset/71 1042s ok 1740 /checksum/SHA512/reset/72 1042s ok 1741 /checksum/SHA512/reset/73 1042s ok 1742 /checksum/SHA512/reset/74 1042s ok 1743 /checksum/SHA512/reset/75 1042s ok 1744 /checksum/SHA512/reset/76 1042s ok 1745 /checksum/SHA512/reset/77 1042s ok 1746 /checksum/SHA512/reset/78 1042s ok 1747 /checksum/SHA512/reset/79 1042s ok 1748 /checksum/SHA512/reset/80 1042s ok 1749 /checksum/SHA512/reset/81 1042s ok 1750 /checksum/SHA512/reset/82 1042s ok 1751 /checksum/SHA512/reset/83 1042s ok 1752 /checksum/SHA512/reset/84 1042s ok 1753 /checksum/SHA512/reset/85 1042s ok 1754 /checksum/SHA512/reset/86 1042s ok 1755 /checksum/SHA512/reset/87 1042s ok 1756 /checksum/SHA512/reset/88 1042s ok 1757 /checksum/SHA512/reset/89 1042s ok 1758 /checksum/SHA512/reset/90 1042s ok 1759 /checksum/SHA512/reset/91 1042s ok 1760 /checksum/SHA512/reset/92 1042s ok 1761 /checksum/SHA512/reset/93 1042s ok 1762 /checksum/SHA512/reset/94 1042s ok 1763 /checksum/SHA512/reset/95 1042s ok 1764 /checksum/SHA512/reset/96 1042s ok 1765 /checksum/SHA512/reset/97 1042s ok 1766 /checksum/SHA512/reset/98 1042s ok 1767 /checksum/SHA512/reset/99 1042s ok 1768 /checksum/SHA512/reset/100 1042s ok 1769 /checksum/SHA512/reset/101 1042s ok 1770 /checksum/SHA512/reset/102 1042s ok 1771 /checksum/SHA512/reset/103 1042s ok 1772 /checksum/SHA512/reset/104 1042s ok 1773 /checksum/SHA512/reset/105 1042s ok 1774 /checksum/SHA512/reset/106 1042s ok 1775 /checksum/SHA512/reset/107 1042s ok 1776 /checksum/SHA512/reset/108 1042s ok 1777 /checksum/SHA512/reset/109 1042s ok 1778 /checksum/SHA512/reset/110 1042s ok 1779 /checksum/SHA512/reset/111 1042s ok 1780 /checksum/SHA512/reset/112 1042s ok 1781 /checksum/SHA512/reset/113 1042s ok 1782 /checksum/SHA512/reset/114 1042s ok 1783 /checksum/SHA512/reset/115 1042s ok 1784 /checksum/SHA512/reset/116 1042s ok 1785 /checksum/SHA512/reset/117 1042s ok 1786 /checksum/SHA512/reset/118 1042s ok 1787 /checksum/SHA512/reset/119 1042s ok 1788 /checksum/SHA512/reset/120 1042s ok 1789 /checksum/SHA512/reset/121 1042s ok 1790 /checksum/SHA512/reset/122 1042s ok 1791 /checksum/SHA512/reset/123 1042s ok 1792 /checksum/SHA512/reset/124 1042s ok 1793 /checksum/SHA512/reset/125 1042s ok 1794 /checksum/SHA512/reset/126 1042s ok 1795 /checksum/SHA512/reset/127 1042s ok 1796 /checksum/SHA512/reset/128 1042s ok 1797 /checksum/SHA512/reset/129 1042s ok 1798 /checksum/SHA512/reset/130 1042s ok 1799 /checksum/SHA512/reset/131 1042s ok 1800 /checksum/SHA512/reset/132 1042s ok 1801 /checksum/SHA512/reset/133 1042s ok 1802 /checksum/SHA512/reset/134 1042s ok 1803 /checksum/SHA512/reset/135 1042s ok 1804 /checksum/SHA512/reset/136 1042s ok 1805 /checksum/SHA512/reset/137 1042s ok 1806 /checksum/SHA512/reset/138 1042s ok 1807 /checksum/SHA512/reset/139 1042s ok 1808 /checksum/SHA512/reset/140 1042s ok 1809 /checksum/SHA512/reset/141 1042s ok 1810 /checksum/SHA512/reset/142 1042s ok 1811 /checksum/SHA512/reset/143 1042s ok 1812 /checksum/SHA512/reset/144 1042s ok 1813 /checksum/SHA512/reset/145 1042s ok 1814 /checksum/SHA512/reset/146 1042s ok 1815 /checksum/SHA512/reset/147 1042s ok 1816 /checksum/SHA512/reset/148 1042s ok 1817 /checksum/SHA512/reset/149 1042s ok 1818 /checksum/SHA512/reset/150 1042s ok 1819 /checksum/SHA512/reset/151 1042s ok 1820 /checksum/SHA512/reset/152 1042s ok 1821 /checksum/SHA512/reset/153 1042s ok 1822 /checksum/SHA512/reset/154 1042s ok 1823 /checksum/SHA512/reset/155 1042s ok 1824 /checksum/SHA512/reset/156 1042s ok 1825 /checksum/SHA512/reset/157 1042s ok 1826 /checksum/SHA512/reset/158 1042s ok 1827 /checksum/SHA512/reset/159 1042s ok 1828 /checksum/SHA512/reset/160 1042s ok 1829 /checksum/SHA512/reset/161 1042s ok 1830 /checksum/SHA512/reset/162 1042s ok 1831 /checksum/SHA512/reset/163 1042s ok 1832 /checksum/SHA512/reset/164 1042s ok 1833 /checksum/SHA512/reset/165 1042s ok 1834 /checksum/SHA512/reset/166 1042s ok 1835 /checksum/SHA512/reset/167 1042s ok 1836 /checksum/SHA512/reset/168 1042s ok 1837 /checksum/SHA512/reset/169 1042s ok 1838 /checksum/SHA512/reset/170 1042s ok 1839 /checksum/SHA512/reset/171 1042s ok 1840 /checksum/SHA512/reset/172 1042s ok 1841 /checksum/SHA512/reset/173 1042s ok 1842 /checksum/SHA512/reset/174 1042s ok 1843 /checksum/SHA512/reset/175 1042s ok 1844 /checksum/SHA512/reset/176 1042s ok 1845 /checksum/SHA512/reset/177 1042s ok 1846 /checksum/SHA512/reset/178 1042s ok 1847 /checksum/SHA512/reset/179 1042s ok 1848 /checksum/SHA512/reset/180 1042s ok 1849 /checksum/SHA512/reset/181 1042s ok 1850 /checksum/SHA512/reset/182 1042s ok 1851 /checksum/SHA512/reset/183 1042s # End of reset tests 1042s # End of SHA512 tests 1042s # End of checksum tests 1042s ok - glib/checksum.test 1042s # Running test: glib/portal-support-snap-classic.test 1042s TAP version 14 1042s # random seed: R02Sc19c80359dc3c63fc5dcda05b858f07c 1042s 1..3 1042s # Start of portal-support tests 1042s # Start of snap-classic tests 1042s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/no-snapctl/.dirs/home 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/no-snapctl/.dirs/cache 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/no-snapctl/.dirs/config 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/no-snapctl/.dirs/data 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/no-snapctl/.dirs/state 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/no-snapctl/.dirs/runtime 1042s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/no-snapctl: No such file or directory 1042s ok 1 /portal-support/snap-classic/no-snapctl 1042s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/none/.dirs/home 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/none/.dirs/cache 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/none/.dirs/system-config2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/none/.dirs/config 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/none/.dirs/system-data2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/none/.dirs/data 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/none/.dirs/state 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/none/.dirs/runtime 1042s # Created snap.yaml in /tmp/test_portal-support-snap-classic_OCFI22/meta/snap.yaml 1042s # Created snapctl in /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/none/.dirs/runtime/snapctl 1042s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/none: No such file or directory 1042s ok 2 /portal-support/snap-classic/none 1042s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/all/.dirs/home 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/all/.dirs/cache 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/all/.dirs/system-config2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/all/.dirs/config 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/all/.dirs/system-data2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/all/.dirs/data 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/all/.dirs/state 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/all/.dirs/runtime 1042s # Created snap.yaml in /tmp/test_portal-support-snap-classic_OCFI22/meta/snap.yaml 1042s # Created snapctl in /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/all/.dirs/runtime/snapctl 1042s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_OCFI22/portal-support/snap-classic/all: No such file or directory 1042s ok 3 /portal-support/snap-classic/all 1042s # End of snap-classic tests 1042s # End of portal-support tests 1042s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_OCFI22: No such file or directory 1042s ok - glib/portal-support-snap-classic.test 1042s # Running test: glib/accumulator.test 1042s TAP version 14 1042s # random seed: R02S91e10333aa9962535102d8b612e4fcb1 1042s 1..1 1042s # Start of gobject tests 1042s ok 1 /gobject/accumulator 1042s # End of gobject tests 1042s ok - glib/accumulator.test 1042s # Running test: glib/type-flags.test 1042s TAP version 14 1042s # random seed: R02Sb8c8fe4e883826322a1448233881f898 1042s 1..4 1042s # Start of type tests 1042s # Start of flags tests 1042s ok 1 /type/flags/interface 1042s ok 2 /type/flags/final 1042s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1042s ok 3 /type/flags/deprecated 1042s # Start of final tests 1042s ok 4 /type/flags/final/instance-check 1042s # End of final tests 1042s # End of flags tests 1042s # End of type tests 1042s ok - glib/type-flags.test 1042s # Running test: glib/overflow-fallback.test 1042s TAP version 14 1042s # random seed: R02S9613d0598e0cb7fa0fb58497a39a0150 1042s 1..6 1042s # Start of glib tests 1042s # Start of checked-math tests 1042s ok 1 /glib/checked-math/guint-add 1042s ok 2 /glib/checked-math/guint-mul 1042s ok 3 /glib/checked-math/guint64-add 1042s ok 4 /glib/checked-math/guint64-mul 1042s ok 5 /glib/checked-math/gsize-add 1042s ok 6 /glib/checked-math/gsize-mul 1042s # End of checked-math tests 1042s # End of glib tests 1042s ok - glib/overflow-fallback.test 1042s # Running test: glib/g-file.test 1042s TAP version 14 1042s # random seed: R02Sd4c1a92556cb8fe6ea1dd3181c06fd84 1042s 1..8 1042s # Start of g-file tests 1042s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1042s ok 1 /g-file/test_g_file_new_null 1042s ok 2 /g-file/test_g_file_new_for_path 1042s ok 3 /g-file/test_g_file_new_for_uri 1042s ok 4 /g-file/test_g_file_dup 1042s ok 5 /g-file/test_g_file_get_parse_name_utf8 1042s file:///tmp/test-tmp-glib_g-file.test-OL9H22 1042s file:///tmp 1042s file:///tmp 1042s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1042s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1042s ok 6 /g-file/test_g_file_new_for_commandline_arg 1042s /dir1 /dir1/dir2/dir3/ 1042s /dir1/ /dir1/dir2/dir3/ 1042s /dir1 /dir1/dir2/dir3 1042s /dir1/ /dir1/dir2/dir3 1042s /tmp/ /something/ 1042s /dir1/dir2 /dir1/ 1042s //dir1/new //dir1/new/dir2/dir3 1042s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1042s file:///dir1 file:///dir1/dir2/dir3/ 1042s file:///dir1/ file:///dir1/dir2/dir3/ 1042s file:///dir1 file:///dir1/dir2/dir3 1042s file:///dir1/ file:///dir1/dir2/dir3 1042s file:///tmp/ file:///something/ 1042s file:///dir1/dir2 file:///dir1/ 1042s file:////dir1/new file:////dir1/new/dir2/dir3 1042s 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 1042s ok 7 /g-file/test_g_file_has_prefix 1042s ok 8 /g-file/test_g_file_get_parent_child 1042s # End of g-file tests 1042s ok - glib/g-file.test 1042s # Running test: glib/win32-appinfo.test 1042s TAP version 14 1042s # random seed: R02S3c7ea3211f85c9a2e8ae8dc356599dc6 1042s 1..5 1042s # Start of appinfo tests 1042s ok 1 /appinfo/utf16-strfuncs 1042s ok 2 /appinfo/win32-extract-executable 1042s ok 3 /appinfo/win32-rundll32-fixup 1042s ok 4 /appinfo/win32-parse-filename 1042s ok 5 /appinfo/win32-utf16-conversion-fail 1042s # Start of subprocess tests 1042s # End of subprocess tests 1042s # End of appinfo tests 1042s ok - glib/win32-appinfo.test 1042s # Running test: glib/gdbus-bz627724.test 1042s TAP version 14 1042s # random seed: R02S59c6473b24dfead1d7379192847fcb72 1042s 1..1 1042s # Start of gdbus tests 1042s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_JQ2H22/gdbus/bz627724/.dirs/home 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_JQ2H22/gdbus/bz627724/.dirs/cache 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_JQ2H22/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_JQ2H22/gdbus/bz627724/.dirs/system-config2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_JQ2H22/gdbus/bz627724/.dirs/config 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_JQ2H22/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_JQ2H22/gdbus/bz627724/.dirs/system-data2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_JQ2H22/gdbus/bz627724/.dirs/data 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_JQ2H22/gdbus/bz627724/.dirs/state 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_JQ2H22/gdbus/bz627724/.dirs/runtime 1042s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1042s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1042s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1042s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1042s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1042s ok 1 /gdbus/bz627724 1042s # End of gdbus tests 1042s ok - glib/gdbus-bz627724.test 1042s # Running test: glib/async-close-output-stream.test 1042s TAP version 14 1042s # random seed: R02S6c0baa61f9d5688da0a10e700a7ee58a 1042s 1..3 1042s # Start of close-async tests 1042s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1042s ok 1 /close-async/without-flush 1042s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1042s ok 2 /close-async/with-flush 1042s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1042s ok 3 /close-async/with-async-flush 1042s # End of close-async tests 1042s ok - glib/async-close-output-stream.test 1042s # Running test: glib/dynamictests.test 1042s TAP version 14 1042s # random seed: R02Sdaa8c8f46dd1b7c34d2425f9ce56ae29 1042s 1..2 1042s # Start of GObject tests 1042s ok 1 /GObject/threaded-dynamic-ref-unref-init 1042s ok 2 /GObject/dynamic-interface-properties 1042s # End of GObject tests 1042s ok - glib/dynamictests.test 1042s # Running test: glib/socket-listener.test 1042s TAP version 14 1042s # random seed: R02Sd9c1f38c5aad29d8b47c1b23d199d5a8 1042s 1..1 1042s # Start of socket-listener tests 1042s ok 1 /socket-listener/event-signal 1042s # End of socket-listener tests 1042s ok - glib/socket-listener.test 1042s # Running test: glib/performance-threaded.test 1042s Running test "liststore-is-a" 1042s # Executing: glib/performance-threaded.test 1043s 15518 runs, min/avg/max = 0.062/0.064/0.597 ms 1043s Running test "liststore-interface-peek" 1044s 19334 runs, min/avg/max = 0.049/0.052/1.007 ms 1044s Running test "liststore-interface-peek-same" 1045s 18967 runs, min/avg/max = 0.050/0.053/0.875 ms 1045s ok - glib/performance-threaded.test 1045s # Running test: glib/testing-nonfatal.test 1045s TAP version 14 1045s # random seed: R02S99e7aa8ae730b29fa6d1fb75a9ccf381 1045s ** 1045s GLib:ERROR:../../../glib/tests/testing-nonfatal.c:26:main: assertion failed ("We can survive this!" == "Or maybe not?"): ("We can survive this!" == "Or maybe not?") 1045s # GLib:ERROR:../../../glib/tests/testing-nonfatal.c:26:main: assertion failed ("We can survive this!" == "Or maybe not?"): ("We can survive this!" == "Or maybe not?") 1045s ok - glib/testing-nonfatal.test 1045s # Running test: glib/cache.test 1045s TAP version 14 1045s # random seed: R02Sb1b626c8711434cebe56fd40272df369 1045s 1..1 1045s # Start of cache tests 1045s ok 1 /cache/basic 1045s # End of cache tests 1045s ok - glib/cache.test 1045s # Running test: glib/types.test 1045s TAP version 14 1045s # random seed: R02Sda57cac7c49b7cbb4ad507692e6880d7 1045s 1..1 1045s # Start of types tests 1045s ok 1 /types/basic_types 1045s # End of types tests 1045s ok - glib/types.test 1045s # Running test: glib/bitlock.test 1045s TAP version 14 1045s # random seed: R02Se85553cf02773e5be20d130726e65f95 1045s 1..1 1045s # Start of bitlock tests 1045s # Start of performance tests 1045s # max perf: iterations per second 1045s ok 1 /bitlock/performance/uncontended 1045s # End of performance tests 1045s # End of bitlock tests 1045s ok - glib/bitlock.test 1045s # Running test: glib/inet-address.test 1045s TAP version 14 1045s # random seed: R02S407484e4794d71994d576146d244a0c0 1045s 1..11 1045s # Start of inet-address tests 1045s ok 1 /inet-address/parse 1045s ok 2 /inet-address/any 1045s ok 3 /inet-address/loopback 1045s ok 4 /inet-address/bytes 1045s ok 5 /inet-address/property 1045s # End of inet-address tests 1045s # Start of socket-address tests 1045s ok 6 /socket-address/basic 1045s ok 7 /socket-address/to-string 1045s # End of socket-address tests 1045s # Start of address-mask tests 1045s ok 8 /address-mask/parse 1045s ok 9 /address-mask/property 1045s ok 10 /address-mask/equal 1045s ok 11 /address-mask/match 1045s # End of address-mask tests 1045s ok - glib/inet-address.test 1045s # Running test: glib/gdbus-message.test 1045s TAP version 14 1045s # random seed: R02Sd347075dbabe1556f21e6b119db6baa1 1045s 1..3 1045s # Start of gdbus tests 1045s # Start of message tests 1045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_UDNI22/gdbus/message/lock/.dirs/home 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_UDNI22/gdbus/message/lock/.dirs/cache 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_UDNI22/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_UDNI22/gdbus/message/lock/.dirs/system-config2 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_UDNI22/gdbus/message/lock/.dirs/config 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_UDNI22/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_UDNI22/gdbus/message/lock/.dirs/system-data2 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_UDNI22/gdbus/message/lock/.dirs/data 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_UDNI22/gdbus/message/lock/.dirs/state 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_UDNI22/gdbus/message/lock/.dirs/runtime 1045s ok 1 /gdbus/message/lock 1045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_UDNI22/gdbus/message/copy/.dirs/home 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_UDNI22/gdbus/message/copy/.dirs/cache 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_UDNI22/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_UDNI22/gdbus/message/copy/.dirs/system-config2 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_UDNI22/gdbus/message/copy/.dirs/config 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_UDNI22/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_UDNI22/gdbus/message/copy/.dirs/system-data2 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_UDNI22/gdbus/message/copy/.dirs/data 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_UDNI22/gdbus/message/copy/.dirs/state 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_UDNI22/gdbus/message/copy/.dirs/runtime 1045s ok 2 /gdbus/message/copy 1045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_UDNI22/gdbus/message/bytes-needed/.dirs/home 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_UDNI22/gdbus/message/bytes-needed/.dirs/cache 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_UDNI22/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_UDNI22/gdbus/message/bytes-needed/.dirs/system-config2 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_UDNI22/gdbus/message/bytes-needed/.dirs/config 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_UDNI22/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_UDNI22/gdbus/message/bytes-needed/.dirs/system-data2 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_UDNI22/gdbus/message/bytes-needed/.dirs/data 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_UDNI22/gdbus/message/bytes-needed/.dirs/state 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_UDNI22/gdbus/message/bytes-needed/.dirs/runtime 1045s # Vector: 0 1045s # Vector: 1 1045s # Vector: 2 1045s # Vector: 3 1045s # Vector: 4 1045s # Vector: 5 1045s ok 3 /gdbus/message/bytes-needed 1045s # End of message tests 1045s # End of gdbus tests 1045s ok - glib/gdbus-message.test 1045s # Running test: glib/gdbus-threading.test 1045s TAP version 14 1045s # random seed: R02S04e5d8bb5cd23547ddf6ed19b6968d8a 1045s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1045s ok - glib/gdbus-threading.test 1045s # Running test: glib/cxx.test 1045s TAP version 14 1045s # random seed: R02S2de4ad8862369b3708949de4cf20ccfe 1045s 1..2 1045s # Start of gtask tests 1045s # 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. 1045s ok 1 /gtask/name 1045s # Start of name tests 1045s # 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. 1045s ok 2 /gtask/name/macro-wrapper 1045s # End of name tests 1045s # End of gtask tests 1045s ok - glib/cxx.test 1045s # Running test: glib/thread-pool.test 1045s TAP version 14 1045s # random seed: R02S987ba5fe1c44bf9cb94a5833f00098cb 1045s 1..5 1045s # Start of thread_pool tests 1045s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1045s ok 1 /thread_pool/shared 1045s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1045s ok 2 /thread_pool/exclusive 1045s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1045s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1045s ok 3 /thread_pool/create_shared_after_exclusive 1045s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1045s ok 4 /thread_pool/create_full 1045s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1045s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1045s ok 5 /thread_pool/create_exclusive_after_shared 1045s # End of thread_pool tests 1045s ok - glib/thread-pool.test 1045s # Running test: glib/gobject-private.test 1045s TAP version 14 1045s # random seed: R02S7e1102e35f2014d5ac51658a0ecd5940 1045s 1..3 1045s # Start of private tests 1045s ok 1 /private/instance 1045s ok 2 /private/derived-instance 1045s ok 3 /private/mixed-derived-instance 1045s # End of private tests 1045s ok - glib/gobject-private.test 1045s # Running test: glib/macros-c-11.test 1045s TAP version 14 1045s # random seed: R02Sd582db143b68c175a0bd8f82695fabd6 1045s 1..4 1045s # Start of C tests 1045s ok 1 /C/standard-11 1045s # End of C tests 1045s # Start of alignof tests 1045s ok 2 /alignof/fallback 1045s # End of alignof tests 1045s # Start of assert tests 1045s ok 3 /assert/static 1045s # End of assert tests 1045s # Start of struct tests 1045s ok 4 /struct/sizeof_member 1045s # End of struct tests 1045s ok - glib/macros-c-11.test 1045s # Running test: glib/spawn-singlethread.test 1045s TAP version 14 1045s # random seed: R02S8d129eaf7148d653a93c6265d7b5020f 1045s 1..9 1045s # Start of gthread tests 1045s ok 1 /gthread/spawn-single-sync 1045s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1045s ok 2 /gthread/spawn-stderr-socket 1045s ok 3 /gthread/spawn-single-async 1045s # thread 1 1045s # thread 1 1045s ok 4 /gthread/spawn-single-async-with-fds 1045s ok 5 /gthread/spawn-async-with-invalid-fds 1045s ok 6 /gthread/spawn-script 1045s ok 7 /gthread/spawn-posix-spawn 1045s # Start of spawn tests 1045s ok 8 /gthread/spawn/nonexistent 1045s # FD map: 1045s # • 5 → 15 1045s # • 6 → 16 1045s # • 7 → 17 1045s # • 8 → 18 1045s # • 9 → 19 1045s # • 10 → 20 1045s # • 11 → 21 1045s # • 12 → 22 1045s # • 13 → 23 1045s # • 3 → 13 1045s ok 9 /gthread/spawn/fd-assignment-clash 1045s # End of spawn tests 1045s # End of gthread tests 1045s ok - glib/spawn-singlethread.test 1045s # Running test: glib/refstring.test 1045s TAP version 14 1045s # random seed: R02Sd0eb052a4770bba9853e76f59b422a0d 1045s 1..8 1045s # Start of refstring tests 1045s # s = 'hello, world' (0x2aa2362e3b0) 1045s ok 1 /refstring/base 1045s ok 2 /refstring/length 1045s ok 3 /refstring/length-auto 1045s ok 4 /refstring/length-nuls 1045s # s = 'hello, world' (0x2aa2362e300) 1045s # p = s = 'hello, world' (0x2aa2362e300) 1045s # releasing p[0x2aa2362e300] ('hello, world') 1045s # p = 'goodbye, world' (0x2aa2362e3b0) 1045s # releasing p[0x2aa2362e3b0] ('goodbye, world') 1045s # releasing s[0x2aa2362e300] ('hello, world') 1045s ok 5 /refstring/intern 1045s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 1045s ok 6 /refstring/hash_equal 1045s # /refstring/equal summary: Test g_ref_string_equal() standalone 1045s ok 7 /refstring/equal 1045s ok 8 /refstring/intern-thread-safety 1045s # End of refstring tests 1045s ok - glib/refstring.test 1045s # Running test: glib/proxy-test.test 1045s TAP version 14 1045s # random seed: R02Sb1cfd3ca4914b124831d7806b4faeee2 1045s 1..11 1045s # Start of proxy tests 1045s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1045s ok 1 /proxy/direct_sync 1045s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1045s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1e0e6920 and GSocketClientAsyncConnectData 0x2aa1e0dc260 1045s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1045s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1e0e7330 for GSocketClientAsyncConnectData 0x2aa1e0dc260 1045s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1045s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1045s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1045s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1045s ok 2 /proxy/direct_async 1045s ok 3 /proxy/single_sync 1045s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1045s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1e0e8c30 and GSocketClientAsyncConnectData 0x2aa1e0e7d80 1045s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1045s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1e0e9790 for GSocketClientAsyncConnectData 0x2aa1e0e7d80 1045s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1045s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1045s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1045s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1045s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1045s ok 4 /proxy/single_async 1045s ok 5 /proxy/multiple_sync 1045s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1045s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1e0e94c0 and GSocketClientAsyncConnectData 0x2aa1e0e9290 1045s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1045s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1e0e9e10 for GSocketClientAsyncConnectData 0x2aa1e0e9290 1045s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1045s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1045s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1045s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1045s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1045s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1e0e9820 for GSocketClientAsyncConnectData 0x2aa1e0e9290 1045s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1045s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1045s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1045s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1045s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1045s ok 6 /proxy/multiple_async 1045s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1045s ok 7 /proxy/invalid-uris-sync 1045s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1045s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1045s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1e0e9ba0 and GSocketClientAsyncConnectData 0x2aa1e0e90a0 1045s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1045s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1045s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1045s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1e0e94c0 and GSocketClientAsyncConnectData 0x2aa1e0e9580 1045s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1045s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1045s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1045s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1e0e9ba0 and GSocketClientAsyncConnectData 0x2aa1e0e90a0 1045s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1045s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1e0ea020 for GSocketClientAsyncConnectData 0x2aa1e0e90a0 1045s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1045s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1045s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1045s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1045s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1045s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1e0e9ba0 and GSocketClientAsyncConnectData 0x2aa1e0e9580 1045s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1045s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1e0e3980 for GSocketClientAsyncConnectData 0x2aa1e0e9580 1045s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1045s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1045s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1045s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1045s ok 8 /proxy/invalid-uris-async 1045s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1045s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1e0e8b70 and GSocketClientAsyncConnectData 0x2aa1e0e90a0 1045s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1045s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1045s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1045s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1045s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1045s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1e0e8b70 and GSocketClientAsyncConnectData 0x2aa1e0e9ed0 1045s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1045s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1e0e9ba0 for GSocketClientAsyncConnectData 0x2aa1e0e9ed0 1045s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1045s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1045s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1045s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1045s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1045s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1045s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1045s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1e0e9ba0 and GSocketClientAsyncConnectData 0x2aa1e0e90a0 1045s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1045s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1e0e8b70 for GSocketClientAsyncConnectData 0x2aa1e0e90a0 1045s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1045s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1045s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1045s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1045s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1045s ok 9 /proxy/dns 1045s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1045s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1e0e8b70 and GSocketClientAsyncConnectData 0x2aa1e0ea150 1045s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1045s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1e0ea310 for GSocketClientAsyncConnectData 0x2aa1e0ea150 1045s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1045s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1045s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1045s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1045s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1045s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1045s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1045s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1e0e9f40 and GSocketClientAsyncConnectData 0x2aa1e0e90a0 1045s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1045s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1e0ea720 for GSocketClientAsyncConnectData 0x2aa1e0e90a0 1045s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1045s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1045s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1045s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1045s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1045s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1045s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1e0ea120 and GSocketClientAsyncConnectData 0x2aa1e0cbbb0 1045s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1045s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1e0ea900 for GSocketClientAsyncConnectData 0x2aa1e0cbbb0 1045s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1045s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1045s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1045s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1045s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1045s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1045s ok 10 /proxy/override 1045s ok 11 /proxy/enumerator-ports 1045s # End of proxy tests 1045s ok - glib/proxy-test.test 1045s # Running test: glib/utf8-pointer.test 1045s TAP version 14 1045s # random seed: R02Sa60c608bac9b37fa7f303b828c8fa8e6 1045s 1..3 1045s # Start of utf8 tests 1046s ok 1 /utf8/offsets 1046s # slow test /utf8/offsets executed in 0.69 secs 1046s ok 2 /utf8/lengths 1046s ok 3 /utf8/find 1046s # End of utf8 tests 1046s ok - glib/utf8-pointer.test 1046s # Running test: glib/macros.test 1046s TAP version 14 1046s # random seed: R02S13347052ebcaab8d42ae3bcb0b2efd16 1046s 1..3 1046s # Start of alignof tests 1046s ok 1 /alignof/fallback 1046s # End of alignof tests 1046s # Start of assert tests 1046s ok 2 /assert/static 1046s # End of assert tests 1046s # Start of struct tests 1046s ok 3 /struct/sizeof_member 1046s # End of struct tests 1046s ok - glib/macros.test 1046s # Running test: glib/markup-escape.test 1046s TAP version 14 1046s # random seed: R02S9a8ee1f0b70f2f401cf1278abf9e8a00 1046s 1..41 1046s # Start of markup tests 1046s ok 1 /markup/format 1046s # Start of escape-text tests 1046s ok 2 /markup/escape-text/0 1046s ok 3 /markup/escape-text/1 1046s ok 4 /markup/escape-text/2 1046s ok 5 /markup/escape-text/3 1046s ok 6 /markup/escape-text/4 1046s ok 7 /markup/escape-text/5 1046s ok 8 /markup/escape-text/6 1046s ok 9 /markup/escape-text/7 1046s ok 10 /markup/escape-text/8 1046s ok 11 /markup/escape-text/9 1046s ok 12 /markup/escape-text/10 1046s ok 13 /markup/escape-text/11 1046s ok 14 /markup/escape-text/12 1046s ok 15 /markup/escape-text/13 1046s ok 16 /markup/escape-text/14 1046s ok 17 /markup/escape-text/15 1046s ok 18 /markup/escape-text/16 1046s ok 19 /markup/escape-text/17 1046s ok 20 /markup/escape-text/18 1046s ok 21 /markup/escape-text/19 1046s ok 22 /markup/escape-text/20 1046s ok 23 /markup/escape-text/21 1046s ok 24 /markup/escape-text/22 1046s # End of escape-text tests 1046s # Start of escape-unichar tests 1046s ok 25 /markup/escape-unichar/0 1046s ok 26 /markup/escape-unichar/1 1046s ok 27 /markup/escape-unichar/2 1046s ok 28 /markup/escape-unichar/3 1046s ok 29 /markup/escape-unichar/4 1046s ok 30 /markup/escape-unichar/5 1046s ok 31 /markup/escape-unichar/6 1046s ok 32 /markup/escape-unichar/7 1046s ok 33 /markup/escape-unichar/8 1046s ok 34 /markup/escape-unichar/9 1046s ok 35 /markup/escape-unichar/10 1046s ok 36 /markup/escape-unichar/11 1046s ok 37 /markup/escape-unichar/12 1046s ok 38 /markup/escape-unichar/13 1046s ok 39 /markup/escape-unichar/14 1046s ok 40 /markup/escape-unichar/15 1046s ok 41 /markup/escape-unichar/16 1046s # End of escape-unichar tests 1046s # End of markup tests 1046s ok - glib/markup-escape.test 1046s # Running test: glib/gdbus-auth.test 1046s TAP version 14 1046s # random seed: R02S2c8e1b14fb3b95864ccddc1e9de9a09a 1046s 1..5 1046s # Start of gdbus tests 1046s # Start of auth tests 1046s # Start of client tests 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/client/EXTERNAL/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/client/EXTERNAL/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_CNH012/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_CNH012/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/client/EXTERNAL/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_CNH012/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_CNH012/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/client/EXTERNAL/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/client/EXTERNAL/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_CNH012/gdbus/auth/client/EXTERNAL/.dirs/runtime 1046s ok 1 /gdbus/auth/client/EXTERNAL 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_CNH012/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_CNH012/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_CNH012/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_CNH012/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_CNH012/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1046s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1046s # End of client tests 1046s # Start of server tests 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/ANONYMOUS/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/ANONYMOUS/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_CNH012/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/ANONYMOUS/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_CNH012/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/ANONYMOUS/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/ANONYMOUS/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1046s ok 3 /gdbus/auth/server/ANONYMOUS 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/EXTERNAL/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/EXTERNAL/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_CNH012/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/EXTERNAL/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_CNH012/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/EXTERNAL/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/EXTERNAL/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/EXTERNAL/.dirs/runtime 1046s ok 4 /gdbus/auth/server/EXTERNAL 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_CNH012/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_CNH012/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_CNH012/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1046s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1046s # End of server tests 1046s # End of auth tests 1046s # End of gdbus tests 1046s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1046s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1046s ok - glib/gdbus-auth.test 1046s # Running test: glib/io-stream.test 1046s TAP version 14 1046s # random seed: R02S513a0210bcc95f231fc1ae10b83c4b43 1046s 1..3 1046s # Start of io-stream tests 1046s ok 1 /io-stream/copy-chunks 1046s # Start of close tests 1046s # Start of async tests 1046s ok 2 /io-stream/close/async/memory 1046s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1046s ok 3 /io-stream/close/async/file 1046s # End of async tests 1046s # End of close tests 1046s # End of io-stream tests 1046s ok - glib/io-stream.test 1046s # Running test: glib/file.test 1046s TAP version 14 1046s # random seed: R02S5f4269ff889abd8cc65139182fdcfe5f 1046s 1..55 1046s # Start of file tests 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/basic/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/basic/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/basic/.dirs/system-config1:/tmp/test_file_MPN112/file/basic/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/basic/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/basic/.dirs/system-data1:/tmp/test_file_MPN112/file/basic/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/basic/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/basic/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/basic/.dirs/runtime 1046s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1046s ok 1 /file/basic 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/build-filename/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/build-filename/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/build-filename/.dirs/system-config1:/tmp/test_file_MPN112/file/build-filename/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/build-filename/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/build-filename/.dirs/system-data1:/tmp/test_file_MPN112/file/build-filename/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/build-filename/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/build-filename/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/build-filename/.dirs/runtime 1046s ok 2 /file/build-filename 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/build-filenamev/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/build-filenamev/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/build-filenamev/.dirs/system-config1:/tmp/test_file_MPN112/file/build-filenamev/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/build-filenamev/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/build-filenamev/.dirs/system-data1:/tmp/test_file_MPN112/file/build-filenamev/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/build-filenamev/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/build-filenamev/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/build-filenamev/.dirs/runtime 1046s ok 3 /file/build-filenamev 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/parent/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/parent/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/parent/.dirs/system-config1:/tmp/test_file_MPN112/file/parent/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/parent/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/parent/.dirs/system-data1:/tmp/test_file_MPN112/file/parent/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/parent/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/parent/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/parent/.dirs/runtime 1046s ok 4 /file/parent 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/child/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/child/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/child/.dirs/system-config1:/tmp/test_file_MPN112/file/child/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/child/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/child/.dirs/system-data1:/tmp/test_file_MPN112/file/child/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/child/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/child/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/child/.dirs/runtime 1046s ok 5 /file/child 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/empty-path/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/empty-path/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/empty-path/.dirs/system-config1:/tmp/test_file_MPN112/file/empty-path/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/empty-path/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/empty-path/.dirs/system-data1:/tmp/test_file_MPN112/file/empty-path/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/empty-path/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/empty-path/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/empty-path/.dirs/runtime 1046s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1046s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1046s ok 6 /file/empty-path 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/type/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/type/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/type/.dirs/system-config1:/tmp/test_file_MPN112/file/type/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/type/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/type/.dirs/system-data1:/tmp/test_file_MPN112/file/type/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/type/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/type/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/type/.dirs/runtime 1046s ok 7 /file/type 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/parse-name/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/parse-name/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/parse-name/.dirs/system-config1:/tmp/test_file_MPN112/file/parse-name/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/parse-name/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/parse-name/.dirs/system-data1:/tmp/test_file_MPN112/file/parse-name/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/parse-name/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/parse-name/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/parse-name/.dirs/runtime 1046s ok 8 /file/parse-name 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/replace-load/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/replace-load/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/replace-load/.dirs/system-config1:/tmp/test_file_MPN112/file/replace-load/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/replace-load/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/replace-load/.dirs/system-data1:/tmp/test_file_MPN112/file/replace-load/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/replace-load/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/replace-load/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/replace-load/.dirs/runtime 1046s ok 9 /file/replace-load 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/replace-cancel/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/replace-cancel/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/replace-cancel/.dirs/system-config1:/tmp/test_file_MPN112/file/replace-cancel/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/replace-cancel/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/replace-cancel/.dirs/system-data1:/tmp/test_file_MPN112/file/replace-cancel/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/replace-cancel/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/replace-cancel/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/replace-cancel/.dirs/runtime 1046s # Bug Reference: https://bugzilla.gnome.org/629301 1046s ok 10 /file/replace-cancel 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/replace-symlink/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/replace-symlink/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/replace-symlink/.dirs/system-config1:/tmp/test_file_MPN112/file/replace-symlink/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/replace-symlink/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/replace-symlink/.dirs/system-data1:/tmp/test_file_MPN112/file/replace-symlink/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/replace-symlink/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/replace-symlink/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/replace-symlink/.dirs/runtime 1046s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1046s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1046s # Using temporary directory /tmp/test_file_MPN112/g_file_replace_symlink_NFJ112 1046s ok 11 /file/replace-symlink 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/async-new-tmp/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/async-new-tmp/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_MPN112/file/async-new-tmp/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/async-new-tmp/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_MPN112/file/async-new-tmp/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/async-new-tmp/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/async-new-tmp/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/async-new-tmp/.dirs/runtime 1046s ok 12 /file/async-new-tmp 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/async-new-tmp-dir/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/async-new-tmp-dir/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_MPN112/file/async-new-tmp-dir/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/async-new-tmp-dir/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_MPN112/file/async-new-tmp-dir/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/async-new-tmp-dir/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/async-new-tmp-dir/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/async-new-tmp-dir/.dirs/runtime 1046s ok 13 /file/async-new-tmp-dir 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/async-delete/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/async-delete/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/async-delete/.dirs/system-config1:/tmp/test_file_MPN112/file/async-delete/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/async-delete/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/async-delete/.dirs/system-data1:/tmp/test_file_MPN112/file/async-delete/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/async-delete/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/async-delete/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/async-delete/.dirs/runtime 1046s ok 14 /file/async-delete 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/async-make-symlink/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/async-make-symlink/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_MPN112/file/async-make-symlink/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/async-make-symlink/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_MPN112/file/async-make-symlink/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/async-make-symlink/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/async-make-symlink/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/async-make-symlink/.dirs/runtime 1046s ok 15 /file/async-make-symlink 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/copy-preserve-mode/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/copy-preserve-mode/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_MPN112/file/copy-preserve-mode/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/copy-preserve-mode/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_MPN112/file/copy-preserve-mode/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/copy-preserve-mode/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/copy-preserve-mode/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/copy-preserve-mode/.dirs/runtime 1046s # Current umask: 2 1046s # Vector 0 1046s # Vector 1 1046s # Vector 2 1046s # Vector 3 1046s # Vector 4 1046s # Vector 5 1046s # Vector 6 1046s # Vector 7 1046s # Vector 8 1046s # Vector 9 1046s # Vector 10 1046s ok 16 /file/copy-preserve-mode 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/copy-async-with-closures/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/copy-async-with-closures/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_MPN112/file/copy-async-with-closures/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/copy-async-with-closures/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_MPN112/file/copy-async-with-closures/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/copy-async-with-closures/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/copy-async-with-closures/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/copy-async-with-closures/.dirs/runtime 1046s ok 17 /file/copy-async-with-closures 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/measure/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/measure/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/measure/.dirs/system-config1:/tmp/test_file_MPN112/file/measure/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/measure/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/measure/.dirs/system-data1:/tmp/test_file_MPN112/file/measure/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/measure/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/measure/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/measure/.dirs/runtime 1046s ok 18 /file/measure 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/measure-async/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/measure-async/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/measure-async/.dirs/system-config1:/tmp/test_file_MPN112/file/measure-async/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/measure-async/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/measure-async/.dirs/system-data1:/tmp/test_file_MPN112/file/measure-async/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/measure-async/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/measure-async/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/measure-async/.dirs/runtime 1046s ok 19 /file/measure-async 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/load-bytes/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/load-bytes/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/load-bytes/.dirs/system-config1:/tmp/test_file_MPN112/file/load-bytes/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/load-bytes/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/load-bytes/.dirs/system-data1:/tmp/test_file_MPN112/file/load-bytes/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/load-bytes/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/load-bytes/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/load-bytes/.dirs/runtime 1046s ok 20 /file/load-bytes 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/load-bytes-async/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/load-bytes-async/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_MPN112/file/load-bytes-async/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/load-bytes-async/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_MPN112/file/load-bytes-async/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/load-bytes-async/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/load-bytes-async/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/load-bytes-async/.dirs/runtime 1046s ok 21 /file/load-bytes-async 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/load-bytes-4gb/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/load-bytes-4gb/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_MPN112/file/load-bytes-4gb/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/load-bytes-4gb/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_MPN112/file/load-bytes-4gb/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/load-bytes-4gb/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/load-bytes-4gb/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/load-bytes-4gb/.dirs/runtime 1046s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/load-contents-4gb/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/load-contents-4gb/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_MPN112/file/load-contents-4gb/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/load-contents-4gb/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_MPN112/file/load-contents-4gb/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/load-contents-4gb/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/load-contents-4gb/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/load-contents-4gb/.dirs/runtime 1046s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/load-contents-4gb-async/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/load-contents-4gb-async/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_MPN112/file/load-contents-4gb-async/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/load-contents-4gb-async/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_MPN112/file/load-contents-4gb-async/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/load-contents-4gb-async/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/load-contents-4gb-async/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/load-contents-4gb-async/.dirs/runtime 1046s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/writev/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/writev/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/writev/.dirs/system-config1:/tmp/test_file_MPN112/file/writev/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/writev/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/writev/.dirs/system-data1:/tmp/test_file_MPN112/file/writev/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/writev/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/writev/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/writev/.dirs/runtime 1046s ok 25 /file/writev 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/build-attribute-list-for-copy/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/build-attribute-list-for-copy/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_MPN112/file/build-attribute-list-for-copy/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/build-attribute-list-for-copy/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_MPN112/file/build-attribute-list-for-copy/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/build-attribute-list-for-copy/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/build-attribute-list-for-copy/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/build-attribute-list-for-copy/.dirs/runtime 1046s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1046s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1046s # 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::* 1046s # 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::* 1046s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1046s # Attributes for copy: standard::size,xattr::* 1046s # Attributes for copy: standard::size,unix::mode,xattr::* 1046s ok 26 /file/build-attribute-list-for-copy 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/move_async/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/move_async/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/move_async/.dirs/system-config1:/tmp/test_file_MPN112/file/move_async/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/move_async/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/move_async/.dirs/system-data1:/tmp/test_file_MPN112/file/move_async/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/move_async/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/move_async/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/move_async/.dirs/runtime 1046s ok 27 /file/move_async 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/move-async-with-closures/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/move-async-with-closures/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_MPN112/file/move-async-with-closures/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/move-async-with-closures/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_MPN112/file/move-async-with-closures/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/move-async-with-closures/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/move-async-with-closures/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/move-async-with-closures/.dirs/runtime 1046s ok 28 /file/move-async-with-closures 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/query-zero-length-content-type/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/query-zero-length-content-type/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_MPN112/file/query-zero-length-content-type/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/query-zero-length-content-type/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_MPN112/file/query-zero-length-content-type/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/query-zero-length-content-type/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/query-zero-length-content-type/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/query-zero-length-content-type/.dirs/runtime 1046s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1046s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1046s ok 29 /file/query-zero-length-content-type 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/query-default-handler-file/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/query-default-handler-file/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_MPN112/file/query-default-handler-file/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/query-default-handler-file/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_MPN112/file/query-default-handler-file/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/query-default-handler-file/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/query-default-handler-file/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/query-default-handler-file/.dirs/runtime 1046s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MPN112/file/query-default-handler-file/.dirs/data/applications 1046s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MPN112/file/query-default-handler-file/.dirs/config 1046s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MPN112/file/query-default-handler-file/.dirs/config 1046s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MPN112/file/query-default-handler-file/.dirs/config 1046s ok 30 /file/query-default-handler-file 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/query-default-handler-file-async/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/query-default-handler-file-async/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_MPN112/file/query-default-handler-file-async/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/query-default-handler-file-async/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_MPN112/file/query-default-handler-file-async/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/query-default-handler-file-async/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/query-default-handler-file-async/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/query-default-handler-file-async/.dirs/runtime 1046s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MPN112/file/query-default-handler-file-async/.dirs/data/applications 1046s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MPN112/file/query-default-handler-file-async/.dirs/config 1046s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_MPN112/file/query-default-handler-file/.dirs/config to /tmp/test_file_MPN112/file/query-default-handler-file-async/.dirs/config 1046s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MPN112/file/query-default-handler-file-async/.dirs/config 1046s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MPN112/file/query-default-handler-file-async/.dirs/config 1046s ok 31 /file/query-default-handler-file-async 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/query-default-handler-uri/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/query-default-handler-uri/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_MPN112/file/query-default-handler-uri/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/query-default-handler-uri/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_MPN112/file/query-default-handler-uri/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/query-default-handler-uri/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/query-default-handler-uri/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/query-default-handler-uri/.dirs/runtime 1046s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MPN112/file/query-default-handler-uri/.dirs/data/applications 1046s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MPN112/file/query-default-handler-uri/.dirs/config 1046s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_MPN112/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_MPN112/file/query-default-handler-uri/.dirs/config 1046s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MPN112/file/query-default-handler-uri/.dirs/config 1046s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MPN112/file/query-default-handler-uri/.dirs/config 1046s ok 32 /file/query-default-handler-uri 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/query-default-handler-uri-async/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/query-default-handler-uri-async/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_MPN112/file/query-default-handler-uri-async/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/query-default-handler-uri-async/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_MPN112/file/query-default-handler-uri-async/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/query-default-handler-uri-async/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/query-default-handler-uri-async/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/query-default-handler-uri-async/.dirs/runtime 1046s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MPN112/file/query-default-handler-uri-async/.dirs/data/applications 1046s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MPN112/file/query-default-handler-uri-async/.dirs/config 1046s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_MPN112/file/query-default-handler-uri/.dirs/config to /tmp/test_file_MPN112/file/query-default-handler-uri-async/.dirs/config 1046s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MPN112/file/query-default-handler-uri-async/.dirs/config 1046s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MPN112/file/query-default-handler-uri-async/.dirs/config 1046s ok 33 /file/query-default-handler-uri-async 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/enumerator-cancellation/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/enumerator-cancellation/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_MPN112/file/enumerator-cancellation/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/enumerator-cancellation/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_MPN112/file/enumerator-cancellation/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/enumerator-cancellation/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/enumerator-cancellation/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/enumerator-cancellation/.dirs/runtime 1046s ok 34 /file/enumerator-cancellation 1046s # Start of async-create-delete tests 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/async-create-delete/0/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/async-create-delete/0/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_MPN112/file/async-create-delete/0/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/async-create-delete/0/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_MPN112/file/async-create-delete/0/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/async-create-delete/0/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/async-create-delete/0/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/async-create-delete/0/.dirs/runtime 1046s ok 35 /file/async-create-delete/0 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/async-create-delete/1/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/async-create-delete/1/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_MPN112/file/async-create-delete/1/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/async-create-delete/1/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_MPN112/file/async-create-delete/1/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/async-create-delete/1/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/async-create-delete/1/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/async-create-delete/1/.dirs/runtime 1046s ok 36 /file/async-create-delete/1 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/async-create-delete/10/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/async-create-delete/10/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_MPN112/file/async-create-delete/10/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/async-create-delete/10/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_MPN112/file/async-create-delete/10/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/async-create-delete/10/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/async-create-delete/10/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/async-create-delete/10/.dirs/runtime 1046s ok 37 /file/async-create-delete/10 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/async-create-delete/25/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/async-create-delete/25/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_MPN112/file/async-create-delete/25/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/async-create-delete/25/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_MPN112/file/async-create-delete/25/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/async-create-delete/25/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/async-create-delete/25/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/async-create-delete/25/.dirs/runtime 1046s ok 38 /file/async-create-delete/25 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/async-create-delete/4096/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/async-create-delete/4096/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_MPN112/file/async-create-delete/4096/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/async-create-delete/4096/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_MPN112/file/async-create-delete/4096/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/async-create-delete/4096/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/async-create-delete/4096/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/async-create-delete/4096/.dirs/runtime 1046s ok 39 /file/async-create-delete/4096 1046s # End of async-create-delete tests 1046s # Start of replace-symlink tests 1046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/replace-symlink/using-etag/.dirs/home 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/replace-symlink/using-etag/.dirs/cache 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_MPN112/file/replace-symlink/using-etag/.dirs/system-config2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/replace-symlink/using-etag/.dirs/config 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_MPN112/file/replace-symlink/using-etag/.dirs/system-data2 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/replace-symlink/using-etag/.dirs/data 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/replace-symlink/using-etag/.dirs/state 1046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/replace-symlink/using-etag/.dirs/runtime 1046s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1046s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1046s # Using temporary directory /tmp/test_file_MPN112/g_file_replace_symlink_using_etag_PKK812 1047s # Executing: glib/file.test 1048s ok 40 /file/replace-symlink/using-etag 1048s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 1048s # End of replace-symlink tests 1048s # Start of replace tests 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/replace/write-only/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/replace/write-only/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/replace/write-only/.dirs/system-config1:/tmp/test_file_MPN112/file/replace/write-only/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/replace/write-only/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/replace/write-only/.dirs/system-data1:/tmp/test_file_MPN112/file/replace/write-only/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/replace/write-only/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/replace/write-only/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/replace/write-only/.dirs/runtime 1048s # /file/replace/write-only summary: Test various situations for g_file_replace() 1048s # Current umask: 2 1048s # Test 0, using temporary directory /tmp/test_file_MPN112/g_file_replace_OJI812 1048s # Test 1, using temporary directory /tmp/test_file_MPN112/g_file_replace_MOI812 1048s # Test 2, using temporary directory /tmp/test_file_MPN112/g_file_replace_QIH812 1048s # Test 3, using temporary directory /tmp/test_file_MPN112/g_file_replace_YVG812 1048s # Test 4, using temporary directory /tmp/test_file_MPN112/g_file_replace_NQG812 1048s # Test 5, using temporary directory /tmp/test_file_MPN112/g_file_replace_VFG812 1048s # Test 6, using temporary directory /tmp/test_file_MPN112/g_file_replace_ZFF812 1048s # Test 7, using temporary directory /tmp/test_file_MPN112/g_file_replace_XFE812 1048s # Test 8, using temporary directory /tmp/test_file_MPN112/g_file_replace_KIE812 1048s # Test 9, using temporary directory /tmp/test_file_MPN112/g_file_replace_N8D812 1049s # Test 10, using temporary directory /tmp/test_file_MPN112/g_file_replace_AMD812 1049s # Test 11, using temporary directory /tmp/test_file_MPN112/g_file_replace_BWC812 1049s # Test 12, using temporary directory /tmp/test_file_MPN112/g_file_replace_TYC812 1049s # Test 13, using temporary directory /tmp/test_file_MPN112/g_file_replace_6OC812 1049s # Test 14, using temporary directory /tmp/test_file_MPN112/g_file_replace_OXB812 1049s # Test 15, using temporary directory /tmp/test_file_MPN112/g_file_replace_R7A812 1049s # Test 16, using temporary directory /tmp/test_file_MPN112/g_file_replace_6FA812 1049s # Test 17, using temporary directory /tmp/test_file_MPN112/g_file_replace_YZ9712 1049s # Test 18, using temporary directory /tmp/test_file_MPN112/g_file_replace_A98712 1049s # Test 19, using temporary directory /tmp/test_file_MPN112/g_file_replace_OC8712 1049s # Test 20, using temporary directory /tmp/test_file_MPN112/g_file_replace_7K7712 1049s # Test 21, using temporary directory /tmp/test_file_MPN112/g_file_replace_156712 1049s # Test 22, using temporary directory /tmp/test_file_MPN112/g_file_replace_WG6712 1049s # Test 23, using temporary directory /tmp/test_file_MPN112/g_file_replace_G75712 1049s # Test 24, using temporary directory /tmp/test_file_MPN112/g_file_replace_SF5712 1049s # Test 25, using temporary directory /tmp/test_file_MPN112/g_file_replace_1L4712 1049s # Test 26, using temporary directory /tmp/test_file_MPN112/g_file_replace_BO4712 1049s # Test 27, using temporary directory /tmp/test_file_MPN112/g_file_replace_4E4712 1049s # Test 28, using temporary directory /tmp/test_file_MPN112/g_file_replace_7JI912 1049s # Test 29, using temporary directory /tmp/test_file_MPN112/g_file_replace_3UH912 1049s # Test 30, using temporary directory /tmp/test_file_MPN112/g_file_replace_7WH912 1049s # Test 31, using temporary directory /tmp/test_file_MPN112/g_file_replace_NVH912 1049s # Test 32, using temporary directory /tmp/test_file_MPN112/g_file_replace_TTG912 1049s # Test 33, using temporary directory /tmp/test_file_MPN112/g_file_replace_R5F912 1049s # Test 34, using temporary directory /tmp/test_file_MPN112/g_file_replace_1TF912 1049s # Test 35, using temporary directory /tmp/test_file_MPN112/g_file_replace_SYF912 1049s # Test 36, using temporary directory /tmp/test_file_MPN112/g_file_replace_X8E912 1049s # Test 37, using temporary directory /tmp/test_file_MPN112/g_file_replace_DME912 1049s # Test 38, using temporary directory /tmp/test_file_MPN112/g_file_replace_2SD912 1049s # Test 39, using temporary directory /tmp/test_file_MPN112/g_file_replace_PPC912 1049s # Test 40, using temporary directory /tmp/test_file_MPN112/g_file_replace_HVB912 1049s # Test 41, using temporary directory /tmp/test_file_MPN112/g_file_replace_DDB912 1049s # Test 42, using temporary directory /tmp/test_file_MPN112/g_file_replace_2LA912 1049s # Test 43, using temporary directory /tmp/test_file_MPN112/g_file_replace_XL9812 1049s # Test 44, using temporary directory /tmp/test_file_MPN112/g_file_replace_DD8812 1049s # Test 45, using temporary directory /tmp/test_file_MPN112/g_file_replace_FC8812 1049s # Test 46, using temporary directory /tmp/test_file_MPN112/g_file_replace_D17812 1049s # Test 47, using temporary directory /tmp/test_file_MPN112/g_file_replace_LR7812 1049s # Test 48, using temporary directory /tmp/test_file_MPN112/g_file_replace_N26812 1049s # We do not have CAP_DAC_OVERRIDE or equivalent 1049s ok 41 /file/replace/write-only 1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/replace/read-write/.dirs/home 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/replace/read-write/.dirs/cache 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/replace/read-write/.dirs/system-config1:/tmp/test_file_MPN112/file/replace/read-write/.dirs/system-config2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/replace/read-write/.dirs/config 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/replace/read-write/.dirs/system-data1:/tmp/test_file_MPN112/file/replace/read-write/.dirs/system-data2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/replace/read-write/.dirs/data 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/replace/read-write/.dirs/state 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/replace/read-write/.dirs/runtime 1049s # /file/replace/read-write summary: Test various situations for g_file_replace() 1049s # Current umask: 2 1049s # Test 0, using temporary directory /tmp/test_file_MPN112/g_file_replace_SV6812 1049s # Test 1, using temporary directory /tmp/test_file_MPN112/g_file_replace_6M6812 1049s # Test 2, using temporary directory /tmp/test_file_MPN112/g_file_replace_XU5812 1049s # Test 3, using temporary directory /tmp/test_file_MPN112/g_file_replace_S14812 1049s # Test 4, using temporary directory /tmp/test_file_MPN112/g_file_replace_F54812 1049s # Test 5, using temporary directory /tmp/test_file_MPN112/g_file_replace_NV4812 1049s # Test 6, using temporary directory /tmp/test_file_MPN112/g_file_replace_TA4812 1049s # Test 7, using temporary directory /tmp/test_file_MPN112/g_file_replace_9N3812 1049s # Test 8, using temporary directory /tmp/test_file_MPN112/g_file_replace_IQ3812 1049s # Test 9, using temporary directory /tmp/test_file_MPN112/g_file_replace_NG3812 1049s # Test 10, using temporary directory /tmp/test_file_MPN112/g_file_replace_DN2812 1049s # Test 11, using temporary directory /tmp/test_file_MPN112/g_file_replace_0V1812 1049s # Test 12, using temporary directory /tmp/test_file_MPN112/g_file_replace_N01812 1049s # Test 13, using temporary directory /tmp/test_file_MPN112/g_file_replace_WX1812 1049s # Test 14, using temporary directory /tmp/test_file_MPN112/g_file_replace_E20812 1049s # Test 15, using temporary directory /tmp/test_file_MPN112/g_file_replace_Z9Z812 1049s # Test 16, using temporary directory /tmp/test_file_MPN112/g_file_replace_A2Z812 1049s # Test 17, using temporary directory /tmp/test_file_MPN112/g_file_replace_X2Y812 1049s # Test 18, using temporary directory /tmp/test_file_MPN112/g_file_replace_PGY812 1049s # Test 19, using temporary directory /tmp/test_file_MPN112/g_file_replace_2BX812 1049s # Test 20, using temporary directory /tmp/test_file_MPN112/g_file_replace_8WW812 1049s # Test 21, using temporary directory /tmp/test_file_MPN112/g_file_replace_FFW812 1049s # Test 22, using temporary directory /tmp/test_file_MPN112/g_file_replace_JEV812 1049s # Test 23, using temporary directory /tmp/test_file_MPN112/g_file_replace_2IV812 1049s # Test 24, using temporary directory /tmp/test_file_MPN112/g_file_replace_JPU812 1049s # Test 25, using temporary directory /tmp/test_file_MPN112/g_file_replace_V9T812 1049s # Test 26, using temporary directory /tmp/test_file_MPN112/g_file_replace_FZT812 1049s # Test 27, using temporary directory /tmp/test_file_MPN112/g_file_replace_53T812 1049s # Test 28, using temporary directory /tmp/test_file_MPN112/g_file_replace_VV7912 1049s # Test 29, using temporary directory /tmp/test_file_MPN112/g_file_replace_I36912 1049s # Test 30, using temporary directory /tmp/test_file_MPN112/g_file_replace_6R6912 1049s # Test 31, using temporary directory /tmp/test_file_MPN112/g_file_replace_2V6912 1049s # Test 32, using temporary directory /tmp/test_file_MPN112/g_file_replace_Q45912 1049s # Test 33, using temporary directory /tmp/test_file_MPN112/g_file_replace_XF5912 1049s # Test 34, using temporary directory /tmp/test_file_MPN112/g_file_replace_QJ5912 1049s # Test 35, using temporary directory /tmp/test_file_MPN112/g_file_replace_994912 1049s # Test 36, using temporary directory /tmp/test_file_MPN112/g_file_replace_MH4912 1049s # Test 37, using temporary directory /tmp/test_file_MPN112/g_file_replace_BO3912 1049s # Test 38, using temporary directory /tmp/test_file_MPN112/g_file_replace_CX2912 1049s # Test 39, using temporary directory /tmp/test_file_MPN112/g_file_replace_EH2912 1049s # Test 40, using temporary directory /tmp/test_file_MPN112/g_file_replace_HQ1912 1049s # Test 41, using temporary directory /tmp/test_file_MPN112/g_file_replace_EX0912 1049s # Test 42, using temporary directory /tmp/test_file_MPN112/g_file_replace_85Z912 1049s # Test 43, using temporary directory /tmp/test_file_MPN112/g_file_replace_M6Y912 1049s # Test 44, using temporary directory /tmp/test_file_MPN112/g_file_replace_HVY912 1049s # Test 45, using temporary directory /tmp/test_file_MPN112/g_file_replace_VSY912 1049s # Test 46, using temporary directory /tmp/test_file_MPN112/g_file_replace_KYX912 1049s # Test 47, using temporary directory /tmp/test_file_MPN112/g_file_replace_E1X912 1049s # Test 48, using temporary directory /tmp/test_file_MPN112/g_file_replace_SRW912 1049s # We do not have CAP_DAC_OVERRIDE or equivalent 1049s ok 42 /file/replace/read-write 1049s # End of replace tests 1049s # Start of copy tests 1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/copy/progress/.dirs/home 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/copy/progress/.dirs/cache 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/copy/progress/.dirs/system-config1:/tmp/test_file_MPN112/file/copy/progress/.dirs/system-config2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/copy/progress/.dirs/config 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/copy/progress/.dirs/system-data1:/tmp/test_file_MPN112/file/copy/progress/.dirs/system-data2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/copy/progress/.dirs/data 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/copy/progress/.dirs/state 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/copy/progress/.dirs/runtime 1049s ok 43 /file/copy/progress 1049s # End of copy tests 1049s # Start of writev tests 1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/writev/no-bytes-written/.dirs/home 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/writev/no-bytes-written/.dirs/cache 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_MPN112/file/writev/no-bytes-written/.dirs/system-config2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/writev/no-bytes-written/.dirs/config 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_MPN112/file/writev/no-bytes-written/.dirs/system-data2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/writev/no-bytes-written/.dirs/data 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/writev/no-bytes-written/.dirs/state 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/writev/no-bytes-written/.dirs/runtime 1049s ok 44 /file/writev/no-bytes-written 1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/writev/no-vectors/.dirs/home 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/writev/no-vectors/.dirs/cache 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_MPN112/file/writev/no-vectors/.dirs/system-config2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/writev/no-vectors/.dirs/config 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_MPN112/file/writev/no-vectors/.dirs/system-data2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/writev/no-vectors/.dirs/data 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/writev/no-vectors/.dirs/state 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/writev/no-vectors/.dirs/runtime 1049s ok 45 /file/writev/no-vectors 1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/writev/empty-vectors/.dirs/home 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/writev/empty-vectors/.dirs/cache 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_MPN112/file/writev/empty-vectors/.dirs/system-config2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/writev/empty-vectors/.dirs/config 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_MPN112/file/writev/empty-vectors/.dirs/system-data2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/writev/empty-vectors/.dirs/data 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/writev/empty-vectors/.dirs/state 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/writev/empty-vectors/.dirs/runtime 1049s ok 46 /file/writev/empty-vectors 1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/writev/too-big-vectors/.dirs/home 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/writev/too-big-vectors/.dirs/cache 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_MPN112/file/writev/too-big-vectors/.dirs/system-config2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/writev/too-big-vectors/.dirs/config 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_MPN112/file/writev/too-big-vectors/.dirs/system-data2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/writev/too-big-vectors/.dirs/data 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/writev/too-big-vectors/.dirs/state 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/writev/too-big-vectors/.dirs/runtime 1049s ok 47 /file/writev/too-big-vectors 1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/writev/async/.dirs/home 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/writev/async/.dirs/cache 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/writev/async/.dirs/system-config1:/tmp/test_file_MPN112/file/writev/async/.dirs/system-config2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/writev/async/.dirs/config 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/writev/async/.dirs/system-data1:/tmp/test_file_MPN112/file/writev/async/.dirs/system-data2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/writev/async/.dirs/data 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/writev/async/.dirs/state 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/writev/async/.dirs/runtime 1049s ok 48 /file/writev/async 1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/writev/async_all/.dirs/home 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/writev/async_all/.dirs/cache 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/writev/async_all/.dirs/system-config1:/tmp/test_file_MPN112/file/writev/async_all/.dirs/system-config2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/writev/async_all/.dirs/config 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/writev/async_all/.dirs/system-data1:/tmp/test_file_MPN112/file/writev/async_all/.dirs/system-data2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/writev/async_all/.dirs/data 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/writev/async_all/.dirs/state 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/writev/async_all/.dirs/runtime 1049s ok 49 /file/writev/async_all 1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/writev/async_all-empty-vectors/.dirs/home 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/writev/async_all-empty-vectors/.dirs/cache 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_MPN112/file/writev/async_all-empty-vectors/.dirs/system-config2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/writev/async_all-empty-vectors/.dirs/config 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_MPN112/file/writev/async_all-empty-vectors/.dirs/system-data2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/writev/async_all-empty-vectors/.dirs/data 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/writev/async_all-empty-vectors/.dirs/state 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/writev/async_all-empty-vectors/.dirs/runtime 1049s ok 50 /file/writev/async_all-empty-vectors 1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/writev/async_all-no-vectors/.dirs/home 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/writev/async_all-no-vectors/.dirs/cache 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_MPN112/file/writev/async_all-no-vectors/.dirs/system-config2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/writev/async_all-no-vectors/.dirs/config 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_MPN112/file/writev/async_all-no-vectors/.dirs/system-data2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/writev/async_all-no-vectors/.dirs/data 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/writev/async_all-no-vectors/.dirs/state 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/writev/async_all-no-vectors/.dirs/runtime 1049s ok 51 /file/writev/async_all-no-vectors 1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/writev/async_all-to-big-vectors/.dirs/home 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/writev/async_all-to-big-vectors/.dirs/cache 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_MPN112/file/writev/async_all-to-big-vectors/.dirs/system-config2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/writev/async_all-to-big-vectors/.dirs/config 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_MPN112/file/writev/async_all-to-big-vectors/.dirs/system-data2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/writev/async_all-to-big-vectors/.dirs/data 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/writev/async_all-to-big-vectors/.dirs/state 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/writev/async_all-to-big-vectors/.dirs/runtime 1049s ok 52 /file/writev/async_all-to-big-vectors 1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/writev/async_all-cancellation/.dirs/home 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/writev/async_all-cancellation/.dirs/cache 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_MPN112/file/writev/async_all-cancellation/.dirs/system-config2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/writev/async_all-cancellation/.dirs/config 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_MPN112/file/writev/async_all-cancellation/.dirs/system-data2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/writev/async_all-cancellation/.dirs/data 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/writev/async_all-cancellation/.dirs/state 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/writev/async_all-cancellation/.dirs/runtime 1049s ok 53 /file/writev/async_all-cancellation 1049s # End of writev tests 1049s # Start of from-uri tests 1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/from-uri/ignores-query-string/.dirs/home 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/from-uri/ignores-query-string/.dirs/cache 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_MPN112/file/from-uri/ignores-query-string/.dirs/system-config2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/from-uri/ignores-query-string/.dirs/config 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_MPN112/file/from-uri/ignores-query-string/.dirs/system-data2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/from-uri/ignores-query-string/.dirs/data 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/from-uri/ignores-query-string/.dirs/state 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/from-uri/ignores-query-string/.dirs/runtime 1049s ok 54 /file/from-uri/ignores-query-string 1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MPN112/file/from-uri/ignores-fragment/.dirs/home 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MPN112/file/from-uri/ignores-fragment/.dirs/cache 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MPN112/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_MPN112/file/from-uri/ignores-fragment/.dirs/system-config2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MPN112/file/from-uri/ignores-fragment/.dirs/config 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MPN112/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_MPN112/file/from-uri/ignores-fragment/.dirs/system-data2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MPN112/file/from-uri/ignores-fragment/.dirs/data 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MPN112/file/from-uri/ignores-fragment/.dirs/state 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MPN112/file/from-uri/ignores-fragment/.dirs/runtime 1049s ok 55 /file/from-uri/ignores-fragment 1049s # End of from-uri tests 1049s # End of file tests 1049s ok - glib/file.test 1049s # Running test: glib/socket-address.test 1049s TAP version 14 1049s # random seed: R02Sb15007c4ddbcbf961fd166bbee3f919c 1049s 1..2 1049s # Start of socket tests 1049s # Start of address tests 1049s # Start of unix tests 1049s ok 1 /socket/address/unix/construct 1049s ok 2 /socket/address/unix/to-string 1049s # End of unix tests 1049s # End of address tests 1049s # End of socket tests 1049s ok - glib/socket-address.test 1049s # Running test: glib/hook.test 1049s TAP version 14 1049s # random seed: R02S701120b594757d1a5662f10916704b83 1049s 1..2 1049s # Start of hook tests 1049s ok 1 /hook/basics 1049s ok 2 /hook/corner-cases 1049s # End of hook tests 1049s ok - glib/hook.test 1049s # Running test: glib/properties.test 1049s TAP version 14 1049s # random seed: R02S74958f51e1fd5e1400f03882972e6c2b 1049s 1..13 1049s # Start of properties tests 1049s ok 1 /properties/install 1049s ok 2 /properties/install-many 1049s ok 3 /properties/notify 1049s ok 4 /properties/notify-queue 1049s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1049s ok 5 /properties/construct 1049s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1049s # Test g_object_get_property with an initialized value 1049s # Test g_object_get_property with an uninitialized value 1049s # Test g_object_get_property with a transformable value 1049s ok 6 /properties/get-property 1049s ok 7 /properties/testv_with_no_properties 1049s ok 8 /properties/testv_with_valid_properties 1049s ok 9 /properties/testv_with_invalid_property_type 1049s ok 10 /properties/testv_with_invalid_property_names 1049s ok 11 /properties/testv_getv 1049s ok 12 /properties/testv_notify_queue 1049s # Start of set-property tests 1049s # Start of variant tests 1049s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1049s ok 13 /properties/set-property/variant/floating 1049s # End of variant tests 1049s # End of set-property tests 1049s # End of properties tests 1049s ok - glib/properties.test 1049s # Running test: glib/logging.test 1049s TAP version 14 1049s # random seed: R02S5991353414dbce80202128d8a5d531d0 1049s 1..17 1049s # Start of logging tests 1049s ok 1 /logging/default-handler 1049s # slow test /logging/default-handler executed in 0.50 secs 1049s ok 2 /logging/warnings 1049s ok 3 /logging/fatal-log-mask 1049s # bu-DEBUG: message 1049s # ba-DEBUG: message 1049s # ba-INFO: message 1049s ok 4 /logging/set-handler 1049s ok 5 /logging/print-handler 1049s ok 6 /logging/printerr-handler 1049s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1049s # The Log Message Handler 1049s # 1049s # The Good Fail Message Handler 1049s # 1049s ok 7 /logging/653052 1049s ok 8 /logging/gibberish 1049s # Start of default-handler tests 1049s # Start of subprocess tests 1049s # End of subprocess tests 1049s # End of default-handler tests 1049s # End of logging tests 1049s # Start of structured-logging tests 1049s ok 9 /structured-logging/no-state 1049s ok 10 /structured-logging/some-state 1049s ok 11 /structured-logging/robustness 1049s ok 12 /structured-logging/roundtrip1 1049s ok 13 /structured-logging/roundtrip2 1049s ok 14 /structured-logging/roundtrip3 1049s ok 15 /structured-logging/variant1 1049s ok 16 /structured-logging/variant2 1049s ok 17 /structured-logging/set-writer-func-twice 1049s # End of structured-logging tests 1049s ok - glib/logging.test 1049s # Running test: glib/memory-monitor.test 1049s TAP version 14 1049s # random seed: R02Se74b48a384b2724637c0ff149fd74740 1049s 1..1 1049s # Start of memory-monitor tests 1049s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1049s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 1049s ok 1 /memory-monitor/default 1049s # End of memory-monitor tests 1049s ok - glib/memory-monitor.test 1049s # Running test: glib/basics-gobject.test 1049s TAP version 14 1049s # random seed: R02S85ac5a2921e8f4f7242094fbb4df8fd5 1049s 1..1 1049s # Start of gobject tests 1049s # private data during initialization: 54321 == 54321 1049s # MAIN: emit test-signal: 1049s # ::test_signal default_handler called 1049s # ::test_signal default_handler called 1049s # ::test_signal default_handler called 1049s # signal return: "" 1049s # MAIN: call iface print-string on test and derived object: 1049s # Iface-FOO: "iface-string-from-test-type" from 0x2aa038517a0 1049s # Iface-BAR: "iface-string-from-derived-type" from 0x2aa038516c0 1049s # chaining: 1049s # Iface-FOO: "iface-string-from-derived-type" from 0x2aa038516c0 1049s # private data after initialization: 54321 == 54321 1049s ok 1 /gobject/basics 1049s # End of gobject tests 1049s ok - glib/basics-gobject.test 1049s # Running test: glib/gdbus-proxy.test 1049s TAP version 14 1049s # random seed: R02Sed204fa7aeb1b3f6e70311071190eb9f 1049s 1..5 1049s # Start of gdbus tests 1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/.dirs/home 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/.dirs/cache 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/.dirs/system-config2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/.dirs/config 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/.dirs/system-data2 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/.dirs/data 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/.dirs/state 1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/.dirs/runtime 1051s ok 1 /gdbus/proxy 1051s # slow test /gdbus/proxy executed in 1.72 secs 1051s # Start of proxy tests 1051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/no-properties/.dirs/home 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/no-properties/.dirs/cache 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/no-properties/.dirs/system-config2 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/no-properties/.dirs/config 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/no-properties/.dirs/system-data2 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/no-properties/.dirs/data 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/no-properties/.dirs/state 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/no-properties/.dirs/runtime 1051s ok 2 /gdbus/proxy/no-properties 1051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/wellknown-noauto/.dirs/home 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/wellknown-noauto/.dirs/cache 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/wellknown-noauto/.dirs/config 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/wellknown-noauto/.dirs/data 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/wellknown-noauto/.dirs/state 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/wellknown-noauto/.dirs/runtime 1051s ok 3 /gdbus/proxy/wellknown-noauto 1051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/async/.dirs/home 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/async/.dirs/cache 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/async/.dirs/system-config2 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/async/.dirs/config 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/async/.dirs/system-data2 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/async/.dirs/data 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/async/.dirs/state 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/async/.dirs/runtime 1052s # Executing: glib/gdbus-proxy.test 1053s ok 4 /gdbus/proxy/async 1053s # slow test /gdbus/proxy/async executed in 1.71 secs 1053s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/no-match-rule/.dirs/home 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/no-match-rule/.dirs/cache 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/no-match-rule/.dirs/system-config2 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/no-match-rule/.dirs/config 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/no-match-rule/.dirs/system-data2 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/no-match-rule/.dirs/data 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/no-match-rule/.dirs/state 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_MI6Z12/gdbus/proxy/no-match-rule/.dirs/runtime 1053s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1053s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1054s ok 5 /gdbus/proxy/no-match-rule 1054s # slow test /gdbus/proxy/no-match-rule executed in 1.71 secs 1054s # End of proxy tests 1054s # End of gdbus tests 1054s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1054s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1054s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1054s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1054s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1054s ok - glib/gdbus-proxy.test 1054s # Running test: glib/properties-introspection.test 1054s TAP version 14 1054s # random seed: R02S536c6a18d23ee94825bccd5d14e65864 1054s 1..2 1054s # Start of properties tests 1054s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1054s ok 1 /properties/introspection 1054s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1054s ok 2 /properties/collision 1054s # End of properties tests 1054s ok - glib/properties-introspection.test 1054s # Running test: glib/autoptr-gio.test 1054s TAP version 14 1054s # random seed: R02S9b6be99f83ed8a96bf6a4071ea3d7431 1054s 1..1 1054s # Start of autoptr tests 1054s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1054s ok 1 /autoptr/autoptr 1054s # End of autoptr tests 1054s ok - glib/autoptr-gio.test 1054s # Running test: glib/date.test 1054s TAP version 14 1054s # random seed: R02S8de86872e6d8536e610ec7f73494c34d 1054s 1..121 1054s # Start of date tests 1054s ok 1 /date/basic 1054s ok 2 /date/empty 1054s ok 3 /date/dmy 1054s ok 4 /date/julian 1054s ok 5 /date/compare 1054s ok 6 /date/dates 1054s ok 7 /date/strftime 1054s ok 8 /date/two-digit-years 1054s ok 9 /date/parse 1054s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1054s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1054s ok 11 /date/month_substring 1054s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1054s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1054s ok 13 /date/clamp 1054s ok 14 /date/order 1054s ok 15 /date/copy 1054s # Vector 0: 0000-00-00, invalid 1054s # Vector 1: 0001-01-01, valid 1054s # Vector 2: 0000-01-01, invalid 1054s # Vector 3: 2000-02-30, invalid 1054s # Vector 4: 2000-02-29, valid 1054s # Vector 5: 2001-02-29, invalid 1054s # Vector 6: 65535-01-01, valid 1054s ok 16 /date/valid-dmy 1054s # Start of parse tests 1054s # Test 0 1054s # Test 1 1054s ok 17 /date/parse/invalid 1054s # End of parse tests 1054s # Start of year tests 1054s ok 18 /date/year/1 1054s ok 19 /date/year/2 1054s ok 20 /date/year/3 1054s ok 21 /date/year/4 1054s ok 22 /date/year/5 1054s ok 23 /date/year/6 1054s ok 24 /date/year/7 1054s ok 25 /date/year/8 1054s ok 26 /date/year/9 1054s ok 27 /date/year/10 1054s ok 28 /date/year/11 1054s ok 29 /date/year/12 1054s ok 30 /date/year/13 1054s ok 31 /date/year/14 1054s ok 32 /date/year/98 1054s ok 33 /date/year/99 1054s ok 34 /date/year/100 1054s ok 35 /date/year/101 1054s ok 36 /date/year/102 1054s ok 37 /date/year/103 1054s ok 38 /date/year/397 1054s ok 39 /date/year/398 1054s ok 40 /date/year/399 1054s ok 41 /date/year/400 1054s ok 42 /date/year/401 1054s ok 43 /date/year/402 1054s ok 44 /date/year/403 1054s ok 45 /date/year/404 1054s ok 46 /date/year/405 1054s ok 47 /date/year/406 1054s ok 48 /date/year/1598 1054s ok 49 /date/year/1599 1054s ok 50 /date/year/1600 1054s ok 51 /date/year/1601 1054s ok 52 /date/year/1602 1054s ok 53 /date/year/1650 1054s ok 54 /date/year/1651 1054s ok 55 /date/year/1897 1054s ok 56 /date/year/1898 1054s ok 57 /date/year/1899 1054s ok 58 /date/year/1900 1054s ok 59 /date/year/1901 1054s ok 60 /date/year/1902 1054s ok 61 /date/year/1903 1054s ok 62 /date/year/1961 1054s ok 63 /date/year/1962 1054s ok 64 /date/year/1963 1054s ok 65 /date/year/1964 1054s ok 66 /date/year/1965 1054s ok 67 /date/year/1967 1054s ok 68 /date/year/1968 1054s ok 69 /date/year/1969 1054s ok 70 /date/year/1970 1054s ok 71 /date/year/1971 1054s ok 72 /date/year/1972 1054s ok 73 /date/year/1973 1054s ok 74 /date/year/1974 1054s ok 75 /date/year/1975 1054s ok 76 /date/year/1976 1054s ok 77 /date/year/1977 1054s ok 78 /date/year/1978 1054s ok 79 /date/year/1979 1054s ok 80 /date/year/1980 1054s ok 81 /date/year/1981 1054s ok 82 /date/year/1982 1054s ok 83 /date/year/1983 1054s ok 84 /date/year/1984 1054s ok 85 /date/year/1985 1054s ok 86 /date/year/1986 1054s ok 87 /date/year/1987 1054s ok 88 /date/year/1988 1054s ok 89 /date/year/1989 1054s ok 90 /date/year/1990 1054s ok 91 /date/year/1991 1054s ok 92 /date/year/1992 1054s ok 93 /date/year/1993 1054s ok 94 /date/year/1994 1054s ok 95 /date/year/1995 1054s ok 96 /date/year/1996 1054s ok 97 /date/year/1997 1054s ok 98 /date/year/1998 1054s ok 99 /date/year/1999 1054s ok 100 /date/year/2000 1054s ok 101 /date/year/2001 1054s ok 102 /date/year/2002 1054s ok 103 /date/year/2003 1054s ok 104 /date/year/2004 1054s ok 105 /date/year/2005 1054s ok 106 /date/year/2006 1054s ok 107 /date/year/2007 1054s ok 108 /date/year/2008 1054s ok 109 /date/year/2009 1054s ok 110 /date/year/2010 1054s ok 111 /date/year/2011 1054s ok 112 /date/year/2012 1054s ok 113 /date/year/3000 1054s ok 114 /date/year/3001 1054s ok 115 /date/year/3002 1054s ok 116 /date/year/3998 1054s ok 117 /date/year/3999 1054s ok 118 /date/year/4000 1054s ok 119 /date/year/4001 1054s ok 120 /date/year/4002 1055s ok 121 /date/year/4003 1055s # End of year tests 1055s # End of date tests 1055s ok - glib/date.test 1055s # Running test: glib/gdbus-proxy-threads.test 1055s TAP version 14 1055s # random seed: R02S78e931f49f148b36b9d9ec266cdcd1ae 1055s 1..1 1055s # Start of gdbus tests 1055s # Start of proxy tests 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_5D0812/gdbus/proxy/vs-threads/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_5D0812/gdbus/proxy/vs-threads/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_5D0812/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_5D0812/gdbus/proxy/vs-threads/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_5D0812/gdbus/proxy/vs-threads/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_5D0812/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_5D0812/gdbus/proxy/vs-threads/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_5D0812/gdbus/proxy/vs-threads/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_5D0812/gdbus/proxy/vs-threads/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_5D0812/gdbus/proxy/vs-threads/.dirs/runtime 1055s ok 1 /gdbus/proxy/vs-threads 1055s # End of proxy tests 1055s # End of gdbus tests 1055s cleaning up pid 9397 1055s ok - glib/gdbus-proxy-threads.test 1055s # Running test: glib/defaultvalue.test 1055s TAP version 14 1055s # random seed: R02Sb1ceccc2b1f16366abd949d4f03ace9b 1055s 1..84 1055s # Start of Default Values tests 1055s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1055s ok 2 /Default Values/GAppLaunchContext 1055s ok 3 /Default Values/GApplicationCommandLine 1055s # skipping GApplication:is-remote 1055s ok 4 /Default Values/GApplication 1055s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1055s ok 6 /Default Values/GBindingGroup 1055s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1055s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1055s ok 9 /Default Values/GBytesIcon 1055s ok 10 /Default Values/GCancellable 1055s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1055s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1055s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1055s ok 14 /Default Values/GCredentials 1055s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1055s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1055s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1055s ok 18 /Default Values/GDBusAuthObserver 1055s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1055s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1055s ok 21 /Default Values/GDBusMessage 1055s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1055s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1055s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1055s ok 25 /Default Values/GDBusObjectProxy 1055s ok 26 /Default Values/GDBusObjectSkeleton 1055s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1055s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1055s ok 29 /Default Values/GEmblem 1055s ok 30 /Default Values/GEmblemedIcon 1055s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1055s ok 32 /Default Values/GFileInfo 1055s ok 33 /Default Values/GFileInputStream 1055s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1055s ok 35 /Default Values/GFileOutputStream 1055s ok 36 /Default Values/GFilenameCompleter 1055s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1055s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1055s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1055s ok 40 /Default Values/GInitiallyUnowned 1055s ok 41 /Default Values/GIOModule 1055s ok 42 /Default Values/GListStore 1055s ok 43 /Default Values/GMemoryInputStream 1055s ok 44 /Default Values/GMemoryOutputStream 1055s ok 45 /Default Values/GMenu 1055s ok 46 /Default Values/GMenuItem 1055s ok 47 /Default Values/GMountOperation 1055s ok 48 /Default Values/GNativeSocketAddress 1055s ok 49 /Default Values/GNetworkAddress 1055s ok 50 /Default Values/GNetworkService 1055s ok 51 /Default Values/GNotification 1055s ok 52 /Default Values/GObject 1055s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1055s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1055s # skipping GProxyAddressEnumerator:proxy-resolver 1055s ok 54 /Default Values/GProxyAddressEnumerator 1055s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1055s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1055s ok 57 /Default Values/GSignalGroup 1055s ok 58 /Default Values/GSimpleAction 1055s ok 59 /Default Values/GSimpleActionGroup 1055s ok 60 /Default Values/GSimpleAsyncResult 1055s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1055s ok 62 /Default Values/GSimplePermission 1055s ok 63 /Default Values/GSimpleProxyResolver 1055s # skipping GSocketClient:proxy-resolver 1055s ok 64 /Default Values/GSocketClient 1055s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1055s ok 66 /Default Values/GSocket # SKIP initialization failed 1055s ok 67 /Default Values/GSocketListener 1055s ok 68 /Default Values/GSocketService 1055s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1055s ok 70 /Default Values/GSubprocessLauncher 1055s # GLib-GIO-DEBUG: GTask 0x2aa0e581f70 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1055s ok 71 /Default Values/GTask 1055s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1055s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1055s ok 74 /Default Values/GTestDBus 1055s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1055s ok 76 /Default Values/GThreadedSocketService 1055s ok 77 /Default Values/GTlsInteraction 1055s ok 78 /Default Values/GTlsPassword 1055s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1055s ok 80 /Default Values/GUnixFDList 1055s ok 81 /Default Values/GVfs 1055s ok 82 /Default Values/GVolumeMonitor 1055s ok 83 /Default Values/GZlibCompressor 1055s ok 84 /Default Values/GZlibDecompressor 1055s # End of Default Values tests 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s ok - glib/defaultvalue.test 1055s # Running test: glib/registered-type-info.test 1055s TAP version 14 1055s # random seed: R02S29388dc035e336f6ff1b91adfb7525ad 1055s 1..1 1055s # Start of registered-type-info tests 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_JPNH22/registered-type-info/boxed/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_JPNH22/registered-type-info/boxed/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_JPNH22/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_JPNH22/registered-type-info/boxed/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_JPNH22/registered-type-info/boxed/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_JPNH22/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_JPNH22/registered-type-info/boxed/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_JPNH22/registered-type-info/boxed/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_JPNH22/registered-type-info/boxed/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_JPNH22/registered-type-info/boxed/.dirs/runtime 1055s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1055s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1055s # Expecting CClosure to not be boxed 1055s # Expecting TypeCValue to not be boxed 1055s # Expecting InitiallyUnownedClass to not be boxed 1055s # Expecting BookmarkFile to be boxed 1055s # Expecting Closure to be boxed 1055s # Expecting Object to not be boxed 1055s ok 1 /registered-type-info/boxed 1055s # End of registered-type-info tests 1055s ok - glib/registered-type-info.test 1055s # Running test: glib/notify-init2.test 1055s TAP version 14 1055s # random seed: R02S1d8894bf09fc1ea31b6749c6a6f247c5 1055s 1..1 1055s # Start of properties tests 1055s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1055s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1055s ok 1 /properties/notify-in-init2 1055s # End of properties tests 1055s ok - glib/notify-init2.test 1055s # Running test: glib/readwrite.test 1055s TAP version 14 1055s # random seed: R02S3852ca69eb7a7991b8fd0321989fbf7b 1055s 1..3 1055s # Start of readwrite tests 1055s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1055s ok 1 /readwrite/test_g_file_open_readwrite 1055s ok 2 /readwrite/test_g_file_create_readwrite 1055s ok 3 /readwrite/test_g_file_replace_readwrite 1055s # End of readwrite tests 1055s ok - glib/readwrite.test 1055s # Running test: glib/notify-init.test 1055s TAP version 14 1055s # random seed: R02S9f5947876612af096a57d1a64fa87e09 1055s 1..1 1055s # Start of properties tests 1055s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1055s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1055s ok 1 /properties/notify-in-init 1055s # End of properties tests 1055s ok - glib/notify-init.test 1055s # Running test: glib/hash.test 1055s TAP version 14 1055s # random seed: R02S7c4e3fd68ca744921c0d565e814ead77 1055s 1..34 1055s # Start of hash tests 1055s ok 1 /hash/misc 1055s ok 2 /hash/one 1055s ok 3 /hash/honeyman 1055s ok 4 /hash/direct 1055s ok 5 /hash/direct2 1055s ok 6 /hash/int 1055s ok 7 /hash/int64 1055s ok 8 /hash/double 1055s ok 9 /hash/string 1055s ok 10 /hash/set 1055s ok 11 /hash/set-ref 1055s ok 12 /hash/ref 1055s ok 13 /hash/remove-all 1055s ok 14 /hash/recursive-remove-all 1055s ok 15 /hash/find 1055s ok 16 /hash/foreach 1055s ok 17 /hash/foreach-steal 1055s ok 18 /hash/steal-extended 1055s ok 19 /hash/steal-all-keys 1055s ok 20 /hash/steal-all-values 1055s ok 21 /hash/lookup-extended 1055s ok 22 /hash/new-similar 1055s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1055s ok 23 /hash/lookup-null-key 1055s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1055s ok 24 /hash/destroy-modify 1055s ok 25 /hash/consistency 1055s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1055s ok 26 /hash/iter-replace 1055s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1055s ok 27 /hash/set-insert-corruption 1055s ok 28 /hash/set-to-strv 1055s ok 29 /hash/get-keys-as-ptr-array 1055s ok 30 /hash/get-values-as-ptr-array 1055s ok 31 /hash/primes 1055s # Start of int64 tests 1055s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1055s ok 32 /hash/int64/collisions 1055s # End of int64 tests 1055s # Start of double tests 1055s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1055s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1055s ok 33 /hash/double/collisions 1055s # End of double tests 1055s # Start of recursive-remove-all tests 1055s # End of recursive-remove-all tests 1055s # Start of steal-extended tests 1055s ok 34 /hash/steal-extended/optional 1055s # End of steal-extended tests 1055s # End of hash tests 1055s ok - glib/hash.test 1055s # Running test: glib/properties-refcount1.test 1055s TAP version 14 1055s # random seed: R02S226bc848e33c4a3e1329404cf8da2273 1055s 1..1 1055s # Start of gobject tests 1055s # Start of refcount tests 1055s # .d 1055s # .f 1055s # .e 1055s # .b 1055s # .c 1055s # .f 1055s # .b 1055s # .d 1055s # .c 1055s # .f 1055s # .e 1055s # .b 1055s # .d 1055s # .c 1055s # .e 1055s # .b 1055s # .c 1055s # .f 1055s # .d 1055s # .e 1055s # .c 1055s # .b 1055s # .e 1055s # .d 1055s # .f 1055s # .b 1055s # .d 1055s # .c 1055s # .e 1055s # .f 1055s # .f 1055s # .d 1055s # .e 1055s # .d 1055s # .f 1055s # .b 1055s # .e 1055s # .c 1055s # .d 1055s # .f 1055s # .b 1055s # .e 1055s # .f 1055s # .c 1055s # .f 1055s # .d 1055s # .f 1055s # .b 1055s # .e 1055s # .f 1055s # .d 1055s # .c 1055s # .d 1055s # .e 1055s # .b 1055s # .f 1055s # .c 1055s # .d 1055s # .e 1055s # .b 1055s # .f 1055s # .d 1055s # .b 1055s # .c 1055s # .f 1055s # .e 1055s # .d 1055s # .d 1055s # .b 1055s # .d 1055s # .f 1055s # .c 1055s # .e 1055s # .b 1055s # .f 1055s # .d 1055s # .b 1055s # .c 1055s # .f 1055s # .d 1055s # .e 1055s # .c 1055s # .b 1055s # .d 1055s # .e 1055s # .f 1055s # .c 1055s # .f 1055s # .e 1055s # .b 1055s # .b 1055s # .d 1056s # .b 1056s # .c 1056s # .e 1056s # .b 1056s # .f 1056s # .b 1056s # .d 1056s # .c 1056s # .f 1056s # .e 1056s # .d 1056s # .b 1056s # .f 1056s # .e 1056s # .d 1056s # .c 1056s # .b 1056s # .c 1056s # .f 1056s # .e 1056s # .b 1056s # .d 1056s # .c 1056s # .f 1056s # .b 1056s # .e 1056s # .d 1056s # .c 1056s # .f 1056s # .b 1056s # .e 1056s # .d 1056s # .f 1056s # .b 1056s # .c 1056s # .e 1056s # .d 1056s # .f 1056s # .c 1056s # .e 1056s # .b 1056s # .d 1056s # .f 1056s # .f 1056s # .b 1056s # .d 1056s # .e 1056s # .c 1056s # .e 1056s # .f 1056s # .c 1056s # .b 1056s # .d 1056s # .f 1056s # .e 1056s # .d 1056s # .b 1056s # .c 1056s # .e 1056s # .f 1056s # .c 1056s # .b 1056s # .d 1056s # .e 1056s # .c 1056s # .f 1056s # .e 1056s # .d 1056s # .b 1056s # .c 1056s # .f 1056s # .e 1056s # .d 1056s # .b 1056s # .c 1056s # .e 1056s # .f 1056s # .d 1056s # .c 1056s # .e 1056s # .f 1056s # .b 1056s # .d 1056s # .f 1056s # .e 1056s # .c 1056s # .d 1056s # .b 1056s # .f 1056s # .e 1057s # .d 1057s # .c 1057s # .b 1057s # .e 1057s # .f 1057s # .d 1057s # .c 1057s # .e 1057s # .b 1057s # .f 1057s # .e 1057s # .d 1057s # .c 1057s # .f 1057s # .e 1057s # .d 1057s # .b 1057s # .c 1057s # .f 1057s # .d 1057s # .e 1057s # .b 1057s # .c 1057s # .f 1057s # .d 1057s # .e 1057s # .b 1057s # .f 1057s # .d 1057s # .c 1057s # .e 1057s # .d 1057s # .d 1057s # .f 1057s # .b 1057s # .c 1057s # .f 1057s # .b 1057s # .d 1057s # .e 1057s # .b 1057s # .f 1057s # .c 1057s # .b 1057s # .d 1057s # .f 1057s # .e 1057s # .c 1057s # .b 1057s # .d 1057s # .e 1057s # .f 1057s # .c 1057s # .b 1057s # .d 1057s # .f 1057s # .e 1057s # .c 1057s # .d 1057s # .b 1057s # .f 1057s # .c 1057s # .e 1057s # .f 1057s # .d 1057s # .b 1057s # .c 1057s # .f 1057s # .d 1057s # .e 1057s # .f 1057s # .b 1057s # .d 1057s # .c 1057s # .f 1057s # .e 1057s # .b 1057s # .d 1057s # .e 1057s # .c 1057s # .f 1057s # .b 1057s # .d 1057s # .c 1057s # .f 1057s # .e 1057s # .b 1057s # .d 1057s # .e 1057s # .d 1057s # .f 1057s # .c 1057s # .b 1057s # .e 1057s # Executing: glib/properties-refcount1.test 1057s # .f 1057s # .b 1057s # .c 1057s # .d 1058s # .e 1058s # .b 1058s # .f 1058s # .c 1058s # .e 1058s # .d 1058s # .c 1058s # .f 1058s # .b 1058s # .e 1058s # .c 1058s # .f 1058s # .d 1058s # .e 1058s # .b 1058s # .c 1058s # .d 1058s # .f 1058s # .c 1058s # .e 1058s # .b 1058s # .d 1058s # .f 1058s # .e 1058s # .c 1058s # .b 1058s # .d 1058s # .f 1058s # .e 1058s # .c 1058s # .f 1058s # .b 1058s ok 1 /gobject/refcount/properties-1 1058s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 1058s # End of refcount tests 1058s # End of gobject tests 1058s ok - glib/properties-refcount1.test 1058s # Running test: glib/power-profile-monitor.test 1058s TAP version 14 1058s # random seed: R02Sc2e9397ee8e2045fbf8e501fdf5c12b8 1058s 1..1 1058s # Start of power-profile-monitor tests 1058s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1058s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor 1058s ok 1 /power-profile-monitor/default 1058s # End of power-profile-monitor tests 1058s ok - glib/power-profile-monitor.test 1058s # Running test: glib/array-test.test 1058s TAP version 14 1058s # random seed: R02S40859df72f6b2648542959d923eb7829 1058s 1..113 1058s # Start of array tests 1058s ok 1 /array/ref-count 1058s ok 2 /array/steal 1058s ok 3 /array/clear-func 1058s ok 4 /array/binary-search 1058s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 1058s ok 5 /array/copy-sized 1058s ok 6 /array/overflow-append-vals 1058s ok 7 /array/overflow-set-size 1058s # Start of new tests 1058s ok 8 /array/new/zero-terminated 1058s ok 9 /array/new/take 1058s ok 10 /array/new/take-zero-terminated 1058s # Start of take tests 1058s ok 11 /array/new/take/empty 1058s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1058s # End of take tests 1058s # End of new tests 1058s # Start of set-size tests 1058s ok 13 /array/set-size/non-zero-terminated-no-clear 1058s ok 14 /array/set-size/non-zero-terminated-clear 1058s ok 15 /array/set-size/zero-terminated-no-clear 1058s ok 16 /array/set-size/zero-terminated-clear 1058s # Start of sized tests 1058s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 1058s ok 18 /array/set-size/sized/non-zero-terminated-clear 1058s ok 19 /array/set-size/sized/zero-terminated-no-clear 1058s ok 20 /array/set-size/sized/zero-terminated-clear 1058s # End of sized tests 1058s # End of set-size tests 1058s # Start of append-val tests 1058s ok 21 /array/append-val/non-zero-terminated-no-clear 1058s ok 22 /array/append-val/non-zero-terminated-clear 1058s ok 23 /array/append-val/zero-terminated-no-clear 1058s ok 24 /array/append-val/zero-terminated-clear 1058s # End of append-val tests 1058s # Start of prepend-val tests 1058s ok 25 /array/prepend-val/non-zero-terminated-no-clear 1058s ok 26 /array/prepend-val/non-zero-terminated-clear 1058s ok 27 /array/prepend-val/zero-terminated-no-clear 1058s ok 28 /array/prepend-val/zero-terminated-clear 1058s # End of prepend-val tests 1058s # Start of prepend-vals tests 1058s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 1058s ok 30 /array/prepend-vals/non-zero-terminated-clear 1058s ok 31 /array/prepend-vals/zero-terminated-no-clear 1058s ok 32 /array/prepend-vals/zero-terminated-clear 1058s # End of prepend-vals tests 1058s # Start of insert-vals tests 1058s ok 33 /array/insert-vals/non-zero-terminated-no-clear 1058s ok 34 /array/insert-vals/non-zero-terminated-clear 1058s ok 35 /array/insert-vals/zero-terminated-no-clear 1058s ok 36 /array/insert-vals/zero-terminated-clear 1058s # End of insert-vals tests 1058s # Start of remove-index tests 1058s ok 37 /array/remove-index/non-zero-terminated-no-clear 1058s ok 38 /array/remove-index/non-zero-terminated-clear 1058s ok 39 /array/remove-index/zero-terminated-no-clear 1058s ok 40 /array/remove-index/zero-terminated-clear 1058s # End of remove-index tests 1058s # Start of remove-index-fast tests 1058s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 1058s ok 42 /array/remove-index-fast/non-zero-terminated-clear 1058s ok 43 /array/remove-index-fast/zero-terminated-no-clear 1058s ok 44 /array/remove-index-fast/zero-terminated-clear 1058s # End of remove-index-fast tests 1058s # Start of remove-range tests 1058s ok 45 /array/remove-range/non-zero-terminated-no-clear 1058s ok 46 /array/remove-range/non-zero-terminated-clear 1058s ok 47 /array/remove-range/zero-terminated-no-clear 1058s ok 48 /array/remove-range/zero-terminated-clear 1058s # End of remove-range tests 1058s # Start of copy tests 1058s ok 49 /array/copy/non-zero-terminated-no-clear 1058s ok 50 /array/copy/non-zero-terminated-clear 1058s ok 51 /array/copy/zero-terminated-no-clear 1058s ok 52 /array/copy/zero-terminated-clear 1058s # End of copy tests 1058s # Start of sort tests 1058s ok 53 /array/sort/non-zero-terminated-no-clear 1058s ok 54 /array/sort/non-zero-terminated-clear 1058s ok 55 /array/sort/zero-terminated-no-clear 1058s ok 56 /array/sort/zero-terminated-clear 1058s # End of sort tests 1058s # Start of sort-with-data tests 1058s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 1058s ok 58 /array/sort-with-data/non-zero-terminated-clear 1058s ok 59 /array/sort-with-data/zero-terminated-no-clear 1058s ok 60 /array/sort-with-data/zero-terminated-clear 1058s # End of sort-with-data tests 1058s # End of array tests 1058s # Start of pointerarray tests 1058s ok 61 /pointerarray/add 1058s ok 62 /pointerarray/insert 1058s ok 63 /pointerarray/new-take 1058s ok 64 /pointerarray/new-take-null-terminated 1058s ok 65 /pointerarray/new-from-array 1058s ok 66 /pointerarray/new-from-null-terminated-array 1058s ok 67 /pointerarray/free-func 1058s ok 68 /pointerarray/array_extend_and_steal 1058s ok 69 /pointerarray/sort 1058s ok 70 /pointerarray/sort-with-data 1058s ok 71 /pointerarray/sort-values 1058s ok 72 /pointerarray/sort-values-with-data 1058s ok 73 /pointerarray/remove-range 1058s ok 74 /pointerarray/steal 1058s # Start of free tests 1058s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1058s ok 75 /pointerarray/free/null-terminated 1058s # End of free tests 1058s # Start of new-take tests 1058s ok 76 /pointerarray/new-take/empty 1058s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1058s ok 78 /pointerarray/new-take/with-free-func 1058s # End of new-take tests 1058s # Start of new-take-null-terminated tests 1058s ok 79 /pointerarray/new-take-null-terminated/empty 1058s ok 80 /pointerarray/new-take-null-terminated/with-free-func 1058s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 1058s # End of new-take-null-terminated tests 1058s # Start of new-from-array tests 1058s ok 82 /pointerarray/new-from-array/empty 1058s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1058s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 1058s # End of new-from-array tests 1058s # Start of new-from-null-terminated-array tests 1058s ok 85 /pointerarray/new-from-null-terminated-array/empty 1058s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1058s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 1058s # End of new-from-null-terminated-array tests 1058s # Start of ref-count tests 1058s ok 88 /pointerarray/ref-count/not-null-terminated 1058s ok 89 /pointerarray/ref-count/null-terminated 1058s # End of ref-count tests 1058s # Start of array_copy tests 1058s # /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 1058s ok 90 /pointerarray/array_copy/not-null-terminated 1058s # /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 1058s ok 91 /pointerarray/array_copy/null-terminated 1058s # End of array_copy tests 1058s # Start of array_extend tests 1058s ok 92 /pointerarray/array_extend/not-null-terminated 1058s ok 93 /pointerarray/array_extend/null-terminated 1058s # End of array_extend tests 1058s # Start of sort tests 1058s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1058s ok 94 /pointerarray/sort/example 1058s # End of sort tests 1058s # Start of sort-with-data tests 1058s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1058s ok 95 /pointerarray/sort-with-data/example 1058s # End of sort-with-data tests 1058s # Start of sort-values tests 1058s ok 96 /pointerarray/sort-values/example 1058s # End of sort-values tests 1058s # Start of sort-values-with-data tests 1058s ok 97 /pointerarray/sort-values-with-data/example 1058s # End of sort-values-with-data tests 1058s # Start of find tests 1058s ok 98 /pointerarray/find/empty 1058s ok 99 /pointerarray/find/non-empty 1058s # End of find tests 1058s # Start of steal_index tests 1058s ok 100 /pointerarray/steal_index/not-null-terminated 1058s ok 101 /pointerarray/steal_index/null-terminated 1058s # End of steal_index tests 1058s # End of pointerarray tests 1058s # Start of bytearray tests 1058s ok 102 /bytearray/steal 1058s ok 103 /bytearray/append 1058s ok 104 /bytearray/prepend 1058s ok 105 /bytearray/remove 1058s ok 106 /bytearray/remove-fast 1058s ok 107 /bytearray/remove-range 1058s ok 108 /bytearray/ref-count 1058s ok 109 /bytearray/sort 1058s ok 110 /bytearray/sort-with-data 1058s ok 111 /bytearray/new-take 1058s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 1058s ok 113 /bytearray/free-to-bytes 1058s # End of bytearray tests 1058s ok - glib/array-test.test 1058s # Running test: glib/application-command-line.test 1058s TAP version 14 1058s # random seed: R02S0ebd71b842cf61b482886b5d7e6361fe 1058s 1..1 1058s # Start of application-command-line tests 1058s ok 1 /application-command-line/basic-properties 1058s # End of application-command-line tests 1058s ok - glib/application-command-line.test 1058s # Running test: glib/gdbus-close-pending.test 1058s TAP version 14 1058s # random seed: R02S70671865dfcef9f7f440f6c4b1c1c47e 1058s 1..2 1058s # Start of gdbus tests 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_4K3I22/gdbus/close-pending/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_4K3I22/gdbus/close-pending/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_4K3I22/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_4K3I22/gdbus/close-pending/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_4K3I22/gdbus/close-pending/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_4K3I22/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_4K3I22/gdbus/close-pending/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_4K3I22/gdbus/close-pending/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_4K3I22/gdbus/close-pending/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_4K3I22/gdbus/close-pending/.dirs/runtime 1058s ok 1 /gdbus/close-pending 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_4K3I22/gdbus/unref-pending/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_4K3I22/gdbus/unref-pending/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_4K3I22/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_4K3I22/gdbus/unref-pending/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_4K3I22/gdbus/unref-pending/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_4K3I22/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_4K3I22/gdbus/unref-pending/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_4K3I22/gdbus/unref-pending/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_4K3I22/gdbus/unref-pending/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_4K3I22/gdbus/unref-pending/.dirs/runtime 1058s ok 2 /gdbus/unref-pending 1058s # End of gdbus tests 1058s ok - glib/gdbus-close-pending.test 1058s # Running test: glib/error.test 1058s TAP version 14 1058s # random seed: R02S00d3eaf3424b115dbfcbdd74f4b043e4 1058s 1..3 1058s # Start of error tests 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_3X8612/error/from-errno/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_3X8612/error/from-errno/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_3X8612/error/from-errno/.dirs/system-config1:/tmp/test_error_3X8612/error/from-errno/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_3X8612/error/from-errno/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_3X8612/error/from-errno/.dirs/system-data1:/tmp/test_error_3X8612/error/from-errno/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_3X8612/error/from-errno/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_3X8612/error/from-errno/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_3X8612/error/from-errno/.dirs/runtime 1058s ok 1 /error/from-errno 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_3X8612/error/from-file-error/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_3X8612/error/from-file-error/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_3X8612/error/from-file-error/.dirs/system-config1:/tmp/test_error_3X8612/error/from-file-error/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_3X8612/error/from-file-error/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_3X8612/error/from-file-error/.dirs/system-data1:/tmp/test_error_3X8612/error/from-file-error/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_3X8612/error/from-file-error/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_3X8612/error/from-file-error/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_3X8612/error/from-file-error/.dirs/runtime 1058s ok 2 /error/from-file-error 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_3X8612/error/from-win32-error/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_3X8612/error/from-win32-error/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_3X8612/error/from-win32-error/.dirs/system-config1:/tmp/test_error_3X8612/error/from-win32-error/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_3X8612/error/from-win32-error/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_3X8612/error/from-win32-error/.dirs/system-data1:/tmp/test_error_3X8612/error/from-win32-error/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_3X8612/error/from-win32-error/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_3X8612/error/from-win32-error/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_3X8612/error/from-win32-error/.dirs/runtime 1058s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1058s # End of error tests 1058s ok - glib/error.test 1058s # Running test: glib/boxed.test 1058s TAP version 14 1058s # random seed: R02S54a8df916e3cfc05995c1e6f1a285084 1058s 1..27 1058s # Start of boxed tests 1058s ok 1 /boxed/define 1058s ok 2 /boxed/ownership 1058s ok 3 /boxed/closure 1058s ok 4 /boxed/date 1058s ok 5 /boxed/value 1058s ok 6 /boxed/string 1058s ok 7 /boxed/hashtable 1058s ok 8 /boxed/array 1058s ok 9 /boxed/ptrarray 1058s ok 10 /boxed/regex 1058s ok 11 /boxed/varianttype 1058s ok 12 /boxed/error 1058s ok 13 /boxed/datetime 1058s ok 14 /boxed/matchinfo 1058s ok 15 /boxed/keyfile 1058s ok 16 /boxed/mainloop 1058s ok 17 /boxed/maincontext 1058s ok 18 /boxed/source 1058s ok 19 /boxed/variantbuilder 1058s ok 20 /boxed/timezone 1058s ok 21 /boxed/pollfd 1058s ok 22 /boxed/markup 1058s ok 23 /boxed/thread 1058s ok 24 /boxed/checksum 1058s ok 25 /boxed/tree 1058s ok 26 /boxed/patternspec 1058s ok 27 /boxed/rand 1058s # End of boxed tests 1058s ok - glib/boxed.test 1058s # Running test: glib/rwlock.test 1058s TAP version 14 1058s # random seed: R02Sb044bdbc5ae98dc114f9e847bb139615 1058s 1..8 1058s # Start of thread tests 1058s ok 1 /thread/rwlock1 1058s ok 2 /thread/rwlock2 1058s ok 3 /thread/rwlock3 1058s ok 4 /thread/rwlock4 1058s ok 5 /thread/rwlock5 1058s ok 6 /thread/rwlock6 1061s ok 7 /thread/rwlock7 1061s # slow test /thread/rwlock7 executed in 2.74 secs 1061s ok 8 /thread/rwlock8 1061s # End of thread tests 1061s ok - glib/rwlock.test 1061s # Running test: glib/unicode-encoding.test 1061s TAP version 14 1061s # random seed: R02S99213f8398a9fe5c189b3e4f7c28711a 1061s 1..1 1061s # Start of unicode tests 1061s ok 1 /unicode/encoding 1061s # End of unicode tests 1061s ok - glib/unicode-encoding.test 1061s # Running test: glib/memory-input-stream.test 1061s TAP version 14 1061s # random seed: R02Sb3115a37f6f9eb63752a7bbb7887f1df 1061s 1..6 1061s # Start of memory-input-stream tests 1061s ok 1 /memory-input-stream/read-chunks 1061s ok 2 /memory-input-stream/async 1061s ok 3 /memory-input-stream/seek 1061s ok 4 /memory-input-stream/truncate 1061s ok 5 /memory-input-stream/read-bytes 1061s ok 6 /memory-input-stream/from-bytes 1061s # End of memory-input-stream tests 1061s ok - glib/memory-input-stream.test 1061s # Running test: glib/unicode.test 1061s TAP version 14 1061s # random seed: R02S4394c523e06d93951a19fd07061ca6ca 1061s 1..39 1061s # Start of unicode tests 1061s ok 1 /unicode/alnum 1061s ok 2 /unicode/alpha 1061s ok 3 /unicode/break-type 1061s ok 4 /unicode/canonical-decomposition 1061s ok 5 /unicode/casefold 1061s # Cannot set locale to lt_LT, skipping 1061s # Cannot set locale to lt_LT, skipping 1061s # Cannot set locale to lt_LT, skipping 1061s # Cannot set locale to lt_LT, skipping 1061s # Cannot set locale to lt_LT, skipping 1061s # Cannot set locale to lt_LT, skipping 1061s # Cannot set locale to lt_LT, skipping 1061s # Cannot set locale to lt_LT, skipping 1061s # Cannot set locale to lt_LT, skipping 1061s # Cannot set locale to lt_LT, skipping 1061s # Cannot set locale to lt_LT, skipping 1061s ok 6 /unicode/casemap_and_casefold 1061s ok 7 /unicode/cases 1061s ok 8 /unicode/character-type 1061s ok 9 /unicode/cntrl 1061s ok 10 /unicode/combining-class 1061s # Composing U+000041 and U+000042; expecting U+000000 1061s # Composing U+000041 and U+000000; expecting U+000000 1061s # Composing U+000066 and U+000069; expecting U+000000 1061s # Composing U+000308 and U+000301; expecting U+000000 1061s # Composing U+000f71 and U+000f72; expecting U+000000 1061s # Composing U+00212b and U+000000; expecting U+000000 1061s # Composing U+0000c5 and U+000000; expecting U+000000 1061s # Composing U+002126 and U+000000; expecting U+000000 1061s # Composing U+0003a9 and U+000000; expecting U+000000 1061s # Composing U+000041 and U+00030a; expecting U+0000c5 1061s # Composing U+00006f and U+000302; expecting U+0000f4 1061s # Composing U+001e63 and U+000307; expecting U+001e69 1061s # Composing U+000073 and U+000323; expecting U+001e63 1061s # Composing U+000064 and U+000307; expecting U+001e0b 1061s # Composing U+000064 and U+000323; expecting U+001e0d 1061s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 1061s # Composing U+001111 and U+001171; expecting U+00d4cc 1061s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 1061s # Composing U+00110e and U+001173; expecting U+00ce20 1061s # Composing U+001100 and U+001160; expecting U+000000 1061s # Composing U+001100 and U+001177; expecting U+000000 1061s # Composing U+00abff and U+0011b6; expecting U+000000 1061s # Composing U+00d7a5 and U+0011b6; expecting U+000000 1061s # Composing U+00ac01 and U+0011b6; expecting U+000000 1061s # Composing U+00d4cc and U+0011a6; expecting U+000000 1061s # Composing U+00d4cc and U+0011c4; expecting U+000000 1061s # Composing U+01611e and U+01611e; expecting U+016121 1061s # Composing U+01611e and U+01611f; expecting U+016123 1061s # Composing U+0000f6 and U+000304; expecting U+00022b 1061s # Composing U+000b47 and U+000b57; expecting U+000b4c 1061s # Composing U+0000a0 and U+000b57; expecting U+000000 1061s # Composing U+016e00 and U+00030a; expecting U+000000 1061s # Composing U+00212b and U+016e00; expecting U+000000 1061s # Composing U+001e63 and U+000306; expecting U+000000 1061s # Composing U+001e63 and U+000304; expecting U+000000 1061s # Composing U+001e63 and U+000b57; expecting U+000000 1061s # Composing U+001e63 and U+000000; expecting U+000000 1061s # Composing U+001e63 and U+0113c2; expecting U+000000 1061s # Composing U+001f01 and U+0113c2; expecting U+000000 1061s # Composing U+00006e and U+000302; expecting U+000000 1061s # Composing U+001e63 and U+01611f; expecting U+000000 1061s # Composing U+01138e and U+0113b8; expecting U+000000 1061s # Composing U+01611e and U+000000; expecting U+000000 1061s # Composing U+000000 and U+01611f; expecting U+000000 1061s # Composing U+011390 and U+0113c2; expecting U+000000 1061s ok 11 /unicode/compose 1061s ok 12 /unicode/decompose 1061s ok 13 /unicode/decompose-tail 1061s ok 14 /unicode/defined 1061s ok 15 /unicode/digit 1061s ok 16 /unicode/digit-value 1061s # Fully decomposing U+000041; expecting 1 codepoints 1061s # Fully decomposing U+00fb01; expecting 1 codepoints 1061s # Fully decomposing U+00212b; expecting 2 codepoints 1061s # Fully decomposing U+002126; expecting 1 codepoints 1061s # Fully decomposing U+000344; expecting 2 codepoints 1061s # Fully decomposing U+000f73; expecting 2 codepoints 1061s # Fully decomposing U+0000c5; expecting 2 codepoints 1061s # Fully decomposing U+0000f4; expecting 2 codepoints 1061s # Fully decomposing U+001e69; expecting 3 codepoints 1061s # Fully decomposing U+001e63; expecting 2 codepoints 1061s # Fully decomposing U+001e0b; expecting 2 codepoints 1061s # Fully decomposing U+001e0d; expecting 2 codepoints 1061s # Fully decomposing U+00d4db; expecting 3 codepoints 1061s # Fully decomposing U+00d4cc; expecting 2 codepoints 1061s # Fully decomposing U+00ce31; expecting 3 codepoints 1061s # Fully decomposing U+00ce20; expecting 2 codepoints 1061s ok 17 /unicode/fully-decompose-canonical 1061s ok 18 /unicode/fully-decompose-len 1061s ok 19 /unicode/normalization 1061s ok 20 /unicode/graph 1061s # Testing script Zyyy (code 1517910393) 1061s # Testing script Zinh (code 1516858984) 1061s # Testing script Zmth (code 1517122664) 1061s # Testing script Arab (code 1098015074) 1061s # Testing script Armn (code 1098018158) 1061s # Testing script Beng (code 1113943655) 1061s # Testing script Bopo (code 1114599535) 1061s # Testing script Cher (code 1130915186) 1061s # Testing script Copt (code 1131376756) 1061s # Testing script Cyrl (code 1132032620) 1061s # Testing script Dsrt (code 1148416628) 1061s # Testing script Deva (code 1147500129) 1061s # Testing script Ethi (code 1165256809) 1061s # Testing script Geor (code 1197830002) 1061s # Testing script Goth (code 1198486632) 1061s # Testing script Grek (code 1198679403) 1061s # Testing script Gujr (code 1198877298) 1061s # Testing script Guru (code 1198879349) 1061s # Testing script Hani (code 1214344809) 1061s # Testing script Hang (code 1214344807) 1061s # Testing script Hebr (code 1214603890) 1061s # Testing script Hira (code 1214870113) 1061s # Testing script Knda (code 1265525857) 1061s # Testing script Kana (code 1264676449) 1061s # Testing script Khmr (code 1265134962) 1061s # Testing script Laoo (code 1281453935) 1061s # Testing script Latn (code 1281455214) 1061s # Testing script Mlym (code 1298954605) 1061s # Testing script Mong (code 1299148391) 1061s # Testing script Mymr (code 1299803506) 1061s # Testing script Ogam (code 1332175213) 1061s # Testing script Ital (code 1232363884) 1061s # Testing script Orya (code 1332902241) 1061s # Testing script Runr (code 1383427698) 1061s # Testing script Sinh (code 1399418472) 1061s # Testing script Syrc (code 1400468067) 1061s # Testing script Taml (code 1415671148) 1061s # Testing script Telu (code 1415933045) 1061s # Testing script Thaa (code 1416126817) 1061s # Testing script Thai (code 1416126825) 1061s # Testing script Tibt (code 1416192628) 1061s # Testing script Cans (code 1130458739) 1061s # Testing script Yiii (code 1500080489) 1061s # Testing script Tglg (code 1416064103) 1061s # Testing script Hano (code 1214344815) 1061s # Testing script Buhd (code 1114990692) 1061s # Testing script Tagb (code 1415669602) 1061s # Testing script Brai (code 1114792297) 1061s # Testing script Cprt (code 1131442804) 1061s # Testing script Limb (code 1281977698) 1061s # Testing script Osma (code 1332964705) 1061s # Testing script Shaw (code 1399349623) 1061s # Testing script Linb (code 1281977954) 1061s # Testing script Tale (code 1415670885) 1061s # Testing script Ugar (code 1432838514) 1061s # Testing script Talu (code 1415670901) 1061s # Testing script Bugi (code 1114990441) 1061s # Testing script Glag (code 1198285159) 1061s # Testing script Tfng (code 1415999079) 1061s # Testing script Sylo (code 1400466543) 1061s # Testing script Xpeo (code 1483761007) 1061s # Testing script Khar (code 1265131890) 1061s # Testing script Zzzz (code 1517976186) 1061s # Testing script Bali (code 1113681001) 1061s # Testing script Xsux (code 1483961720) 1061s # Testing script Phnx (code 1349021304) 1061s # Testing script Phag (code 1349017959) 1061s # Testing script Nkoo (code 1315663727) 1061s # Testing script Kali (code 1264675945) 1061s # Testing script Lepc (code 1281716323) 1061s # Testing script Rjng (code 1382706791) 1061s # Testing script Sund (code 1400204900) 1061s # Testing script Saur (code 1398895986) 1061s # Testing script Cham (code 1130914157) 1061s # Testing script Olck (code 1332503403) 1061s # Testing script Vaii (code 1449224553) 1061s # Testing script Cari (code 1130459753) 1061s # Testing script Lyci (code 1283023721) 1061s # Testing script Lydi (code 1283023977) 1061s # Testing script Avst (code 1098281844) 1061s # Testing script Bamu (code 1113681269) 1061s # Testing script Egyp (code 1164409200) 1061s # Testing script Armi (code 1098018153) 1061s # Testing script Phli (code 1349020777) 1061s # Testing script Prti (code 1349678185) 1061s # Testing script Java (code 1247901281) 1061s # Testing script Kthi (code 1265920105) 1061s # Testing script Lisu (code 1281979253) 1061s # Testing script Mtei (code 1299473769) 1061s # Testing script Sarb (code 1398895202) 1061s # Testing script Orkh (code 1332898664) 1061s # Testing script Samr (code 1398893938) 1061s # Testing script Lana (code 1281453665) 1061s # Testing script Tavt (code 1415673460) 1061s # Testing script Batk (code 1113683051) 1061s # Testing script Brah (code 1114792296) 1061s # Testing script Mand (code 1298230884) 1061s # Testing script Cakm (code 1130457965) 1061s # Testing script Merc (code 1298494051) 1061s # Testing script Mero (code 1298494063) 1061s # Testing script Plrd (code 1349284452) 1061s # Testing script Shrd (code 1399353956) 1061s # Testing script Sora (code 1399812705) 1061s # Testing script Takr (code 1415670642) 1061s # Testing script Bass (code 1113682803) 1061s # Testing script Aghb (code 1097295970) 1061s # Testing script Dupl (code 1148547180) 1061s # Testing script Elba (code 1164730977) 1061s # Testing script Gran (code 1198678382) 1061s # Testing script Khoj (code 1265135466) 1061s # Testing script Sind (code 1399418468) 1061s # Testing script Lina (code 1281977953) 1061s # Testing script Mahj (code 1298229354) 1061s # Testing script Mani (code 1298230889) 1061s # Testing script Mend (code 1298493028) 1061s # Testing script Modi (code 1299145833) 1061s # Testing script Mroo (code 1299345263) 1061s # Testing script Nbat (code 1315070324) 1061s # Testing script Narb (code 1315009122) 1061s # Testing script Perm (code 1348825709) 1061s # Testing script Hmng (code 1215131239) 1061s # Testing script Palm (code 1348562029) 1061s # Testing script Pauc (code 1348564323) 1061s # Testing script Phlp (code 1349020784) 1061s # Testing script Sidd (code 1399415908) 1061s # Testing script Tirh (code 1416196712) 1061s # Testing script Wara (code 1466004065) 1061s # Testing script Ahom (code 1097363309) 1061s # Testing script Hluw (code 1215067511) 1061s # Testing script Hatr (code 1214346354) 1061s # Testing script Mult (code 1299541108) 1061s # Testing script Hung (code 1215655527) 1061s # Testing script Sgnw (code 1399287415) 1061s # Testing script Adlm (code 1097100397) 1061s # Testing script Bhks (code 1114139507) 1061s # Testing script Marc (code 1298231907) 1061s # Testing script Newa (code 1315272545) 1061s # Testing script Osge (code 1332963173) 1061s # Testing script Tang (code 1415671399) 1061s # Testing script Gonm (code 1198485101) 1061s # Testing script Nshu (code 1316186229) 1061s # Testing script Soyo (code 1399814511) 1061s # Testing script Zanb (code 1516334690) 1061s # Testing script Dogr (code 1148151666) 1061s # Testing script Gong (code 1198485095) 1061s # Testing script Rohg (code 1383032935) 1061s # Testing script Maka (code 1298230113) 1061s # Testing script Medf (code 1298490470) 1061s # Testing script Sogo (code 1399809903) 1061s # Testing script Sogd (code 1399809892) 1061s # Testing script Elym (code 1164736877) 1061s # Testing script Nand (code 1315008100) 1061s # Testing script Hmnp (code 1215131248) 1061s # Testing script Wcho (code 1466132591) 1061s # Testing script Chrs (code 1130918515) 1061s # Testing script Diak (code 1147756907) 1061s # Testing script Kits (code 1265202291) 1061s # Testing script Yezi (code 1499822697) 1061s # Testing script Cpmn (code 1131441518) 1061s # Testing script Ougr (code 1333094258) 1061s # Testing script Tnsa (code 1416524641) 1061s # Testing script Toto (code 1416590447) 1061s # Testing script Vith (code 1449751656) 1061s # Testing script Kawi (code 1264678761) 1061s # Testing script Nagm (code 1315006317) 1061s # Testing script Todr (code 1416586354) 1061s # Testing script Gara (code 1197568609) 1061s # Testing script Tutg (code 1416983655) 1061s # Testing script Sunu (code 1400204917) 1061s # Testing script Gukh (code 1198877544) 1061s # Testing script Krai (code 1265787241) 1061s # Testing script Onao (code 1332633967) 1061s ok 21 /unicode/iso15924 1061s ok 22 /unicode/lower 1061s ok 23 /unicode/mark 1061s ok 24 /unicode/mirror 1061s ok 25 /unicode/print 1061s ok 26 /unicode/punctuation 1061s ok 27 /unicode/script 1061s ok 28 /unicode/space 1061s ok 29 /unicode/strdown 1061s ok 30 /unicode/strup 1061s ok 31 /unicode/turkish-strupdown 1061s ok 32 /unicode/title 1061s ok 33 /unicode/upper 1061s ok 34 /unicode/validate 1061s ok 35 /unicode/wide 1061s ok 36 /unicode/xdigit 1061s ok 37 /unicode/xdigit-value 1061s ok 38 /unicode/zero-width 1061s ok 39 /unicode/normalize 1061s # End of unicode tests 1061s ok - glib/unicode.test 1061s # Running test: glib/atomic-c-99.test 1061s TAP version 14 1061s # random seed: R02Saf8a44d3fd9e81d73442b9482c839de4 1061s 1..2 1061s # Start of atomic tests 1061s ok 1 /atomic/types 1061s ok 2 /atomic/threaded 1061s # End of atomic tests 1061s ok - glib/atomic-c-99.test 1061s # Running test: glib/simple-proxy.test 1061s TAP version 14 1061s # random seed: R02Saf19eadd9ffbfca7e0899bbe561ec23d 1061s 1..3 1061s # Start of static-proxy tests 1061s ok 1 /static-proxy/uri 1061s ok 2 /static-proxy/socks 1061s ok 3 /static-proxy/ignore 1061s # End of static-proxy tests 1061s ok - glib/simple-proxy.test 1061s # Running test: glib/socket-service.test 1061s TAP version 14 1061s # random seed: R02Sb5fb049aed6b6ae7cf589aea8274f6f0 1061s 1..4 1061s # Start of socket-service tests 1061s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1061s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2e7ac330 and GSocketClientAsyncConnectData 0x2aa2e7a4620 1061s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1061s ok 1 /socket-service/start-stop 1061s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2e7ade90 and GSocketClientAsyncConnectData 0x2aa2e7adc30 1061s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1061s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1061s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2e7ae3a0 for GSocketClientAsyncConnectData 0x2aa2e7a4620 1061s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1061s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1061s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1061s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1061s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1061s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2e7af220 for GSocketClientAsyncConnectData 0x2aa2e7adc30 1061s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1061s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1061s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1061s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1061s ok 2 /socket-service/read_write_async 1061s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2e7adf70 and GSocketClientAsyncConnectData 0x2aa2e7ac900 1061s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1061s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1061s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2e7b0160 for GSocketClientAsyncConnectData 0x2aa2e7ac900 1061s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1061s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1061s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1061s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1061s ok 3 /socket-service/read_writev_async 1061s # Start of threaded tests 1061s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1061s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2e7b36f0 and GSocketClientAsyncConnectData 0x2aa2e7a4620 1061s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1061s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1061s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2e7b3870 for GSocketClientAsyncConnectData 0x2aa2e7a4620 1061s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1061s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1061s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1061s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1061s ok 4 /socket-service/threaded/712570 1061s # End of threaded tests 1061s # End of socket-service tests 1061s ok - glib/socket-service.test 1061s # Running test: glib/gdbus-names.test 1061s TAP version 14 1061s # random seed: R02S6ffdd653592c4bad87519dfd1f4f147f 1061s 1..10 1061s # Start of gdbus tests 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_RT3312/gdbus/validate-names/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_RT3312/gdbus/validate-names/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_RT3312/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_RT3312/gdbus/validate-names/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_RT3312/gdbus/validate-names/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_RT3312/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_RT3312/gdbus/validate-names/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_RT3312/gdbus/validate-names/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_RT3312/gdbus/validate-names/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_RT3312/gdbus/validate-names/.dirs/runtime 1061s ok 1 /gdbus/validate-names 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-own-name/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-own-name/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_RT3312/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_RT3312/gdbus/bus-own-name/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-own-name/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_RT3312/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_RT3312/gdbus/bus-own-name/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-own-name/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-own-name/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_RT3312/gdbus/bus-own-name/.dirs/runtime 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s ok 2 /gdbus/bus-own-name 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name/.dirs/runtime 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s ok 3 /gdbus/bus-watch-name 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-auto-start/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-auto-start/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-auto-start/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-auto-start/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-auto-start/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-auto-start/.dirs/runtime 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s ok 4 /gdbus/bus-watch-name-auto-start 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1061s dbus-daemon[9608]: [session uid=1000 pid=9608 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=9598 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1061s # Acquired a message bus connection 1061s dbus-daemon[9608]: [session uid=1000 pid=9608 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 1061s # Acquired the name org.gtk.GDBus.FakeService 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-closures/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-closures/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-closures/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-closures/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-closures/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-closures/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-closures/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-closures/.dirs/runtime 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s ok 6 /gdbus/bus-watch-name-closures 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s ok 7 /gdbus/bus-watch-name-closures-auto-start 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-different-context/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-different-context/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_RT3312/gdbus/bus-watch-different-context/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-different-context/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_RT3312/gdbus/bus-watch-different-context/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-different-context/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-different-context/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_RT3312/gdbus/bus-watch-different-context/.dirs/runtime 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s ok 8 /gdbus/bus-watch-different-context 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-unwatch-early/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-unwatch-early/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_RT3312/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_RT3312/gdbus/bus-unwatch-early/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-unwatch-early/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_RT3312/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_RT3312/gdbus/bus-unwatch-early/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-unwatch-early/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_RT3312/gdbus/bus-unwatch-early/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_RT3312/gdbus/bus-unwatch-early/.dirs/runtime 1061s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s ok 9 /gdbus/bus-unwatch-early 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_RT3312/gdbus/escape-object-path/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_RT3312/gdbus/escape-object-path/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_RT3312/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_RT3312/gdbus/escape-object-path/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_RT3312/gdbus/escape-object-path/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_RT3312/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_RT3312/gdbus/escape-object-path/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_RT3312/gdbus/escape-object-path/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_RT3312/gdbus/escape-object-path/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_RT3312/gdbus/escape-object-path/.dirs/runtime 1061s ok 10 /gdbus/escape-object-path 1061s # End of gdbus tests 1061s ok - glib/gdbus-names.test 1061s # Running test: glib/scannerapi.test 1061s TAP version 14 1061s # random seed: R02Sa6015740902ce5317b74c7b6ba5f1548 1061s 1..4 1061s # Start of scanner tests 1061s ok 1 /scanner/warn 1061s ok 2 /scanner/error 1061s ok 3 /scanner/symbols 1061s ok 4 /scanner/tokens 1061s # End of scanner tests 1061s ok - glib/scannerapi.test 1061s # Running test: glib/collate.test 1061s TAP version 14 1061s # random seed: R02S9379c660809920543bf6c44ea14b2efc 1061s 1..9 1061s # Start of unicode tests 1061s # Start of collate tests 1061s ok 1 /unicode/collate/0 1061s ok 2 /unicode/collate/1 1061s ok 3 /unicode/collate/2 1061s # End of collate tests 1061s # Start of collate-key tests 1061s ok 4 /unicode/collate-key/0 1061s ok 5 /unicode/collate-key/1 1061s ok 6 /unicode/collate-key/2 1061s # End of collate-key tests 1061s # Start of collate-filename tests 1061s ok 7 /unicode/collate-filename/0 1061s ok 8 /unicode/collate-filename/1 1061s ok 9 /unicode/collate-filename/2 1061s # End of collate-filename tests 1061s # End of unicode tests 1061s ok - glib/collate.test 1061s # Running test: glib/signals.test 1061s TAP version 14 1061s # random seed: R02S2a6acc99a5d800101c43549362898fe2 1061s 1..31 1061s # Start of gobject tests 1061s # Start of signals tests 1061s ok 1 /gobject/signals/all-types 1061s ok 2 /gobject/signals/variant 1061s ok 3 /gobject/signals/destroy-target-object 1061s ok 4 /gobject/signals/generic-marshaller-1 1061s ok 5 /gobject/signals/generic-marshaller-2 1061s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1061s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1061s ok 8 /gobject/signals/generic-marshaller-int-return 1061s ok 9 /gobject/signals/generic-marshaller-uint-return 1061s ok 10 /gobject/signals/generic-marshaller-interface-return 1061s ok 11 /gobject/signals/custom-marshaller 1061s ok 12 /gobject/signals/connect 1061s ok 13 /gobject/signals/emission-hook 1061s ok 14 /gobject/signals/emitv 1061s ok 15 /gobject/signals/accumulator 1061s # Signal: accumulator-class-first 1061s # Signal: accumulator-class-last 1061s # Signal: accumulator-class-cleanup 1061s # Signal: accumulator-class-first-last 1061s # Signal: accumulator-class-first-last-cleanup 1061s # Signal: accumulator-class-last-cleanup 1061s ok 16 /gobject/signals/accumulator-class 1061s ok 17 /gobject/signals/introspection 1061s ok 18 /gobject/signals/block-handler 1061s ok 19 /gobject/signals/stop-emission 1061s ok 20 /gobject/signals/invocation-hint 1061s ok 21 /gobject/signals/test-disconnection-wrong-object 1061s ok 22 /gobject/signals/clear-signal-handler 1061s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1061s ok 23 /gobject/signals/lookup 1061s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1061s ok 24 /gobject/signals/parse-name 1061s ok 25 /gobject/signals/is-valid-name 1061s ok 26 /gobject/signals/weak-ref-disconnect 1061s # Start of lookup tests 1061s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1061s ok 27 /gobject/signals/lookup/invalid 1061s # End of lookup tests 1061s # Start of parse-name tests 1061s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1061s # Parser input: 1061s # Parser input: 7zip 1061s # Parser input: invalid:signal 1061s # Parser input: simple-detailed:: 1061s # Parser input: simple-detailed: 1061s # Parser input: : 1061s # Parser input: :: 1061s # Parser input: :valid-detail 1061s # Parser input: ::valid-detail 1061s ok 28 /gobject/signals/parse-name/invalid 1061s # End of parse-name tests 1061s # Start of invalid-name tests 1061s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1061s ok 29 /gobject/signals/invalid-name/colon 1061s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1061s ok 30 /gobject/signals/invalid-name/first-char 1061s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1061s ok 31 /gobject/signals/invalid-name/empty 1061s # End of invalid-name tests 1061s # End of signals tests 1061s # End of gobject tests 1061s ok - glib/signals.test 1061s # Running test: glib/spawn-multithreaded.test 1061s TAP version 14 1061s # random seed: R02Sc79f4f82cdad01229adb6ae094026ff0 1061s 1..4 1061s # Start of gthread tests 1062s # Child 9635 (ttl 1) exited, status 0 1062s # Executing: glib/spawn-multithreaded.test 1063s # Child 9636 (ttl 2) exited, status 0 1063s ok 1 /gthread/spawn-childs 1063s # slow test /gthread/spawn-childs executed in 2.00 secs 1063s # Created pid: 9640 (ttl 1) 1063s # Created pid: 9641 (ttl 2) 1064s # Child 9640 (ttl 1) exited, status 0 1065s # Child 9641 (ttl 2) exited, status 0 1065s ok 2 /gthread/spawn-childs-threads 1065s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1065s ok 3 /gthread/spawn-sync 1065s ok 4 /gthread/spawn-async 1065s # End of gthread tests 1065s ok - glib/spawn-multithreaded.test 1065s # Running test: glib/memory-monitor-dbus.test 1066s TAP version 13 1066s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1066s 1..1 1066s ok - glib/memory-monitor-dbus.test 1066s # Running test: glib/thread-deprecated.test 1066s TAP version 14 1066s # random seed: R02S9ed44a6e30398d14ab0afd7edb47f66e 1066s 1..6 1066s # Start of thread tests 1066s ok 1 /thread/mutex 1066s ok 2 /thread/static-rec-mutex 1067s # Executing: glib/thread-deprecated.test 1070s ok 3 /thread/static-private 1070s # slow test /thread/static-private executed in 4.40 secs 1072s # Executing: glib/thread-deprecated.test 1075s ok 4 /thread/static-rw-lock 1075s # slow test /thread/static-rw-lock executed in 5.00 secs 1075s ok 5 /thread/once 1077s # Executing: glib/thread-deprecated.test 1082s # Executing: glib/thread-deprecated.test 1085s ok 6 /thread/rerun-all 1085s # slow test /thread/rerun-all executed in 10.02 secs 1085s # End of thread tests 1085s ok - glib/thread-deprecated.test 1085s # Running test: glib/gdbus-addresses.test 1085s TAP version 14 1085s # random seed: R02S1488d504f6ab43532b9ae25a6e528a33 1085s 1..9 1085s # Start of gdbus tests 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/empty-address/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/empty-address/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_GFV112/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_GFV112/gdbus/empty-address/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/empty-address/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_GFV112/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_GFV112/gdbus/empty-address/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/empty-address/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/empty-address/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_GFV112/gdbus/empty-address/.dirs/runtime 1085s ok 1 /gdbus/empty-address 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/unsupported-address/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/unsupported-address/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_GFV112/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_GFV112/gdbus/unsupported-address/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/unsupported-address/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_GFV112/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_GFV112/gdbus/unsupported-address/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/unsupported-address/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/unsupported-address/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_GFV112/gdbus/unsupported-address/.dirs/runtime 1085s ok 2 /gdbus/unsupported-address 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/address-parsing/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/address-parsing/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_GFV112/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_GFV112/gdbus/address-parsing/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/address-parsing/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_GFV112/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_GFV112/gdbus/address-parsing/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/address-parsing/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/address-parsing/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_GFV112/gdbus/address-parsing/.dirs/runtime 1085s ok 3 /gdbus/address-parsing 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/unix-address/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/unix-address/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_GFV112/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_GFV112/gdbus/unix-address/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/unix-address/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_GFV112/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_GFV112/gdbus/unix-address/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/unix-address/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/unix-address/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_GFV112/gdbus/unix-address/.dirs/runtime 1085s ok 4 /gdbus/unix-address 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/nonce-tcp-address/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/nonce-tcp-address/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_GFV112/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_GFV112/gdbus/nonce-tcp-address/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/nonce-tcp-address/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_GFV112/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_GFV112/gdbus/nonce-tcp-address/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/nonce-tcp-address/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/nonce-tcp-address/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_GFV112/gdbus/nonce-tcp-address/.dirs/runtime 1085s ok 5 /gdbus/nonce-tcp-address 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/tcp-address/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/tcp-address/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_GFV112/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_GFV112/gdbus/tcp-address/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/tcp-address/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_GFV112/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_GFV112/gdbus/tcp-address/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/tcp-address/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/tcp-address/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_GFV112/gdbus/tcp-address/.dirs/runtime 1085s ok 6 /gdbus/tcp-address 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/autolaunch-address/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/autolaunch-address/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_GFV112/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_GFV112/gdbus/autolaunch-address/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/autolaunch-address/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_GFV112/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_GFV112/gdbus/autolaunch-address/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/autolaunch-address/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/autolaunch-address/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_GFV112/gdbus/autolaunch-address/.dirs/runtime 1085s ok 7 /gdbus/autolaunch-address 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/mixed-address/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/mixed-address/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_GFV112/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_GFV112/gdbus/mixed-address/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/mixed-address/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_GFV112/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_GFV112/gdbus/mixed-address/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/mixed-address/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/mixed-address/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_GFV112/gdbus/mixed-address/.dirs/runtime 1085s ok 8 /gdbus/mixed-address 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/escape-address/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/escape-address/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_GFV112/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_GFV112/gdbus/escape-address/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/escape-address/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_GFV112/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_GFV112/gdbus/escape-address/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/escape-address/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_GFV112/gdbus/escape-address/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_GFV112/gdbus/escape-address/.dirs/runtime 1085s ok 9 /gdbus/escape-address 1085s # End of gdbus tests 1085s ok - glib/gdbus-addresses.test 1085s # Running test: glib/g-file-info.test 1085s TAP version 14 1085s # random seed: R02Sbd7bede94d182825edb39e08c7f1bc4e 1085s 1..6 1085s # Start of g-file-info tests 1085s ok 1 /g-file-info/test_g_file_info 1085s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1085s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1085s ok 2 /g-file-info/xattrs 1085s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1085s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1085s ok 3 /g-file-info/set-modified-date-time-precision 1085s # Start of test_g_file_info tests 1085s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1085s ok 4 /g-file-info/test_g_file_info/modification-time 1085s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1085s ok 5 /g-file-info/test_g_file_info/access-time 1085s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1085s ok 6 /g-file-info/test_g_file_info/creation-time 1085s # End of test_g_file_info tests 1085s # End of g-file-info tests 1085s ok - glib/g-file-info.test 1085s # Running test: glib/pathbuf.test 1085s TAP version 14 1085s # random seed: R02Sb0874747324eb995b70f09a8e3db5ee0 1085s 1..3 1085s # Start of pathbuf tests 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_AK5212/pathbuf/init/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_AK5212/pathbuf/init/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_AK5212/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_AK5212/pathbuf/init/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_AK5212/pathbuf/init/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_AK5212/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_AK5212/pathbuf/init/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_AK5212/pathbuf/init/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_AK5212/pathbuf/init/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_AK5212/pathbuf/init/.dirs/runtime 1085s # Initializing empty path buf 1085s # Initializing with empty path 1085s # Initializing with full path 1085s # Initializing with no path 1085s # Allocating GPathBuf on the heap 1085s ok 1 /pathbuf/init 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_AK5212/pathbuf/push-pop/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_AK5212/pathbuf/push-pop/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_AK5212/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_AK5212/pathbuf/push-pop/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_AK5212/pathbuf/push-pop/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_AK5212/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_AK5212/pathbuf/push-pop/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_AK5212/pathbuf/push-pop/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_AK5212/pathbuf/push-pop/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_AK5212/pathbuf/push-pop/.dirs/runtime 1085s # Pushing relative path component 1085s # Pushing absolute path component 1085s # Popping a path component 1085s # Can't pop the last element of a path buffer 1085s ok 2 /pathbuf/push-pop 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_AK5212/pathbuf/filename-extension/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_AK5212/pathbuf/filename-extension/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_AK5212/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_AK5212/pathbuf/filename-extension/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_AK5212/pathbuf/filename-extension/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_AK5212/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_AK5212/pathbuf/filename-extension/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_AK5212/pathbuf/filename-extension/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_AK5212/pathbuf/filename-extension/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_AK5212/pathbuf/filename-extension/.dirs/runtime 1085s ok 3 /pathbuf/filename-extension 1085s # End of pathbuf tests 1085s ok - glib/pathbuf.test 1085s # Running test: glib/base64.test 1085s TAP version 14 1085s # random seed: R02S455b40b90d82cdc04864e4ae8c0e3e4f 1085s 1..28 1085s # Start of base64 tests 1085s ok 1 /base64/encode 1085s ok 2 /base64/decode 1085s ok 3 /base64/decode-inplace 1085s ok 4 /base64/encode-decode 1085s # Start of full tests 1085s ok 5 /base64/full/1 1085s ok 6 /base64/full/2 1085s ok 7 /base64/full/3 1085s ok 8 /base64/full/4 1085s # End of full tests 1085s # Start of encode tests 1085s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1085s ok 9 /base64/encode/empty 1085s # Start of incremental tests 1085s # Start of small-block tests 1085s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1085s ok 10 /base64/encode/incremental/small-block/1 1085s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1085s ok 11 /base64/encode/incremental/small-block/2 1085s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1085s ok 12 /base64/encode/incremental/small-block/3 1085s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1085s ok 13 /base64/encode/incremental/small-block/4 1085s # End of small-block tests 1085s # End of incremental tests 1085s # End of encode tests 1085s # Start of incremental tests 1085s # Start of nobreak tests 1085s ok 14 /base64/incremental/nobreak/1 1085s ok 15 /base64/incremental/nobreak/2 1085s ok 16 /base64/incremental/nobreak/3 1085s ok 17 /base64/incremental/nobreak/4-a 1085s ok 18 /base64/incremental/nobreak/4-b 1085s ok 19 /base64/incremental/nobreak/4-c 1085s # End of nobreak tests 1085s # Start of break tests 1085s ok 20 /base64/incremental/break/1 1085s ok 21 /base64/incremental/break/2 1085s ok 22 /base64/incremental/break/3 1085s # End of break tests 1085s # Start of smallblock tests 1085s ok 23 /base64/incremental/smallblock/1 1085s ok 24 /base64/incremental/smallblock/2 1085s ok 25 /base64/incremental/smallblock/3 1085s ok 26 /base64/incremental/smallblock/4 1085s # End of smallblock tests 1085s # End of incremental tests 1085s # Start of decode tests 1085s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1085s ok 27 /base64/decode/empty 1085s # End of decode tests 1085s # Start of encode-decode tests 1085s # Vector 0: 1085s # Vector 1: f 1085s # Vector 2: fo 1085s # Vector 3: foo 1085s # Vector 4: foob 1085s # Vector 5: fooba 1085s # Vector 6: foobar 1085s ok 28 /base64/encode-decode/rfc4648 1085s # End of encode-decode tests 1085s # End of base64 tests 1085s ok - glib/base64.test 1085s # Running test: glib/objects-refcount1.test 1085s TAP version 14 1085s # random seed: R02Sb04941a5ad1baf90e81fd6dcd8e0c65e 1085s 1..1 1085s # Start of gobject tests 1085s # Start of refcount tests 1085s # init 0x2aa32c93740 1085s # 1085s # init 0x2aa32c938c0 1085s # 1087s # Executing: glib/objects-refcount1.test 1090s # dispose 0x2aa32c93740! 1090s # 1090s # dispose 0x2aa32c938c0! 1090s # 1090s ok 1 /gobject/refcount/object-basics 1090s # slow test /gobject/refcount/object-basics executed in 5.00 secs 1090s # End of refcount tests 1090s # End of gobject tests 1090s ok - glib/objects-refcount1.test 1090s # Running test: glib/unix.test 1090s TAP version 14 1090s # random seed: R02S89ef91efecacc22100bab898e1ed8196 1090s 1..20 1090s # Start of glib-unix tests 1090s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1090s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1090s ok 1 /glib-unix/closefrom 1090s ok 2 /glib-unix/pipe 1090s # /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 1090s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1090s ok 3 /glib-unix/pipe-stdio-overwrite 1090s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1090s ok 4 /glib-unix/pipe-struct 1090s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1090s ok 5 /glib-unix/pipe-struct-auto 1090s ok 6 /glib-unix/error 1090s ok 7 /glib-unix/nonblocking 1091s ok 8 /glib-unix/sighup 1091s # slow test /glib-unix/sighup executed in 0.50 secs 1091s ok 9 /glib-unix/sigterm 1091s # slow test /glib-unix/sigterm executed in 0.50 secs 1092s ok 10 /glib-unix/sighup_again 1092s # slow test /glib-unix/sighup_again executed in 0.50 secs 1092s ok 11 /glib-unix/sighup_add_remove 1092s ok 12 /glib-unix/sighup_nested 1092s # Executing: glib/unix.test 1094s ok 13 /glib-unix/callback_after_signal 1094s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1094s ok 14 /glib-unix/child-wait 1094s # Start of closefrom tests 1094s # Start of subprocess tests 1094s # End of subprocess tests 1094s # End of closefrom tests 1094s # Start of pipe tests 1094s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1094s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1094s ok 15 /glib-unix/pipe/fd-cloexec 1094s # End of pipe tests 1094s # Start of sighup tests 1095s ok 16 /glib-unix/sighup/alternate-stack 1095s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 1095s # End of sighup tests 1095s # Start of sigterm tests 1096s ok 17 /glib-unix/sigterm/alternate-stack 1096s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 1096s # End of sigterm tests 1096s # Start of sighup_again tests 1097s ok 18 /glib-unix/sighup_again/alternate-stack 1097s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 1097s # End of sighup_again tests 1097s # Start of get-passwd-entry tests 1097s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1097s ok 19 /glib-unix/get-passwd-entry/root 1097s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1097s ok 20 /glib-unix/get-passwd-entry/nonexistent 1097s # End of get-passwd-entry tests 1097s # End of glib-unix tests 1097s ok - glib/unix.test 1097s # Running test: glib/gsubprocess.test 1097s TAP version 14 1097s # random seed: R02S3546b319f930eb0f8398d4529497205a 1097s 1..83 1097s # Start of gsubprocess tests 1097s ok 1 /gsubprocess/noop 1097s ok 2 /gsubprocess/noop-all-to-null 1097s ok 3 /gsubprocess/noop-no-wait 1097s ok 4 /gsubprocess/noop-stdin-inherit 1097s ok 5 /gsubprocess/search-path 1097s ok 6 /gsubprocess/search-path-from-envp 1097s # Executing: glib/gsubprocess.test 1100s ok 7 /gsubprocess/signal 1100s # slow test /gsubprocess/signal executed in 3.71 secs 1100s ok 8 /gsubprocess/exit1 1100s ok 9 /gsubprocess/echo1 1100s ok 10 /gsubprocess/echo-merged 1100s ok 11 /gsubprocess/cat-utf8 1101s ok 12 /gsubprocess/cat-eof 1101s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1102s # Executing: glib/gsubprocess.test 1104s ok 13 /gsubprocess/multi1 1104s # slow test /gsubprocess/multi1 executed in 3.01 secs 1104s ok 14 /gsubprocess/communicate 1107s ok 15 /gsubprocess/terminate 1107s # Executing: glib/gsubprocess.test 1107s # slow test /gsubprocess/terminate executed in 2.98 secs 1107s ok 16 /gsubprocess/env 1107s ok 17 /gsubprocess/cwd 1107s ok 18 /gsubprocess/launcher-close 1107s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1107s ok 19 /gsubprocess/stdout-file 1107s ok 20 /gsubprocess/stdout-fd 1107s ok 21 /gsubprocess/child-setup 1107s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1108s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1108s ok 22 /gsubprocess/launcher-environment 1108s # Start of exit1 tests 1108s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1108s ok 23 /gsubprocess/exit1/cancel 1108s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1108s ok 24 /gsubprocess/exit1/cancel_in_cb 1108s # End of exit1 tests 1108s # Start of communicate tests 1108s ok 25 /gsubprocess/communicate/cancelled 1108s ok 26 /gsubprocess/communicate/async 1108s ok 27 /gsubprocess/communicate/utf8 1108s # hello world 1108s ok 28 /gsubprocess/communicate/no-pipes 1108s ok 29 /gsubprocess/communicate/separate-stderr 1108s ok 30 /gsubprocess/communicate/stdout-only 1108s # hello world 1108s ok 31 /gsubprocess/communicate/stderr-only 1108s ok 32 /gsubprocess/communicate/stdout-silence 1108s ok 33 /gsubprocess/communicate/nothing 1108s # Start of async tests 1108s ok 34 /gsubprocess/communicate/async/cancelled 1108s # hello world 1108s ok 35 /gsubprocess/communicate/async/no-pipes 1108s ok 36 /gsubprocess/communicate/async/separate-stderr 1108s ok 37 /gsubprocess/communicate/async/stdout-only 1108s # hello world 1108s ok 38 /gsubprocess/communicate/async/stderr-only 1108s ok 39 /gsubprocess/communicate/async/stdout-silence 1108s # Start of cancelled tests 1108s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1108s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1108s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1108s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1108s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1108s # End of cancelled tests 1108s # End of async tests 1108s # Start of utf8 tests 1108s ok 45 /gsubprocess/communicate/utf8/cancelled 1108s ok 46 /gsubprocess/communicate/utf8/async 1108s # hello world 1108s ok 47 /gsubprocess/communicate/utf8/no-pipes 1108s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1108s ok 49 /gsubprocess/communicate/utf8/stdout-only 1108s # hello world 1108s ok 50 /gsubprocess/communicate/utf8/stderr-only 1108s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1108s ok 52 /gsubprocess/communicate/utf8/invalid 1108s # Start of async tests 1108s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1108s # hello world 1108s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1108s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1108s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1108s # hello world 1108s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1108s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1108s ok 59 /gsubprocess/communicate/utf8/async/invalid 1108s # Start of cancelled tests 1108s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1108s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1108s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1108s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1108s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1108s # End of cancelled tests 1108s # End of async tests 1108s # Start of cancelled tests 1108s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1108s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1108s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1108s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1108s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1108s # End of cancelled tests 1108s # End of utf8 tests 1108s # Start of cancelled tests 1108s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1108s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1108s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1108s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1108s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1108s # End of cancelled tests 1108s # End of communicate tests 1108s # Start of env tests 1108s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1108s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1108s ok 75 /gsubprocess/env/inherit 1108s # End of env tests 1108s # Start of pass-fd tests 1108s ok 76 /gsubprocess/pass-fd/basic 1108s ok 77 /gsubprocess/pass-fd/empty-child-setup 1108s ok 78 /gsubprocess/pass-fd/inherit-fds 1108s # End of pass-fd tests 1108s # Start of fd-conflation tests 1108s ok 79 /gsubprocess/fd-conflation/basic 1108s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1108s ok 81 /gsubprocess/fd-conflation/inherit-fds 1108s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1108s # End of fd-conflation tests 1108s # Start of exit-status tests 1108s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1108s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1108s ok 83 /gsubprocess/exit-status/trapped 1108s # End of exit-status tests 1108s # End of gsubprocess tests 1108s ok - glib/gsubprocess.test 1108s # Running test: glib/mainloop.test 1108s TAP version 14 1108s # random seed: R02S874d110900730b0d54492c14f6fa3b98 1108s 1..45 1108s # Start of maincontext tests 1108s ok 1 /maincontext/basic 1108s # Add same-priority sources: 12 1108s # Find each source: 0 1108s # Remove in random order: 8 1108s ok 2 /maincontext/nsources_same_priority 1108s # Add different-priority sources: 12 1108s # Find each source: 0 1108s # Remove in random order: 12 1108s ok 3 /maincontext/nsources_different_priority 1108s # Add sources from threads: 17 1108s # Remove sources from threads: 10 1108s ok 4 /maincontext/nsources_threadpool 1108s ok 5 /maincontext/source_finalization 1108s # /maincontext/idle-once summary: Test g_idle_add_once() works 1108s ok 6 /maincontext/idle-once 1108s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1108s ok 7 /maincontext/timeout-once 1108s # Start of source_finalization_from_source tests 1108s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1108s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1108s ok 8 /maincontext/source_finalization_from_source/0 1108s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1108s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1108s ok 9 /maincontext/source_finalization_from_source/1 1108s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1108s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1108s ok 10 /maincontext/source_finalization_from_source/2 1108s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1108s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1108s ok 11 /maincontext/source_finalization_from_source/3 1108s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1108s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1108s ok 12 /maincontext/source_finalization_from_source/4 1108s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1108s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1108s ok 13 /maincontext/source_finalization_from_source/5 1108s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1108s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1108s ok 14 /maincontext/source_finalization_from_source/6 1108s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1108s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1108s ok 15 /maincontext/source_finalization_from_source/7 1108s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1108s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1108s ok 16 /maincontext/source_finalization_from_source/8 1108s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1108s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1108s ok 17 /maincontext/source_finalization_from_source/9 1108s # End of source_finalization_from_source tests 1108s # Start of source_finalization_from_dispatch tests 1108s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1108s ok 18 /maincontext/source_finalization_from_dispatch/0 1108s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1108s ok 19 /maincontext/source_finalization_from_dispatch/1 1108s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1108s ok 20 /maincontext/source_finalization_from_dispatch/2 1108s # End of source_finalization_from_dispatch tests 1108s # End of maincontext tests 1108s # Start of mainloop tests 1108s ok 21 /mainloop/basic 1108s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1108s ok 23 /mainloop/priorities 1108s ok 24 /mainloop/invoke 1108s # slow test /mainloop/invoke executed in 0.50 secs 1109s ok 25 /mainloop/child_sources 1109s # slow test /mainloop/child_sources executed in 1.19 secs 1112s ok 26 /mainloop/recursive_child_sources 1112s # slow test /mainloop/recursive_child_sources executed in 2.18 secs 1112s ok 27 /mainloop/recursive_loop_child_sources 1112s ok 28 /mainloop/swapping_child_sources 1112s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1112s ok 29 /mainloop/blocked_child_sources 1112s # Executing: glib/mainloop.test 1113s ok 30 /mainloop/source_time 1113s # slow test /mainloop/source_time executed in 1.00 secs 1113s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1113s ok 31 /mainloop/overflow 1113s ok 32 /mainloop/ready-time 1113s # slow test /mainloop/ready-time executed in 0.50 secs 1113s ok 33 /mainloop/wakeup 1113s ok 34 /mainloop/remove-invalid 1113s ok 35 /mainloop/unref-while-pending 1114s ok 36 /mainloop/unix-fd 1114s ok 37 /mainloop/unix-fd-source 1114s ok 38 /mainloop/source-unix-fd-api 1114s ok 39 /mainloop/wait 1114s ok 40 /mainloop/unix-file-poll 1114s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1114s ok 41 /mainloop/unix-fd-priority 1114s ok 42 /mainloop/nfds 1114s ok 43 /mainloop/steal-fd 1114s # Start of ownerless-polling tests 1114s ok 44 /mainloop/ownerless-polling/attach-first 1114s ok 45 /mainloop/ownerless-polling/pop-first 1114s # End of ownerless-polling tests 1114s # End of mainloop tests 1114s ok - glib/mainloop.test 1114s # Running test: glib/gdbus-peer-object-manager.test 1114s TAP version 14 1114s # random seed: R02S618ec53d33b34c21ce63bd685f120251 1114s 1..2 1114s # Start of gdbus tests 1114s # Start of peer-object-manager tests 1114s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_JHTD22/gdbus/peer-object-manager/normal/.dirs/home 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_JHTD22/gdbus/peer-object-manager/normal/.dirs/cache 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_JHTD22/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_JHTD22/gdbus/peer-object-manager/normal/.dirs/system-config2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_JHTD22/gdbus/peer-object-manager/normal/.dirs/config 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_JHTD22/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_JHTD22/gdbus/peer-object-manager/normal/.dirs/system-data2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_JHTD22/gdbus/peer-object-manager/normal/.dirs/data 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_JHTD22/gdbus/peer-object-manager/normal/.dirs/state 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_JHTD22/gdbus/peer-object-manager/normal/.dirs/runtime 1114s ok 1 /gdbus/peer-object-manager/normal 1114s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_JHTD22/gdbus/peer-object-manager/root/.dirs/home 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_JHTD22/gdbus/peer-object-manager/root/.dirs/cache 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_JHTD22/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_JHTD22/gdbus/peer-object-manager/root/.dirs/system-config2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_JHTD22/gdbus/peer-object-manager/root/.dirs/config 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_JHTD22/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_JHTD22/gdbus/peer-object-manager/root/.dirs/system-data2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_JHTD22/gdbus/peer-object-manager/root/.dirs/data 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_JHTD22/gdbus/peer-object-manager/root/.dirs/state 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_JHTD22/gdbus/peer-object-manager/root/.dirs/runtime 1114s ok 2 /gdbus/peer-object-manager/root 1114s # End of peer-object-manager tests 1114s # End of gdbus tests 1114s ok - glib/gdbus-peer-object-manager.test 1114s # Running test: glib/cxx-2b.test 1114s TAP version 14 1114s # random seed: R02S161faac0d8654f579ec78763928bb240 1114s 1..2 1114s # Start of gtask tests 1114s # 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. 1114s ok 1 /gtask/name 1114s # Start of name tests 1114s # 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. 1114s ok 2 /gtask/name/macro-wrapper 1114s # End of name tests 1114s # End of gtask tests 1114s ok - glib/cxx-2b.test 1114s # Running test: glib/repository-search-paths.test 1114s TAP version 14 1114s # random seed: R02S23efd5a927abdbb095c9bb5156c670f0 1114s 1..4 1114s # Start of repository tests 1114s # Start of search-paths tests 1114s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_KP2E22/repository/search-paths/default/.dirs/home 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_KP2E22/repository/search-paths/default/.dirs/cache 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_KP2E22/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_KP2E22/repository/search-paths/default/.dirs/system-config2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_KP2E22/repository/search-paths/default/.dirs/config 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_KP2E22/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_KP2E22/repository/search-paths/default/.dirs/system-data2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_KP2E22/repository/search-paths/default/.dirs/data 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_KP2E22/repository/search-paths/default/.dirs/state 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_KP2E22/repository/search-paths/default/.dirs/runtime 1114s ok 1 /repository/search-paths/default 1114s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_KP2E22/repository/search-paths/prepend/.dirs/home 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_KP2E22/repository/search-paths/prepend/.dirs/cache 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_KP2E22/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_KP2E22/repository/search-paths/prepend/.dirs/system-config2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_KP2E22/repository/search-paths/prepend/.dirs/config 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_KP2E22/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_KP2E22/repository/search-paths/prepend/.dirs/system-data2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_KP2E22/repository/search-paths/prepend/.dirs/data 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_KP2E22/repository/search-paths/prepend/.dirs/state 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_KP2E22/repository/search-paths/prepend/.dirs/runtime 1114s ok 2 /repository/search-paths/prepend 1114s # End of search-paths tests 1114s # Start of library-paths tests 1114s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_KP2E22/repository/library-paths/default/.dirs/home 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_KP2E22/repository/library-paths/default/.dirs/cache 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_KP2E22/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_KP2E22/repository/library-paths/default/.dirs/system-config2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_KP2E22/repository/library-paths/default/.dirs/config 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_KP2E22/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_KP2E22/repository/library-paths/default/.dirs/system-data2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_KP2E22/repository/library-paths/default/.dirs/data 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_KP2E22/repository/library-paths/default/.dirs/state 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_KP2E22/repository/library-paths/default/.dirs/runtime 1114s ok 3 /repository/library-paths/default 1114s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_KP2E22/repository/library-paths/prepend/.dirs/home 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_KP2E22/repository/library-paths/prepend/.dirs/cache 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_KP2E22/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_KP2E22/repository/library-paths/prepend/.dirs/system-config2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_KP2E22/repository/library-paths/prepend/.dirs/config 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_KP2E22/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_KP2E22/repository/library-paths/prepend/.dirs/system-data2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_KP2E22/repository/library-paths/prepend/.dirs/data 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_KP2E22/repository/library-paths/prepend/.dirs/state 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_KP2E22/repository/library-paths/prepend/.dirs/runtime 1114s ok 4 /repository/library-paths/prepend 1114s # End of library-paths tests 1114s # End of repository tests 1114s ok - glib/repository-search-paths.test 1114s # Running test: glib/object.test 1114s TAP version 14 1114s # random seed: R02S9ccdb9194b30619fece594a51ea07f3d 1114s 1..2 1114s # Start of object tests 1114s # Start of constructor tests 1114s ok 1 /object/constructor/singleton 1114s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1114s # End of constructor tests 1114s # End of object tests 1114s ok - glib/object.test 1114s # Running test: glib/references.test 1114s TAP version 14 1114s # random seed: R02Sdeef2837f674c03370c2fe4b1bfd0c7a 1114s 1..1 1114s # Start of gobject tests 1114s ok 1 /gobject/references 1114s # End of gobject tests 1114s ok - glib/references.test 1114s # Running test: glib/appmonitor.test 1114s TAP version 14 1114s # random seed: R02Sa980f1e7d1b5118a787caa103eaf535a 1114s 1..1 1114s # Start of monitor tests 1114s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_Q9WE22/monitor/app/.dirs/home 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_Q9WE22/monitor/app/.dirs/cache 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_Q9WE22/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_Q9WE22/monitor/app/.dirs/system-config2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_Q9WE22/monitor/app/.dirs/config 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_Q9WE22/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_Q9WE22/monitor/app/.dirs/system-data2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_Q9WE22/monitor/app/.dirs/data 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_Q9WE22/monitor/app/.dirs/state 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_Q9WE22/monitor/app/.dirs/runtime 1114s # Using data directory: /tmp/test_appmonitor_Q9WE22/monitor/app/.dirs/data 1114s ok 1 /monitor/app 1114s # End of monitor tests 1114s ok - glib/appmonitor.test 1114s # Running test: glib/properties-refcount3.test 1114s TAP version 14 1114s # random seed: R02S246d3c8e4164bbaf4cf170a71278de4e 1114s 1..1 1114s # Start of gobject tests 1114s # Start of refcount tests 1117s # Executing: glib/properties-refcount3.test 1122s # Executing: glib/properties-refcount3.test 1128s # Executing: glib/properties-refcount3.test 1132s # Executing: glib/properties-refcount3.test 1137s # Executing: glib/properties-refcount3.test 1142s # Executing: glib/properties-refcount3.test 1144s # 1144s # stopping 1144s # 1144s # stopped 1144s # 1144s # 53618864 3810608 1144s # 1144s ok 1 /gobject/refcount/properties-3 1144s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1144s # End of refcount tests 1144s # End of gobject tests 1144s ok - glib/properties-refcount3.test 1144s # Running test: glib/socket.test 1144s TAP version 14 1144s # random seed: R02S818ef9545bbef5b770712d069e7c79b9 1144s 1..28 1144s # Start of socket tests 1145s ok 1 /socket/ipv4_sync 1145s # slow test /socket/ipv4_sync executed in 1.00 secs 1146s ok 2 /socket/ipv4_async 1146s # slow test /socket/ipv4_async executed in 1.00 secs 1146s ok 3 /socket/ipv6_sync 1146s ok 4 /socket/ipv6_async 1146s ok 5 /socket/ipv6_v4mapped 1147s ok 6 /socket/close_graceful 1147s # slow test /socket/close_graceful executed in 1.00 secs 1147s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1147s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1147s ok 8 /socket/fd_reuse 1147s ok 9 /socket/address 1147s ok 10 /socket/unix-from-fd 1147s ok 11 /socket/unix-connection 1147s ok 12 /socket/unix-connection-ancillary-data 1147s ok 13 /socket/source-postmortem 1147s ok 14 /socket/read_write 1147s ok 15 /socket/read_writev 1147s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1147s ok 16 /socket/receive_bytes 1147s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1147s ok 17 /socket/receive_bytes_from 1147s # Start of ipv4_sync tests 1147s ok 18 /socket/ipv4_sync/datagram 1147s # Start of datagram tests 1147s # Executing: glib/socket.test 1148s ok 19 /socket/ipv4_sync/datagram/timeouts 1148s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1148s # End of datagram tests 1148s # End of ipv4_sync tests 1148s # Start of ipv6_sync tests 1148s ok 20 /socket/ipv6_sync/datagram 1148s # Start of datagram tests 1149s ok 21 /socket/ipv6_sync/datagram/timeouts 1149s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1149s # End of datagram tests 1149s # End of ipv6_sync tests 1149s # Start of reuse tests 1149s ok 22 /socket/reuse/tcp 1149s ok 23 /socket/reuse/udp 1149s # End of reuse tests 1149s # Start of get_available tests 1149s ok 24 /socket/get_available/datagram 1149s ok 25 /socket/get_available/stream 1149s # End of get_available tests 1149s # Start of credentials tests 1149s # Supported on this OS: GCredentials:linux-ucred:pid=0 1149s ok 26 /socket/credentials/tcp_client 1149s # Supported on this OS: GCredentials:linux-ucred:pid=0 1149s ok 27 /socket/credentials/tcp_server 1149s # Supported on this OS: GCredentials:linux-ucred:pid=9923,uid=1000,gid=1000 1149s ok 28 /socket/credentials/unix_socketpair 1149s # End of credentials tests 1149s # End of socket tests 1149s ok - glib/socket.test 1149s # Running test: glib/callable-info.test 1149s TAP version 14 1149s # random seed: R02S4b1e8019b6ee08cf1d35ee58e3b85b93 1149s 1..2 1149s # Start of callable-info tests 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_ZV1L22/callable-info/sync-function/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_ZV1L22/callable-info/sync-function/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_ZV1L22/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_ZV1L22/callable-info/sync-function/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_ZV1L22/callable-info/sync-function/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_ZV1L22/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_ZV1L22/callable-info/sync-function/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_ZV1L22/callable-info/sync-function/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_ZV1L22/callable-info/sync-function/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_ZV1L22/callable-info/sync-function/.dirs/runtime 1149s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1149s ok 1 /callable-info/sync-function 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_ZV1L22/callable-info/async-function/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_ZV1L22/callable-info/async-function/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_ZV1L22/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_ZV1L22/callable-info/async-function/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_ZV1L22/callable-info/async-function/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_ZV1L22/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_ZV1L22/callable-info/async-function/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_ZV1L22/callable-info/async-function/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_ZV1L22/callable-info/async-function/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_ZV1L22/callable-info/async-function/.dirs/runtime 1149s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1149s ok 2 /callable-info/async-function 1149s # End of callable-info tests 1149s ok - glib/callable-info.test 1149s # Running test: glib/regex.test 1149s TAP version 14 1149s # random seed: R02S2d2420abbd3712b6791c5f13c34d1f60 1149s 1..848 1149s # Start of regex tests 1149s ok 1 /regex/properties 1149s ok 2 /regex/class 1149s ok 3 /regex/lookahead 1149s ok 4 /regex/lookbehind 1149s ok 5 /regex/subpattern 1149s ok 6 /regex/condition 1149s ok 7 /regex/recursion 1149s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1149s ok 8 /regex/multiline 1149s ok 9 /regex/explicit-crlf 1149s ok 10 /regex/max-lookbehind 1149s ok 11 /regex/compile-errors 1149s ok 12 /regex/jit-unsupported-matching 1149s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1149s ok 13 /regex/unmatched-named-subpattern 1149s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1149s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1149s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1149s ok 14 /regex/compiled-regex-after-jit-failure 1149s # Start of new tests 1149s ok 15 /regex/new/1 1149s ok 16 /regex/new/2 1149s ok 17 /regex/new/3 1149s ok 18 /regex/new/4 1149s ok 19 /regex/new/5 1149s ok 20 /regex/new/6 1149s ok 21 /regex/new/7 1149s ok 22 /regex/new/8 1149s ok 23 /regex/new/9 1149s ok 24 /regex/new/10 1149s ok 25 /regex/new/11 1149s ok 26 /regex/new/12 1149s ok 27 /regex/new/13 1149s ok 28 /regex/new/14 1149s ok 29 /regex/new/15 1149s ok 30 /regex/new/16 1149s ok 31 /regex/new/17 1149s ok 32 /regex/new/18 1149s ok 33 /regex/new/19 1149s ok 34 /regex/new/71 1149s ok 35 /regex/new/80 1149s ok 36 /regex/new/82 1149s # End of new tests 1149s # Start of new-check-flags tests 1149s ok 37 /regex/new-check-flags/20 1149s ok 38 /regex/new-check-flags/21 1149s ok 39 /regex/new-check-flags/22 1149s ok 40 /regex/new-check-flags/23 1149s ok 41 /regex/new-check-flags/24 1149s ok 42 /regex/new-check-flags/25 1149s ok 43 /regex/new-check-flags/26 1149s ok 44 /regex/new-check-flags/27 1149s ok 45 /regex/new-check-flags/28 1149s ok 46 /regex/new-check-flags/29 1149s ok 47 /regex/new-check-flags/30 1149s ok 48 /regex/new-check-flags/31 1149s ok 49 /regex/new-check-flags/32 1149s ok 50 /regex/new-check-flags/33 1149s ok 51 /regex/new-check-flags/34 1149s ok 52 /regex/new-check-flags/35 1149s ok 53 /regex/new-check-flags/36 1149s # End of new-check-flags tests 1149s # Start of new-fail tests 1149s ok 54 /regex/new-fail/37 1149s ok 55 /regex/new-fail/38 1149s ok 56 /regex/new-fail/39 1149s ok 57 /regex/new-fail/40 1149s ok 58 /regex/new-fail/41 1149s ok 59 /regex/new-fail/42 1149s ok 60 /regex/new-fail/43 1149s ok 61 /regex/new-fail/44 1149s ok 62 /regex/new-fail/45 1149s ok 63 /regex/new-fail/46 1149s ok 64 /regex/new-fail/47 1149s ok 65 /regex/new-fail/48 1149s ok 66 /regex/new-fail/49 1149s ok 67 /regex/new-fail/50 1149s ok 68 /regex/new-fail/51 1149s ok 69 /regex/new-fail/52 1149s ok 70 /regex/new-fail/53 1149s ok 71 /regex/new-fail/54 1149s ok 72 /regex/new-fail/55 1149s ok 73 /regex/new-fail/56 1149s ok 74 /regex/new-fail/57 1149s ok 75 /regex/new-fail/58 1149s ok 76 /regex/new-fail/59 1149s ok 77 /regex/new-fail/60 1149s ok 78 /regex/new-fail/61 1149s ok 79 /regex/new-fail/62 1149s ok 80 /regex/new-fail/63 1149s ok 81 /regex/new-fail/64 1149s ok 82 /regex/new-fail/65 1149s ok 83 /regex/new-fail/66 1149s ok 84 /regex/new-fail/67 1149s ok 85 /regex/new-fail/68 1149s ok 86 /regex/new-fail/69 1149s ok 87 /regex/new-fail/70 1149s ok 88 /regex/new-fail/72 1149s ok 89 /regex/new-fail/73 1149s ok 90 /regex/new-fail/74 1149s ok 91 /regex/new-fail/75 1149s ok 92 /regex/new-fail/76 1149s ok 93 /regex/new-fail/77 1149s ok 94 /regex/new-fail/78 1149s ok 95 /regex/new-fail/79 1149s ok 96 /regex/new-fail/81 1149s ok 97 /regex/new-fail/83 1149s ok 98 /regex/new-fail/84 1149s ok 99 /regex/new-fail/85 1149s ok 100 /regex/new-fail/86 1149s ok 101 /regex/new-fail/87 1149s ok 102 /regex/new-fail/88 1149s ok 103 /regex/new-fail/89 1149s ok 104 /regex/new-fail/90 1149s ok 105 /regex/new-fail/91 1149s # End of new-fail tests 1149s # Start of match-simple tests 1149s ok 106 /regex/match-simple/92 1149s ok 107 /regex/match-simple/93 1149s ok 108 /regex/match-simple/94 1149s ok 109 /regex/match-simple/95 1149s ok 110 /regex/match-simple/96 1149s ok 111 /regex/match-simple/97 1149s ok 112 /regex/match-simple/98 1149s ok 113 /regex/match-simple/99 1149s ok 114 /regex/match-simple/100 1149s ok 115 /regex/match-simple/101 1149s ok 116 /regex/match-simple/102 1149s ok 117 /regex/match-simple/103 1149s ok 118 /regex/match-simple/104 1149s ok 119 /regex/match-simple/105 1149s ok 120 /regex/match-simple/106 1149s ok 121 /regex/match-simple/107 1149s ok 122 /regex/match-simple/108 1149s ok 123 /regex/match-simple/109 1149s ok 124 /regex/match-simple/110 1149s ok 125 /regex/match-simple/111 1149s ok 126 /regex/match-simple/112 1149s ok 127 /regex/match-simple/113 1149s ok 128 /regex/match-simple/114 1149s ok 129 /regex/match-simple/115 1149s ok 130 /regex/match-simple/116 1149s ok 131 /regex/match-simple/117 1149s ok 132 /regex/match-simple/118 1149s ok 133 /regex/match-simple/119 1149s ok 134 /regex/match-simple/120 1149s ok 135 /regex/match-simple/121 1149s ok 136 /regex/match-simple/122 1149s ok 137 /regex/match-simple/123 1149s ok 138 /regex/match-simple/124 1149s ok 139 /regex/match-simple/125 1149s ok 140 /regex/match-simple/126 1149s ok 141 /regex/match-simple/127 1149s ok 142 /regex/match-simple/128 1149s ok 143 /regex/match-simple/129 1149s ok 144 /regex/match-simple/130 1149s ok 145 /regex/match-simple/131 1149s ok 146 /regex/match-simple/132 1149s ok 147 /regex/match-simple/133 1149s ok 148 /regex/match-simple/134 1149s ok 149 /regex/match-simple/135 1149s ok 150 /regex/match-simple/136 1149s ok 151 /regex/match-simple/137 1149s ok 152 /regex/match-simple/138 1149s ok 153 /regex/match-simple/139 1149s ok 154 /regex/match-simple/140 1149s ok 155 /regex/match-simple/141 1149s ok 156 /regex/match-simple/142 1149s ok 157 /regex/match-simple/143 1149s ok 158 /regex/match-simple/144 1149s ok 159 /regex/match-simple/145 1149s ok 160 /regex/match-simple/146 1149s ok 161 /regex/match-simple/147 1149s ok 162 /regex/match-simple/148 1149s ok 163 /regex/match-simple/149 1149s ok 164 /regex/match-simple/150 1149s ok 165 /regex/match-simple/151 1149s ok 166 /regex/match-simple/152 1149s ok 167 /regex/match-simple/153 1149s ok 168 /regex/match-simple/154 1149s ok 169 /regex/match-simple/155 1149s ok 170 /regex/match-simple/156 1149s ok 171 /regex/match-simple/157 1149s ok 172 /regex/match-simple/158 1149s ok 173 /regex/match-simple/159 1149s ok 174 /regex/match-simple/160 1149s ok 175 /regex/match-simple/161 1149s ok 176 /regex/match-simple/162 1149s ok 177 /regex/match-simple/163 1149s ok 178 /regex/match-simple/164 1149s # End of match-simple tests 1149s # Start of match-simple-optimized tests 1149s ok 179 /regex/match-simple-optimized/92 1149s ok 180 /regex/match-simple-optimized/93 1149s ok 181 /regex/match-simple-optimized/94 1149s ok 182 /regex/match-simple-optimized/95 1149s ok 183 /regex/match-simple-optimized/96 1149s ok 184 /regex/match-simple-optimized/97 1149s ok 185 /regex/match-simple-optimized/98 1149s ok 186 /regex/match-simple-optimized/99 1149s ok 187 /regex/match-simple-optimized/100 1149s ok 188 /regex/match-simple-optimized/101 1149s ok 189 /regex/match-simple-optimized/102 1149s ok 190 /regex/match-simple-optimized/103 1149s ok 191 /regex/match-simple-optimized/104 1149s ok 192 /regex/match-simple-optimized/105 1149s ok 193 /regex/match-simple-optimized/106 1149s ok 194 /regex/match-simple-optimized/107 1149s ok 195 /regex/match-simple-optimized/108 1149s ok 196 /regex/match-simple-optimized/109 1149s ok 197 /regex/match-simple-optimized/110 1149s ok 198 /regex/match-simple-optimized/111 1149s ok 199 /regex/match-simple-optimized/112 1149s ok 200 /regex/match-simple-optimized/113 1149s ok 201 /regex/match-simple-optimized/114 1149s ok 202 /regex/match-simple-optimized/115 1149s ok 203 /regex/match-simple-optimized/116 1149s ok 204 /regex/match-simple-optimized/117 1149s ok 205 /regex/match-simple-optimized/118 1149s ok 206 /regex/match-simple-optimized/119 1149s ok 207 /regex/match-simple-optimized/120 1149s ok 208 /regex/match-simple-optimized/121 1149s ok 209 /regex/match-simple-optimized/122 1149s ok 210 /regex/match-simple-optimized/123 1149s ok 211 /regex/match-simple-optimized/124 1149s ok 212 /regex/match-simple-optimized/125 1149s ok 213 /regex/match-simple-optimized/126 1149s ok 214 /regex/match-simple-optimized/127 1149s ok 215 /regex/match-simple-optimized/128 1149s ok 216 /regex/match-simple-optimized/129 1149s ok 217 /regex/match-simple-optimized/130 1149s ok 218 /regex/match-simple-optimized/131 1149s ok 219 /regex/match-simple-optimized/132 1149s ok 220 /regex/match-simple-optimized/133 1149s ok 221 /regex/match-simple-optimized/134 1149s ok 222 /regex/match-simple-optimized/135 1149s ok 223 /regex/match-simple-optimized/136 1149s ok 224 /regex/match-simple-optimized/137 1149s ok 225 /regex/match-simple-optimized/138 1149s ok 226 /regex/match-simple-optimized/139 1149s ok 227 /regex/match-simple-optimized/140 1149s ok 228 /regex/match-simple-optimized/141 1149s ok 229 /regex/match-simple-optimized/142 1149s ok 230 /regex/match-simple-optimized/143 1149s ok 231 /regex/match-simple-optimized/144 1149s ok 232 /regex/match-simple-optimized/145 1149s ok 233 /regex/match-simple-optimized/146 1149s ok 234 /regex/match-simple-optimized/147 1149s ok 235 /regex/match-simple-optimized/148 1149s ok 236 /regex/match-simple-optimized/149 1149s ok 237 /regex/match-simple-optimized/150 1149s ok 238 /regex/match-simple-optimized/151 1149s ok 239 /regex/match-simple-optimized/152 1149s ok 240 /regex/match-simple-optimized/153 1149s ok 241 /regex/match-simple-optimized/154 1149s ok 242 /regex/match-simple-optimized/155 1149s ok 243 /regex/match-simple-optimized/156 1149s ok 244 /regex/match-simple-optimized/157 1149s ok 245 /regex/match-simple-optimized/158 1149s ok 246 /regex/match-simple-optimized/159 1149s ok 247 /regex/match-simple-optimized/160 1149s ok 248 /regex/match-simple-optimized/161 1149s ok 249 /regex/match-simple-optimized/162 1149s ok 250 /regex/match-simple-optimized/163 1149s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1149s ok 251 /regex/match-simple-optimized/164 1149s # End of match-simple-optimized tests 1149s # Start of match tests 1149s ok 252 /regex/match/165 1149s ok 253 /regex/match/166 1149s ok 254 /regex/match/167 1149s ok 255 /regex/match/168 1149s ok 256 /regex/match/169 1149s ok 257 /regex/match/170 1149s ok 258 /regex/match/171 1149s ok 259 /regex/match/172 1149s ok 260 /regex/match/173 1149s ok 261 /regex/match/174 1149s ok 262 /regex/match/175 1149s ok 263 /regex/match/176 1149s ok 264 /regex/match/177 1149s ok 265 /regex/match/178 1149s ok 266 /regex/match/179 1149s ok 267 /regex/match/180 1149s ok 268 /regex/match/181 1149s ok 269 /regex/match/182 1149s ok 270 /regex/match/183 1149s ok 271 /regex/match/184 1149s ok 272 /regex/match/185 1149s ok 273 /regex/match/186 1149s ok 274 /regex/match/187 1149s ok 275 /regex/match/188 1149s ok 276 /regex/match/189 1149s ok 277 /regex/match/190 1149s ok 278 /regex/match/191 1149s ok 279 /regex/match/192 1149s ok 280 /regex/match/193 1149s ok 281 /regex/match/194 1149s ok 282 /regex/match/195 1149s ok 283 /regex/match/196 1149s ok 284 /regex/match/197 1149s ok 285 /regex/match/198 1149s ok 286 /regex/match/199 1149s ok 287 /regex/match/200 1149s ok 288 /regex/match/201 1149s ok 289 /regex/match/202 1149s ok 290 /regex/match/203 1149s ok 291 /regex/match/204 1149s ok 292 /regex/match/205 1149s ok 293 /regex/match/206 1149s ok 294 /regex/match/207 1149s ok 295 /regex/match/208 1149s ok 296 /regex/match/209 1149s ok 297 /regex/match/210 1149s ok 298 /regex/match/211 1149s ok 299 /regex/match/212 1149s ok 300 /regex/match/213 1149s ok 301 /regex/match/214 1149s ok 302 /regex/match/215 1149s ok 303 /regex/match/216 1149s ok 304 /regex/match/217 1149s ok 305 /regex/match/218 1149s ok 306 /regex/match/219 1149s ok 307 /regex/match/220 1149s ok 308 /regex/match/221 1149s ok 309 /regex/match/222 1149s ok 310 /regex/match/223 1149s ok 311 /regex/match/224 1149s ok 312 /regex/match/225 1149s ok 313 /regex/match/226 1149s ok 314 /regex/match/227 1149s ok 315 /regex/match/228 1149s ok 316 /regex/match/229 1149s ok 317 /regex/match/230 1149s ok 318 /regex/match/231 1149s ok 319 /regex/match/232 1149s ok 320 /regex/match/233 1149s ok 321 /regex/match/234 1149s ok 322 /regex/match/235 1149s ok 323 /regex/match/236 1149s ok 324 /regex/match/237 1149s ok 325 /regex/match/238 1149s ok 326 /regex/match/239 1149s ok 327 /regex/match/240 1149s ok 328 /regex/match/241 1149s ok 329 /regex/match/242 1149s ok 330 /regex/match/243 1149s ok 331 /regex/match/244 1149s ok 332 /regex/match/245 1149s ok 333 /regex/match/246 1149s ok 334 /regex/match/partial281 1149s ok 335 /regex/match/partial282 1149s ok 336 /regex/match/partial283 1149s ok 337 /regex/match/partial284 1149s ok 338 /regex/match/partial285 1149s ok 339 /regex/match/partial286 1149s ok 340 /regex/match/partial287 1149s ok 341 /regex/match/partial288 1149s ok 342 /regex/match/partial289 1149s ok 343 /regex/match/partial290 1149s ok 344 /regex/match/partial291 1149s ok 345 /regex/match/partial292 1149s ok 346 /regex/match/partial293 1149s ok 347 /regex/match/partial294 1149s ok 348 /regex/match/partial295 1149s ok 349 /regex/match/partial296 1149s ok 350 /regex/match/partial297 1149s ok 351 /regex/match/partial298 1149s ok 352 /regex/match/partial299 1149s ok 353 /regex/match/partial300 1149s ok 354 /regex/match/partial301 1149s ok 355 /regex/match/partial302 1149s # Start of next0 tests 1149s ok 356 /regex/match/next0/247 1149s ok 357 /regex/match/next0/248 1149s ok 358 /regex/match/next0/249 1149s ok 359 /regex/match/next0/250 1149s # End of next0 tests 1149s # Start of next1 tests 1149s ok 360 /regex/match/next1/251 1149s ok 361 /regex/match/next1/252 1149s ok 362 /regex/match/next1/253 1149s ok 363 /regex/match/next1/254 1149s ok 364 /regex/match/next1/255 1149s # End of next1 tests 1149s # Start of next2 tests 1149s ok 365 /regex/match/next2/256 1149s ok 366 /regex/match/next2/257 1149s ok 367 /regex/match/next2/258 1149s ok 368 /regex/match/next2/259 1149s ok 369 /regex/match/next2/260 1149s ok 370 /regex/match/next2/261 1149s ok 371 /regex/match/next2/262 1149s ok 372 /regex/match/next2/263 1149s # End of next2 tests 1149s # Start of next3 tests 1149s ok 373 /regex/match/next3/264 1149s ok 374 /regex/match/next3/265 1149s ok 375 /regex/match/next3/266 1149s ok 376 /regex/match/next3/267 1149s ok 377 /regex/match/next3/268 1149s ok 378 /regex/match/next3/269 1149s # End of next3 tests 1149s # Start of next4 tests 1149s ok 379 /regex/match/next4/270 1149s # End of next4 tests 1149s # Start of count tests 1149s ok 380 /regex/match/count/271 1149s ok 381 /regex/match/count/272 1149s ok 382 /regex/match/count/273 1149s ok 383 /regex/match/count/274 1149s ok 384 /regex/match/count/275 1149s ok 385 /regex/match/count/276 1149s ok 386 /regex/match/count/277 1149s ok 387 /regex/match/count/278 1149s ok 388 /regex/match/count/279 1149s ok 389 /regex/match/count/280 1149s # End of count tests 1149s # Start of count-optimized tests 1149s ok 390 /regex/match/count-optimized/271 1149s ok 391 /regex/match/count-optimized/272 1149s ok 392 /regex/match/count-optimized/273 1149s ok 393 /regex/match/count-optimized/274 1149s ok 394 /regex/match/count-optimized/275 1149s ok 395 /regex/match/count-optimized/276 1149s ok 396 /regex/match/count-optimized/277 1149s ok 397 /regex/match/count-optimized/278 1149s ok 398 /regex/match/count-optimized/279 1149s ok 399 /regex/match/count-optimized/280 1149s # End of count-optimized tests 1149s # Start of partial-optimized tests 1149s ok 400 /regex/match/partial-optimized/281 1149s ok 401 /regex/match/partial-optimized/282 1149s ok 402 /regex/match/partial-optimized/283 1149s ok 403 /regex/match/partial-optimized/284 1149s ok 404 /regex/match/partial-optimized/285 1149s ok 405 /regex/match/partial-optimized/286 1149s ok 406 /regex/match/partial-optimized/287 1149s ok 407 /regex/match/partial-optimized/288 1149s ok 408 /regex/match/partial-optimized/289 1149s ok 409 /regex/match/partial-optimized/290 1149s ok 410 /regex/match/partial-optimized/291 1149s ok 411 /regex/match/partial-optimized/292 1149s ok 412 /regex/match/partial-optimized/293 1149s ok 413 /regex/match/partial-optimized/294 1149s ok 414 /regex/match/partial-optimized/295 1149s ok 415 /regex/match/partial-optimized/296 1149s ok 416 /regex/match/partial-optimized/297 1149s ok 417 /regex/match/partial-optimized/298 1149s ok 418 /regex/match/partial-optimized/299 1149s ok 419 /regex/match/partial-optimized/300 1149s ok 420 /regex/match/partial-optimized/301 1149s ok 421 /regex/match/partial-optimized/302 1149s # End of partial-optimized tests 1149s # Start of subpattern tests 1149s ok 422 /regex/match/subpattern/303 1149s ok 423 /regex/match/subpattern/304 1149s ok 424 /regex/match/subpattern/305 1149s ok 425 /regex/match/subpattern/306 1149s ok 426 /regex/match/subpattern/307 1149s ok 427 /regex/match/subpattern/308 1149s ok 428 /regex/match/subpattern/309 1149s ok 429 /regex/match/subpattern/310 1149s ok 430 /regex/match/subpattern/311 1149s ok 431 /regex/match/subpattern/312 1149s ok 432 /regex/match/subpattern/313 1149s ok 433 /regex/match/subpattern/314 1149s ok 434 /regex/match/subpattern/315 1149s # Start of named tests 1149s # Start of dupnames tests 1149s ok 435 /regex/match/subpattern/named/dupnames/325 1149s ok 436 /regex/match/subpattern/named/dupnames/326 1149s ok 437 /regex/match/subpattern/named/dupnames/327 1149s ok 438 /regex/match/subpattern/named/dupnames/328 1149s ok 439 /regex/match/subpattern/named/dupnames/329 1149s # End of dupnames tests 1149s # End of named tests 1149s # End of subpattern tests 1149s # Start of subpattern-optimized tests 1149s ok 440 /regex/match/subpattern-optimized/303 1149s ok 441 /regex/match/subpattern-optimized/304 1149s ok 442 /regex/match/subpattern-optimized/305 1149s ok 443 /regex/match/subpattern-optimized/306 1149s ok 444 /regex/match/subpattern-optimized/307 1149s ok 445 /regex/match/subpattern-optimized/308 1149s ok 446 /regex/match/subpattern-optimized/309 1149s ok 447 /regex/match/subpattern-optimized/310 1149s ok 448 /regex/match/subpattern-optimized/311 1149s ok 449 /regex/match/subpattern-optimized/312 1149s ok 450 /regex/match/subpattern-optimized/313 1149s ok 451 /regex/match/subpattern-optimized/314 1149s ok 452 /regex/match/subpattern-optimized/315 1149s # End of subpattern-optimized tests 1149s # Start of named tests 1149s # Start of subpattern tests 1149s ok 453 /regex/match/named/subpattern/316 1149s ok 454 /regex/match/named/subpattern/317 1149s ok 455 /regex/match/named/subpattern/318 1149s ok 456 /regex/match/named/subpattern/319 1149s ok 457 /regex/match/named/subpattern/320 1149s ok 458 /regex/match/named/subpattern/321 1149s ok 459 /regex/match/named/subpattern/322 1149s ok 460 /regex/match/named/subpattern/323 1149s ok 461 /regex/match/named/subpattern/324 1149s ok 462 /regex/match/named/subpattern/330 1149s ok 463 /regex/match/named/subpattern/331 1149s ok 464 /regex/match/named/subpattern/332 1149s ok 465 /regex/match/named/subpattern/333 1149s ok 466 /regex/match/named/subpattern/334 1149s # End of subpattern tests 1149s # End of named tests 1149s # End of match tests 1149s # Start of match-optimized tests 1149s ok 467 /regex/match-optimized/165 1149s ok 468 /regex/match-optimized/166 1149s ok 469 /regex/match-optimized/167 1149s ok 470 /regex/match-optimized/168 1149s ok 471 /regex/match-optimized/169 1149s ok 472 /regex/match-optimized/170 1149s ok 473 /regex/match-optimized/171 1149s ok 474 /regex/match-optimized/172 1149s ok 475 /regex/match-optimized/173 1149s ok 476 /regex/match-optimized/174 1149s ok 477 /regex/match-optimized/175 1149s ok 478 /regex/match-optimized/176 1149s ok 479 /regex/match-optimized/177 1149s ok 480 /regex/match-optimized/178 1149s ok 481 /regex/match-optimized/179 1149s ok 482 /regex/match-optimized/180 1149s ok 483 /regex/match-optimized/181 1149s ok 484 /regex/match-optimized/182 1149s ok 485 /regex/match-optimized/183 1149s ok 486 /regex/match-optimized/184 1149s ok 487 /regex/match-optimized/185 1149s ok 488 /regex/match-optimized/186 1149s ok 489 /regex/match-optimized/187 1149s ok 490 /regex/match-optimized/188 1149s ok 491 /regex/match-optimized/189 1149s ok 492 /regex/match-optimized/190 1149s ok 493 /regex/match-optimized/191 1149s ok 494 /regex/match-optimized/192 1149s ok 495 /regex/match-optimized/193 1149s ok 496 /regex/match-optimized/194 1149s ok 497 /regex/match-optimized/195 1149s ok 498 /regex/match-optimized/196 1149s ok 499 /regex/match-optimized/197 1149s ok 500 /regex/match-optimized/198 1149s ok 501 /regex/match-optimized/199 1149s ok 502 /regex/match-optimized/200 1149s ok 503 /regex/match-optimized/201 1149s ok 504 /regex/match-optimized/202 1149s ok 505 /regex/match-optimized/203 1149s ok 506 /regex/match-optimized/204 1149s ok 507 /regex/match-optimized/205 1149s ok 508 /regex/match-optimized/206 1149s ok 509 /regex/match-optimized/207 1149s ok 510 /regex/match-optimized/208 1149s ok 511 /regex/match-optimized/209 1149s ok 512 /regex/match-optimized/210 1149s ok 513 /regex/match-optimized/211 1149s ok 514 /regex/match-optimized/212 1149s ok 515 /regex/match-optimized/213 1149s ok 516 /regex/match-optimized/214 1149s ok 517 /regex/match-optimized/215 1149s ok 518 /regex/match-optimized/216 1149s ok 519 /regex/match-optimized/217 1149s ok 520 /regex/match-optimized/218 1149s ok 521 /regex/match-optimized/219 1149s ok 522 /regex/match-optimized/220 1149s ok 523 /regex/match-optimized/221 1149s ok 524 /regex/match-optimized/222 1149s ok 525 /regex/match-optimized/223 1149s ok 526 /regex/match-optimized/224 1149s ok 527 /regex/match-optimized/225 1149s ok 528 /regex/match-optimized/226 1149s ok 529 /regex/match-optimized/227 1149s ok 530 /regex/match-optimized/228 1149s ok 531 /regex/match-optimized/229 1149s ok 532 /regex/match-optimized/230 1149s ok 533 /regex/match-optimized/231 1149s ok 534 /regex/match-optimized/232 1149s ok 535 /regex/match-optimized/233 1149s ok 536 /regex/match-optimized/234 1149s ok 537 /regex/match-optimized/235 1149s ok 538 /regex/match-optimized/236 1149s ok 539 /regex/match-optimized/237 1149s ok 540 /regex/match-optimized/238 1149s ok 541 /regex/match-optimized/239 1149s ok 542 /regex/match-optimized/240 1149s ok 543 /regex/match-optimized/241 1149s ok 544 /regex/match-optimized/242 1149s ok 545 /regex/match-optimized/243 1149s ok 546 /regex/match-optimized/244 1149s ok 547 /regex/match-optimized/245 1149s ok 548 /regex/match-optimized/246 1149s # End of match-optimized tests 1149s # Start of fetch-all0 tests 1149s ok 549 /regex/fetch-all0/335 1149s ok 550 /regex/fetch-all0/336 1149s # End of fetch-all0 tests 1149s # Start of fetch-all1 tests 1149s ok 551 /regex/fetch-all1/337 1149s ok 552 /regex/fetch-all1/338 1149s ok 553 /regex/fetch-all1/339 1149s # End of fetch-all1 tests 1149s # Start of fetch-all2 tests 1149s ok 554 /regex/fetch-all2/340 1149s ok 555 /regex/fetch-all2/341 1149s ok 556 /regex/fetch-all2/342 1149s # End of fetch-all2 tests 1149s # Start of fetch-all3 tests 1149s ok 557 /regex/fetch-all3/343 1149s ok 558 /regex/fetch-all3/344 1149s ok 559 /regex/fetch-all3/345 1149s ok 560 /regex/fetch-all3/346 1149s ok 561 /regex/fetch-all3/347 1149s # End of fetch-all3 tests 1149s # Start of split tests 1149s # Start of simple0 tests 1149s ok 562 /regex/split/simple0/348 1149s ok 563 /regex/split/simple0/349 1149s ok 564 /regex/split/simple0/364 1149s ok 565 /regex/split/simple0/365 1149s # End of simple0 tests 1149s # Start of simple1 tests 1149s ok 566 /regex/split/simple1/350 1149s ok 567 /regex/split/simple1/351 1149s # End of simple1 tests 1149s # Start of simple2 tests 1149s ok 568 /regex/split/simple2/352 1149s ok 569 /regex/split/simple2/358 1149s ok 570 /regex/split/simple2/360 1149s # End of simple2 tests 1149s # Start of simple3 tests 1149s ok 571 /regex/split/simple3/353 1149s ok 572 /regex/split/simple3/354 1149s ok 573 /regex/split/simple3/355 1149s ok 574 /regex/split/simple3/356 1149s ok 575 /regex/split/simple3/357 1149s ok 576 /regex/split/simple3/359 1149s ok 577 /regex/split/simple3/361 1149s ok 578 /regex/split/simple3/362 1149s ok 579 /regex/split/simple3/363 1149s # End of simple3 tests 1149s # End of split tests 1149s # Start of split0 tests 1149s ok 580 /regex/split0/366 1149s ok 581 /regex/split0/368 1149s # End of split0 tests 1149s # Start of full-split0 tests 1149s ok 582 /regex/full-split0/367 1149s ok 583 /regex/full-split0/369 1149s ok 584 /regex/full-split0/370 1149s ok 585 /regex/full-split0/371 1149s ok 586 /regex/full-split0/372 1149s # End of full-split0 tests 1149s # Start of split1 tests 1149s ok 587 /regex/split1/373 1149s ok 588 /regex/split1/376 1149s # End of split1 tests 1149s # Start of full-split1 tests 1149s ok 589 /regex/full-split1/374 1149s ok 590 /regex/full-split1/375 1149s ok 591 /regex/full-split1/377 1149s ok 592 /regex/full-split1/378 1149s ok 593 /regex/full-split1/404 1149s # End of full-split1 tests 1149s # Start of split2 tests 1149s ok 594 /regex/split2/379 1149s ok 595 /regex/split2/383 1149s ok 596 /regex/split2/395 1149s # End of split2 tests 1149s # Start of full-split2 tests 1149s ok 597 /regex/full-split2/380 1149s ok 598 /regex/full-split2/381 1149s ok 599 /regex/full-split2/382 1149s ok 600 /regex/full-split2/384 1149s ok 601 /regex/full-split2/396 1149s ok 602 /regex/full-split2/399 1149s ok 603 /regex/full-split2/405 1149s # End of full-split2 tests 1149s # Start of split3 tests 1149s ok 604 /regex/split3/385 1149s ok 605 /regex/split3/387 1149s ok 606 /regex/split3/389 1149s ok 607 /regex/split3/391 1149s ok 608 /regex/split3/393 1149s ok 609 /regex/split3/397 1149s ok 610 /regex/split3/400 1149s ok 611 /regex/split3/402 1149s # End of split3 tests 1149s # Start of full-split3 tests 1149s ok 612 /regex/full-split3/386 1149s ok 613 /regex/full-split3/388 1149s ok 614 /regex/full-split3/390 1149s ok 615 /regex/full-split3/392 1149s ok 616 /regex/full-split3/394 1149s ok 617 /regex/full-split3/398 1149s ok 618 /regex/full-split3/401 1149s ok 619 /regex/full-split3/403 1149s ok 620 /regex/full-split3/406 1149s ok 621 /regex/full-split3/407 1149s # End of full-split3 tests 1149s # Start of check-repacement tests 1149s ok 622 /regex/check-repacement/408 1149s ok 623 /regex/check-repacement/409 1149s ok 624 /regex/check-repacement/410 1149s ok 625 /regex/check-repacement/411 1149s ok 626 /regex/check-repacement/412 1149s ok 627 /regex/check-repacement/413 1149s ok 628 /regex/check-repacement/414 1149s ok 629 /regex/check-repacement/415 1149s # End of check-repacement tests 1149s # Start of expand tests 1149s ok 630 /regex/expand/416 1149s ok 631 /regex/expand/417 1149s ok 632 /regex/expand/418 1149s ok 633 /regex/expand/419 1149s ok 634 /regex/expand/420 1149s ok 635 /regex/expand/421 1149s ok 636 /regex/expand/422 1149s ok 637 /regex/expand/423 1149s ok 638 /regex/expand/424 1149s ok 639 /regex/expand/425 1149s ok 640 /regex/expand/426 1149s ok 641 /regex/expand/427 1149s ok 642 /regex/expand/428 1149s ok 643 /regex/expand/429 1149s ok 644 /regex/expand/430 1149s ok 645 /regex/expand/431 1149s ok 646 /regex/expand/432 1149s ok 647 /regex/expand/433 1149s ok 648 /regex/expand/434 1149s ok 649 /regex/expand/435 1149s ok 650 /regex/expand/436 1149s ok 651 /regex/expand/437 1149s ok 652 /regex/expand/438 1149s ok 653 /regex/expand/439 1149s ok 654 /regex/expand/440 1149s ok 655 /regex/expand/441 1149s ok 656 /regex/expand/442 1149s ok 657 /regex/expand/443 1149s ok 658 /regex/expand/444 1149s ok 659 /regex/expand/445 1149s ok 660 /regex/expand/446 1149s ok 661 /regex/expand/447 1149s ok 662 /regex/expand/448 1149s ok 663 /regex/expand/449 1149s ok 664 /regex/expand/450 1149s ok 665 /regex/expand/451 1149s ok 666 /regex/expand/452 1149s ok 667 /regex/expand/453 1149s ok 668 /regex/expand/454 1149s ok 669 /regex/expand/455 1149s ok 670 /regex/expand/456 1149s ok 671 /regex/expand/457 1149s ok 672 /regex/expand/458 1149s ok 673 /regex/expand/459 1149s ok 674 /regex/expand/460 1149s ok 675 /regex/expand/461 1149s ok 676 /regex/expand/462 1149s ok 677 /regex/expand/463 1149s ok 678 /regex/expand/464 1149s ok 679 /regex/expand/465 1149s ok 680 /regex/expand/466 1149s ok 681 /regex/expand/467 1149s ok 682 /regex/expand/468 1149s ok 683 /regex/expand/469 1149s ok 684 /regex/expand/470 1149s ok 685 /regex/expand/471 1149s ok 686 /regex/expand/472 1149s ok 687 /regex/expand/473 1149s ok 688 /regex/expand/474 1149s ok 689 /regex/expand/475 1149s ok 690 /regex/expand/476 1149s ok 691 /regex/expand/477 1149s ok 692 /regex/expand/478 1149s ok 693 /regex/expand/479 1149s ok 694 /regex/expand/480 1149s ok 695 /regex/expand/481 1149s # End of expand tests 1149s # Start of replace tests 1149s ok 696 /regex/replace/482 1149s ok 697 /regex/replace/483 1149s ok 698 /regex/replace/484 1149s ok 699 /regex/replace/485 1149s ok 700 /regex/replace/486 1149s ok 701 /regex/replace/487 1149s ok 702 /regex/replace/488 1149s ok 703 /regex/replace/489 1149s ok 704 /regex/replace/490 1149s ok 705 /regex/replace/491 1149s ok 706 /regex/replace/492 1149s ok 707 /regex/replace/493 1149s ok 708 /regex/replace/494 1149s ok 709 /regex/replace/495 1149s ok 710 /regex/replace/496 1149s ok 711 /regex/replace/497 1149s ok 712 /regex/replace/498 1149s ok 713 /regex/replace/499 1149s ok 714 /regex/replace/500 1149s ok 715 /regex/replace/501 1149s ok 716 /regex/replace/502 1149s ok 717 /regex/replace/503 1149s ok 718 /regex/replace/504 1149s ok 719 /regex/replace/505 1149s ok 720 /regex/replace/506 1149s ok 721 /regex/replace/507 1149s ok 722 /regex/replace/508 1149s ok 723 /regex/replace/509 1149s # End of replace tests 1149s # Start of replace-optimized tests 1149s ok 724 /regex/replace-optimized/482 1149s ok 725 /regex/replace-optimized/483 1149s ok 726 /regex/replace-optimized/484 1149s ok 727 /regex/replace-optimized/485 1149s ok 728 /regex/replace-optimized/486 1149s ok 729 /regex/replace-optimized/487 1149s ok 730 /regex/replace-optimized/488 1149s ok 731 /regex/replace-optimized/489 1149s ok 732 /regex/replace-optimized/490 1149s ok 733 /regex/replace-optimized/491 1149s ok 734 /regex/replace-optimized/492 1149s ok 735 /regex/replace-optimized/493 1149s ok 736 /regex/replace-optimized/494 1149s ok 737 /regex/replace-optimized/495 1149s ok 738 /regex/replace-optimized/496 1149s ok 739 /regex/replace-optimized/497 1149s ok 740 /regex/replace-optimized/498 1149s ok 741 /regex/replace-optimized/499 1149s ok 742 /regex/replace-optimized/500 1149s ok 743 /regex/replace-optimized/501 1149s ok 744 /regex/replace-optimized/502 1149s ok 745 /regex/replace-optimized/503 1149s ok 746 /regex/replace-optimized/504 1149s ok 747 /regex/replace-optimized/505 1149s ok 748 /regex/replace-optimized/506 1149s ok 749 /regex/replace-optimized/507 1149s ok 750 /regex/replace-optimized/508 1149s ok 751 /regex/replace-optimized/509 1149s # End of replace-optimized tests 1149s # Start of replace-literally tests 1149s ok 752 /regex/replace-literally/510 1149s ok 753 /regex/replace-literally/511 1149s ok 754 /regex/replace-literally/512 1149s ok 755 /regex/replace-literally/513 1149s ok 756 /regex/replace-literally/514 1149s ok 757 /regex/replace-literally/515 1149s ok 758 /regex/replace-literally/516 1149s ok 759 /regex/replace-literally/517 1149s ok 760 /regex/replace-literally/518 1149s ok 761 /regex/replace-literally/519 1149s ok 762 /regex/replace-literally/520 1149s ok 763 /regex/replace-literally/521 1149s ok 764 /regex/replace-literally/522 1149s ok 765 /regex/replace-literally/523 1149s ok 766 /regex/replace-literally/524 1149s ok 767 /regex/replace-literally/525 1149s ok 768 /regex/replace-literally/526 1149s ok 769 /regex/replace-literally/527 1149s ok 770 /regex/replace-literally/528 1149s ok 771 /regex/replace-literally/529 1149s # End of replace-literally tests 1149s # Start of string-number tests 1149s ok 772 /regex/string-number/530 1149s ok 773 /regex/string-number/531 1149s ok 774 /regex/string-number/532 1149s ok 775 /regex/string-number/533 1149s ok 776 /regex/string-number/534 1149s ok 777 /regex/string-number/535 1149s ok 778 /regex/string-number/536 1149s ok 779 /regex/string-number/537 1149s ok 780 /regex/string-number/538 1149s ok 781 /regex/string-number/539 1149s ok 782 /regex/string-number/540 1149s ok 783 /regex/string-number/541 1149s ok 784 /regex/string-number/542 1149s ok 785 /regex/string-number/543 1149s ok 786 /regex/string-number/544 1149s # End of string-number tests 1149s # Start of escape_nul tests 1149s ok 787 /regex/escape_nul/545 1149s ok 788 /regex/escape_nul/546 1149s ok 789 /regex/escape_nul/547 1149s ok 790 /regex/escape_nul/548 1149s ok 791 /regex/escape_nul/549 1149s ok 792 /regex/escape_nul/550 1149s ok 793 /regex/escape_nul/551 1149s ok 794 /regex/escape_nul/552 1149s ok 795 /regex/escape_nul/553 1149s ok 796 /regex/escape_nul/554 1149s ok 797 /regex/escape_nul/555 1149s ok 798 /regex/escape_nul/556 1149s ok 799 /regex/escape_nul/557 1149s ok 800 /regex/escape_nul/558 1149s ok 801 /regex/escape_nul/559 1149s # End of escape_nul tests 1149s # Start of escape tests 1149s ok 802 /regex/escape/560 1149s ok 803 /regex/escape/561 1149s ok 804 /regex/escape/562 1149s ok 805 /regex/escape/563 1149s ok 806 /regex/escape/564 1149s ok 807 /regex/escape/565 1149s ok 808 /regex/escape/566 1149s ok 809 /regex/escape/567 1149s ok 810 /regex/escape/568 1149s ok 811 /regex/escape/569 1149s ok 812 /regex/escape/570 1149s ok 813 /regex/escape/571 1149s ok 814 /regex/escape/572 1149s ok 815 /regex/escape/573 1149s ok 816 /regex/escape/574 1149s ok 817 /regex/escape/575 1149s ok 818 /regex/escape/576 1149s ok 819 /regex/escape/577 1149s # End of escape tests 1149s # Start of match-all0 tests 1149s ok 820 /regex/match-all0/578 1149s ok 821 /regex/match-all0/580 1149s # End of match-all0 tests 1149s # Start of match-all-full0 tests 1149s ok 822 /regex/match-all-full0/579 1149s ok 823 /regex/match-all-full0/581 1149s ok 824 /regex/match-all-full0/582 1149s ok 825 /regex/match-all-full0/583 1149s # End of match-all-full0 tests 1149s # Start of match-all1 tests 1149s ok 826 /regex/match-all1/584 1149s ok 827 /regex/match-all1/586 1149s ok 828 /regex/match-all1/591 1149s # End of match-all1 tests 1149s # Start of match-all-full1 tests 1149s ok 829 /regex/match-all-full1/585 1149s ok 830 /regex/match-all-full1/587 1149s ok 831 /regex/match-all-full1/588 1149s ok 832 /regex/match-all-full1/589 1149s ok 833 /regex/match-all-full1/590 1149s ok 834 /regex/match-all-full1/592 1149s # End of match-all-full1 tests 1149s # Start of match-all2 tests 1149s ok 835 /regex/match-all2/593 1149s ok 836 /regex/match-all2/595 1149s ok 837 /regex/match-all2/597 1149s # End of match-all2 tests 1149s # Start of match-all-full2 tests 1149s ok 838 /regex/match-all-full2/594 1149s ok 839 /regex/match-all-full2/596 1149s ok 840 /regex/match-all-full2/598 1149s # End of match-all-full2 tests 1149s # Start of match-all3 tests 1149s ok 841 /regex/match-all3/599 1149s ok 842 /regex/match-all3/601 1149s # End of match-all3 tests 1149s # Start of match-all-full3 tests 1149s ok 843 /regex/match-all-full3/600 1149s ok 844 /regex/match-all-full3/602 1149s # End of match-all-full3 tests 1149s # Start of match-notempty tests 1149s ok 845 /regex/match-notempty/603 1149s # End of match-notempty tests 1149s # Start of match-notempty-optimized tests 1149s ok 846 /regex/match-notempty-optimized/603 1149s # End of match-notempty-optimized tests 1149s # Start of match-notempty-atstart tests 1149s ok 847 /regex/match-notempty-atstart/604 1149s # End of match-notempty-atstart tests 1149s # Start of match-notempty-atstart-optimized tests 1149s ok 848 /regex/match-notempty-atstart-optimized/604 1149s # End of match-notempty-atstart-optimized tests 1149s # End of regex tests 1149s ok - glib/regex.test 1149s # Running test: glib/object-info.test 1149s TAP version 14 1149s # random seed: R02Sc249f27f9b806e48798063c2c6c12518 1149s 1..2 1149s # Start of object-info tests 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_KJA212/object-info/find-method-using-interfaces/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_KJA212/object-info/find-method-using-interfaces/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_KJA212/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_KJA212/object-info/find-method-using-interfaces/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_KJA212/object-info/find-method-using-interfaces/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_KJA212/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_KJA212/object-info/find-method-using-interfaces/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_KJA212/object-info/find-method-using-interfaces/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_KJA212/object-info/find-method-using-interfaces/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_KJA212/object-info/find-method-using-interfaces/.dirs/runtime 1149s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1149s ok 1 /object-info/find-method-using-interfaces 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_KJA212/object-info/find-vfunc-using-interfaces/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_KJA212/object-info/find-vfunc-using-interfaces/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_KJA212/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_KJA212/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_KJA212/object-info/find-vfunc-using-interfaces/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_KJA212/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_KJA212/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_KJA212/object-info/find-vfunc-using-interfaces/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_KJA212/object-info/find-vfunc-using-interfaces/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_KJA212/object-info/find-vfunc-using-interfaces/.dirs/runtime 1149s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1149s ok 2 /object-info/find-vfunc-using-interfaces 1149s # End of object-info tests 1149s ok - glib/object-info.test 1149s # Running test: glib/gdbus-peer.test 1149s TAP version 14 1149s # random seed: R02S7aac535fdd68cb733fca38070bfb1c1d 1149s 1..12 1149s # Start of gdbus tests 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/.dirs/runtime 1149s # Testing with unix:dir address 1149s # Testing with unix:tmpdir address 1149s # Testing with unix:path address 1149s ok 1 /gdbus/peer-to-peer 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/delayed-message-processing/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/delayed-message-processing/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_ZC8112/gdbus/delayed-message-processing/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/delayed-message-processing/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_ZC8112/gdbus/delayed-message-processing/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/delayed-message-processing/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/delayed-message-processing/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_ZC8112/gdbus/delayed-message-processing/.dirs/runtime 1149s # Testing with unix:dir address 1150s ok 2 /gdbus/delayed-message-processing 1150s # slow test /gdbus/delayed-message-processing executed in 0.50 secs 1150s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/nonce-tcp/.dirs/home 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/nonce-tcp/.dirs/cache 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_ZC8112/gdbus/nonce-tcp/.dirs/system-config2 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/nonce-tcp/.dirs/config 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_ZC8112/gdbus/nonce-tcp/.dirs/system-data2 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/nonce-tcp/.dirs/data 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/nonce-tcp/.dirs/state 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_ZC8112/gdbus/nonce-tcp/.dirs/runtime 1150s ok 3 /gdbus/nonce-tcp 1150s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/tcp-anonymous/.dirs/home 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/tcp-anonymous/.dirs/cache 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_ZC8112/gdbus/tcp-anonymous/.dirs/system-config2 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/tcp-anonymous/.dirs/config 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_ZC8112/gdbus/tcp-anonymous/.dirs/system-data2 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/tcp-anonymous/.dirs/data 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/tcp-anonymous/.dirs/state 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_ZC8112/gdbus/tcp-anonymous/.dirs/runtime 1150s ok 4 /gdbus/tcp-anonymous 1150s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/credentials/.dirs/home 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/credentials/.dirs/cache 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_ZC8112/gdbus/credentials/.dirs/system-config2 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/credentials/.dirs/config 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_ZC8112/gdbus/credentials/.dirs/system-data2 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/credentials/.dirs/data 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/credentials/.dirs/state 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_ZC8112/gdbus/credentials/.dirs/runtime 1150s ok 5 /gdbus/credentials 1150s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/codegen-peer-to-peer/.dirs/home 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/codegen-peer-to-peer/.dirs/cache 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_ZC8112/gdbus/codegen-peer-to-peer/.dirs/system-config2 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/codegen-peer-to-peer/.dirs/config 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_ZC8112/gdbus/codegen-peer-to-peer/.dirs/system-data2 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/codegen-peer-to-peer/.dirs/data 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/codegen-peer-to-peer/.dirs/state 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_ZC8112/gdbus/codegen-peer-to-peer/.dirs/runtime 1150s # Testing with unix:dir address 1150s # Machine ID: 30eb567c4c484f658b2eb00d35d79d7e 1151s ok 6 /gdbus/codegen-peer-to-peer 1151s # slow test /gdbus/codegen-peer-to-peer executed in 1.10 secs 1151s # Start of peer-to-peer tests 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/signals/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/signals/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/signals/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/signals/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/signals/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/signals/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/signals/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/signals/.dirs/runtime 1151s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1151s # Testing with unix:dir address 1151s ok 7 /gdbus/peer-to-peer/signals 1151s # Start of invalid tests 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/server/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/server/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/server/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/server/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/server/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1151s ok 8 /gdbus/peer-to-peer/invalid/server 1151s # Start of conn tests 1151s # Start of stream tests 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1151s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1151s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1151s # End of stream tests 1151s # Start of addr tests 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1151s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_ZC8112/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1151s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1151s # End of addr tests 1151s # End of conn tests 1151s # End of invalid tests 1151s # End of peer-to-peer tests 1151s # End of gdbus tests 1151s ok - glib/gdbus-peer.test 1151s # Running test: glib/list.test 1151s TAP version 14 1151s # random seed: R02S501908d231d511f92fcbc284b6095a48 1151s 1..20 1151s # Start of list tests 1151s ok 1 /list/sort 1151s ok 2 /list/sort-with-data 1151s ok 3 /list/insert-before-link 1151s ok 4 /list/insert-sorted 1151s ok 5 /list/insert-sorted-with-data 1151s ok 6 /list/reverse 1151s ok 7 /list/nth 1151s ok 8 /list/concat 1151s ok 9 /list/remove 1151s ok 10 /list/remove-all 1151s ok 11 /list/first-last 1151s ok 12 /list/insert 1151s ok 13 /list/free-full 1151s ok 14 /list/copy 1151s ok 15 /list/copy-deep 1151s ok 16 /list/delete-link 1151s ok 17 /list/prepend 1151s ok 18 /list/position 1151s ok 19 /list/double-free 1151s # Start of sort tests 1151s ok 20 /list/sort/stable 1151s # End of sort tests 1151s # End of list tests 1151s ok - glib/list.test 1151s # Running test: glib/contexts.test 1151s TAP version 14 1151s # random seed: R02S8847df5c1d3ae49fd193ef1676e82059 1151s 1..5 1151s # Start of gio tests 1151s # Start of contexts tests 1151s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1151s ok 1 /gio/contexts/thread-independence 1151s ok 2 /gio/contexts/context-independence 1151s # Start of context-specific tests 1151s ok 3 /gio/contexts/context-specific/identity 1151s ok 4 /gio/contexts/context-specific/emit 1151s ok 5 /gio/contexts/context-specific/emit-and-unref 1151s # End of context-specific tests 1151s # End of contexts tests 1151s # End of gio tests 1151s ok - glib/contexts.test 1151s # Running test: glib/dbus-appinfo.test 1151s TAP version 14 1151s # random seed: R02S3d6af9f3981f0b32bc458bbf95997763 1151s 1..7 1151s # Start of appinfo tests 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/dbusappinfo/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/dbusappinfo/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_ZTBI22/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_ZTBI22/appinfo/dbusappinfo/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/dbusappinfo/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_ZTBI22/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_ZTBI22/appinfo/dbusappinfo/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/dbusappinfo/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/dbusappinfo/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_ZTBI22/appinfo/dbusappinfo/.dirs/runtime 1151s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1151s ok 1 /appinfo/dbusappinfo 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-doc-export/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-doc-export/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-doc-export/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-doc-export/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-doc-export/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-doc-export/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-doc-export/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-doc-export/.dirs/runtime 1151s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1151s # Acquired a message bus connection 1151s # Acquired the name org.freedesktop.portal.Documents 1151s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_ZTBI22/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-doc-export/.dirs/config 1151s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1151s # fake-document-portal cancelled 1151s ok 2 /appinfo/flatpak-doc-export 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-missing-doc-export/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-missing-doc-export/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-missing-doc-export/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-missing-doc-export/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-missing-doc-export/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-missing-doc-export/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-missing-doc-export/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-missing-doc-export/.dirs/runtime 1151s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1151s # Acquired a message bus connection 1151s # Acquired the name org.freedesktop.portal.Documents 1151s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-missing-doc-export/.dirs/config 1151s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1151s # fake-document-portal cancelled 1151s ok 3 /appinfo/flatpak-missing-doc-export 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file/.dirs/runtime 1151s # Acquired a message bus connection 1151s # Acquired the name org.freedesktop.portal.Desktop 1151s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_ZTBI22/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file/.dirs/config 1151s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 1151s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t 1151s # Response emitted 1151s # fake-desktop-portal cancelled 1151s ok 4 /appinfo/portal-open-file 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri/.dirs/runtime 1151s # Acquired a message bus connection 1151s # Acquired the name org.freedesktop.portal.Desktop 1151s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri/.dirs/config 1151s # Got open file request for http://example.com 1151s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t 1151s # Response emitted 1151s # fake-desktop-portal cancelled 1151s ok 5 /appinfo/portal-open-uri 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file-async/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file-async/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file-async/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file-async/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file-async/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file-async/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file-async/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file-async/.dirs/runtime 1151s # Acquired a message bus connection 1151s # Acquired the name org.freedesktop.portal.Desktop 1151s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file-async/.dirs/config 1151s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 1151s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio990257207 1151s # Response emitted 1151s # fake-desktop-portal cancelled 1151s ok 6 /appinfo/portal-open-file-async 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri-async/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri-async/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri-async/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri-async/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri-async/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri-async/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri-async/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri-async/.dirs/runtime 1151s # Acquired a message bus connection 1151s # Acquired the name org.freedesktop.portal.Desktop 1151s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_ZTBI22/appinfo/portal-open-uri-async/.dirs/config 1151s # Got open file request for http://example.com 1151s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio256479361 1151s # Response emitted 1151s # fake-desktop-portal cancelled 1151s ok 7 /appinfo/portal-open-uri-async 1151s # End of appinfo tests 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s ok - glib/dbus-appinfo.test 1151s # Running test: glib/struct-info.test 1151s TAP version 14 1151s # random seed: R02Sba3c76f272db6226f5a9696e109f47e0 1151s 1..4 1151s # Start of struct-info tests 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_HI7I22/struct-info/field-iterators/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_HI7I22/struct-info/field-iterators/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_HI7I22/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_HI7I22/struct-info/field-iterators/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_HI7I22/struct-info/field-iterators/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_HI7I22/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_HI7I22/struct-info/field-iterators/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_HI7I22/struct-info/field-iterators/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_HI7I22/struct-info/field-iterators/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_HI7I22/struct-info/field-iterators/.dirs/runtime 1151s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1151s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1151s ok 1 /struct-info/field-iterators 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_HI7I22/struct-info/sizeof-gvalue/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_HI7I22/struct-info/sizeof-gvalue/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_HI7I22/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_HI7I22/struct-info/sizeof-gvalue/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_HI7I22/struct-info/sizeof-gvalue/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_HI7I22/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_HI7I22/struct-info/sizeof-gvalue/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_HI7I22/struct-info/sizeof-gvalue/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_HI7I22/struct-info/sizeof-gvalue/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_HI7I22/struct-info/sizeof-gvalue/.dirs/runtime 1151s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1151s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1151s ok 2 /struct-info/sizeof-gvalue 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_HI7I22/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_HI7I22/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_HI7I22/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_HI7I22/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_HI7I22/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_HI7I22/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_HI7I22/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_HI7I22/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_HI7I22/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_HI7I22/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1151s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1151s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1151s ok 3 /struct-info/is-pointer-for-struct-method-arg 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_HI7I22/struct-info/boxed/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_HI7I22/struct-info/boxed/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_HI7I22/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_HI7I22/struct-info/boxed/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_HI7I22/struct-info/boxed/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_HI7I22/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_HI7I22/struct-info/boxed/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_HI7I22/struct-info/boxed/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_HI7I22/struct-info/boxed/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_HI7I22/struct-info/boxed/.dirs/runtime 1151s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1151s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1151s ok 4 /struct-info/boxed 1151s # End of struct-info tests 1151s ok - glib/struct-info.test 1151s # Running test: glib/power-profile-monitor-dbus.test 1151s TAP version 13 1151s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1151s 1..1 1151s ok - glib/power-profile-monitor-dbus.test 1151s # Running test: glib/thumbnail-verification.test 1151s TAP version 14 1151s # random seed: R02Sdceb9e89db693fcaa1ee45601f72e2f5 1151s 1..1 1151s # Start of png-thumbs tests 1151s ok 1 /png-thumbs/validity 1151s # End of png-thumbs tests 1151s ok - glib/thumbnail-verification.test 1151s # Running test: glib/network-address.test 1151s TAP version 14 1151s # random seed: R02S9f98edfa318d9d69404bc61c5b1d84b4 1151s 1..72 1151s # Start of network-address tests 1151s ok 1 /network-address/basic 1151s ok 2 /network-address/scope-id 1151s ok 3 /network-address/uri-scope-id 1151s ok 4 /network-address/to-string 1151s # Start of parse-host tests 1151s ok 5 /network-address/parse-host/0 1151s ok 6 /network-address/parse-host/1 1151s ok 7 /network-address/parse-host/2 1151s ok 8 /network-address/parse-host/3 1151s ok 9 /network-address/parse-host/4 1151s ok 10 /network-address/parse-host/5 1151s ok 11 /network-address/parse-host/6 1151s ok 12 /network-address/parse-host/7 1151s ok 13 /network-address/parse-host/8 1151s ok 14 /network-address/parse-host/9 1151s ok 15 /network-address/parse-host/10 1151s ok 16 /network-address/parse-host/11 1151s ok 17 /network-address/parse-host/12 1151s ok 18 /network-address/parse-host/13 1151s # End of parse-host tests 1151s # Start of parse-uri tests 1151s ok 19 /network-address/parse-uri/0 1151s ok 20 /network-address/parse-uri/1 1151s ok 21 /network-address/parse-uri/2 1151s ok 22 /network-address/parse-uri/3 1151s ok 23 /network-address/parse-uri/4 1151s ok 24 /network-address/parse-uri/5 1151s ok 25 /network-address/parse-uri/6 1151s ok 26 /network-address/parse-uri/7 1151s ok 27 /network-address/parse-uri/8 1151s ok 28 /network-address/parse-uri/9 1151s # End of parse-uri tests 1151s # Start of resolve-address tests 1151s # Input: 192.168.1.2 1151s ok 29 /network-address/resolve-address/0 1151s # Input: fe80::42 1151s ok 30 /network-address/resolve-address/1 1151s # Input: 192.168.1.2:80 1151s ok 31 /network-address/resolve-address/2 1151s # Input: [fe80::42] 1151s ok 32 /network-address/resolve-address/3 1151s # Input: [fe80::42]:80 1151s ok 33 /network-address/resolve-address/4 1151s # Input: 192.168.258 1151s ok 34 /network-address/resolve-address/5 1151s # Input: 192.11010306 1151s ok 35 /network-address/resolve-address/6 1151s # Input: 3232235778 1151s ok 36 /network-address/resolve-address/7 1151s # Input: 0300.0250.0001.0001 1151s ok 37 /network-address/resolve-address/8 1151s # Input: 0xC0.0xA8.0x01.0x02 1151s ok 38 /network-address/resolve-address/9 1151s # Input: 0xc0.0xa8.0x01.0x02 1151s ok 39 /network-address/resolve-address/10 1151s # Input: 0xc0a80102 1151s ok 40 /network-address/resolve-address/11 1151s # End of resolve-address tests 1151s # Start of loopback tests 1151s ok 41 /network-address/loopback/basic 1151s ok 42 /network-address/loopback/sync 1151s ok 43 /network-address/loopback/async 1151s # End of loopback tests 1151s # Start of localhost tests 1151s ok 44 /network-address/localhost/async 1151s ok 45 /network-address/localhost/sync 1151s # End of localhost tests 1151s # Start of happy-eyeballs tests 1151s ok 46 /network-address/happy-eyeballs/basic 1152s ok 47 /network-address/happy-eyeballs/parallel 1152s ok 48 /network-address/happy-eyeballs/slow-ipv4 1152s ok 49 /network-address/happy-eyeballs/slow-ipv6 1152s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1152s # Executing: glib/network-address.test 1153s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1153s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1153s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1153s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1153s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1153s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1153s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1153s # /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. 1153s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1153s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1153s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1153s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1153s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1153s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1153s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1153s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1153s ok 57 /network-address/happy-eyeballs/both-error 1153s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1153s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1153s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1153s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1153s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1153s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1153s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1153s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1153s # End of happy-eyeballs tests 1153s # End of network-address tests 1153s # Start of gresolver tests 1153s # Start of resolve-address tests 1153s # Input: 192.168.1.2 1153s ok 61 /gresolver/resolve-address/0 1153s # Input: fe80::42 1153s ok 62 /gresolver/resolve-address/1 1153s # Input: 192.168.1.2:80 1153s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1153s ok 63 /gresolver/resolve-address/2 1153s # Input: [fe80::42] 1153s # Error: Error resolving ?[fe80::42]?: Name or service not known 1153s ok 64 /gresolver/resolve-address/3 1153s # Input: [fe80::42]:80 1153s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1153s ok 65 /gresolver/resolve-address/4 1153s # Input: 192.168.258 1153s # Error: Error resolving ?192.168.258?: Name or service not known 1153s ok 66 /gresolver/resolve-address/5 1153s # Input: 192.11010306 1153s # Error: Error resolving ?192.11010306?: Name or service not known 1153s ok 67 /gresolver/resolve-address/6 1153s # Input: 3232235778 1153s # Error: Error resolving ?3232235778?: Name or service not known 1153s ok 68 /gresolver/resolve-address/7 1153s # Input: 0300.0250.0001.0001 1153s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1153s ok 69 /gresolver/resolve-address/8 1153s # Input: 0xC0.0xA8.0x01.0x02 1153s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1153s ok 70 /gresolver/resolve-address/9 1153s # Input: 0xc0.0xa8.0x01.0x02 1153s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1153s ok 71 /gresolver/resolve-address/10 1153s # Input: 0xc0a80102 1153s # Error: Error resolving ?0xc0a80102?: Name or service not known 1153s ok 72 /gresolver/resolve-address/11 1153s # End of resolve-address tests 1153s # End of gresolver tests 1153s ok - glib/network-address.test 1153s # Running test: glib/credentials.test 1153s TAP version 14 1153s # random seed: R02Sff63437d6615d48cc3b433fdb4511e44 1153s 1..1 1153s # Start of credentials tests 1153s # GCredentials:linux-ucred:pid=10046,uid=1000,gid=1000 1153s # GCredentials:linux-ucred:pid=10046,uid=0,gid=1000 1153s ok 1 /credentials/basic 1153s # End of credentials tests 1153s ok - glib/credentials.test 1153s # Running test: glib/qdata.test 1153s TAP version 14 1153s # random seed: R02S561f1d9dfb7d6f6e4ea9803a90a282e2 1153s 1..2 1153s # Start of qdata tests 1153s ok 1 /qdata/threaded 1153s ok 2 /qdata/dup 1153s # End of qdata tests 1153s ok - glib/qdata.test 1153s # Running test: glib/markup-subparser.test 1153s TAP version 14 1153s # random seed: R02Sae63f911b52fff6ad64fe69d46b637bc 1153s 1..14 1153s # Start of glib tests 1153s # Start of markup tests 1153s # Start of subparser tests 1153s # Start of success tests 1153s ok 1 /glib/markup/subparser/success/0 1153s ok 2 /glib/markup/subparser/success/1 1153s ok 3 /glib/markup/subparser/success/2 1153s ok 4 /glib/markup/subparser/success/3 1153s ok 5 /glib/markup/subparser/success/4 1153s ok 6 /glib/markup/subparser/success/5 1153s ok 7 /glib/markup/subparser/success/6 1153s # End of success tests 1153s # Start of failure tests 1153s ok 8 /glib/markup/subparser/failure/0 1153s ok 9 /glib/markup/subparser/failure/1 1153s ok 10 /glib/markup/subparser/failure/2 1153s ok 11 /glib/markup/subparser/failure/3 1153s ok 12 /glib/markup/subparser/failure/4 1153s ok 13 /glib/markup/subparser/failure/5 1153s ok 14 /glib/markup/subparser/failure/6 1153s # End of failure tests 1153s # End of subparser tests 1153s # End of markup tests 1153s # End of glib tests 1153s ok - glib/markup-subparser.test 1153s # Running test: glib/sort.test 1153s TAP version 14 1153s # random seed: R02S6318bde4720b54e0abe4026551540088 1153s 1..5 1153s # Start of sort tests 1153s ok 1 /sort/basic 1153s ok 2 /sort/zero-elements 1153s ok 3 /sort/stable 1153s ok 4 /sort/big 1153s ok 5 /sort/deprecated 1153s # End of sort tests 1153s ok - glib/sort.test 1153s # Running test: glib/param.test 1153s TAP version 14 1153s # random seed: R02Sd7fc763500873d3934fbd4f139a10032 1153s 1..32 1153s # Start of param tests 1153s ok 1 /param/value 1153s ok 2 /param/strings 1153s ok 3 /param/qdata 1153s ok 4 /param/validate 1153s ok 5 /param/convert 1153s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1153s ok 7 /param/default 1153s ok 8 /param/is-valid-name 1153s # Start of invalid-name tests 1153s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1153s ok 9 /param/invalid-name/colon 1153s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1153s ok 10 /param/invalid-name/first-char 1153s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1153s ok 11 /param/invalid-name/empty 1153s # End of invalid-name tests 1153s # Start of implement tests 1153s # Start of subprocess tests 1153s # End of subprocess tests 1153s # End of implement tests 1153s # End of param tests 1153s # Start of value tests 1153s ok 12 /value/transform 1153s # End of value tests 1153s # Start of paramspec tests 1153s ok 13 /paramspec/char 1153s ok 14 /paramspec/uchar 1153s ok 15 /paramspec/int 1153s ok 16 /paramspec/uint 1153s ok 17 /paramspec/long 1153s ok 18 /paramspec/ulong 1153s ok 19 /paramspec/int64 1153s ok 20 /paramspec/uint64 1153s ok 21 /paramspec/float 1153s ok 22 /paramspec/double 1153s ok 23 /paramspec/unichar 1153s ok 24 /paramspec/param 1153s ok 25 /paramspec/null-param 1153s ok 26 /paramspec/string 1153s ok 27 /paramspec/override 1153s ok 28 /paramspec/gtype 1153s ok 29 /paramspec/variant 1153s ok 30 /paramspec/custom 1153s ok 31 /paramspec/pool 1153s # Start of variant tests 1153s ok 32 /paramspec/variant/cmp 1153s # End of variant tests 1153s # End of paramspec tests 1153s ok - glib/param.test 1153s # Running test: glib/string.test 1153s TAP version 14 1153s # random seed: R02S13d8fd330df70857f78480a41b002ca6 1153s 1..23 1153s # Start of string tests 1153s ok 1 /string/test-string-chunks 1153s ok 2 /string/test-string-chunk-insert 1153s ok 3 /string/test-string-new 1153s ok 4 /string/test-string-printf 1153s ok 5 /string/test-string-assign 1153s ok 6 /string/test-string-append-c 1153s ok 7 /string/test-string-append 1153s ok 8 /string/test-string-append-vprintf 1153s ok 9 /string/test-string-prepend-c 1153s ok 10 /string/test-string-prepend 1153s ok 11 /string/test-string-insert 1153s ok 12 /string/test-string-insert-unichar 1153s ok 13 /string/test-string-equal 1153s ok 14 /string/test-string-truncate 1153s ok 15 /string/test-string-overwrite 1153s ok 16 /string/test-string-nul-handling 1153s ok 17 /string/test-string-up-down 1153s ok 18 /string/test-string-set-size 1153s ok 19 /string/test-string-to-bytes 1153s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1153s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1153s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1153s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1153s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1153s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1153s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1153s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1153s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1153s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1153s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1153s # -> 4 replacements, "fd fr fals" 1153s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1153s # -> 3 replacements, "aaaaaaaaa" 1153s # 7: Replacing "a" with "" (limit 0) in "aaa" 1153s # -> 3 replacements, "" 1153s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1153s # -> 1 replacements, "bba" 1153s # 9: Replacing "" with "bar" (limit 0) in "foo" 1153s # -> 4 replacements, "barfbarobarobar" 1153s # 10: Replacing "" with "bar" (limit 1) in "foo" 1153s # -> 1 replacements, "barfoo" 1153s # 11: Replacing "" with "bar" (limit 2) in "foo" 1153s # -> 2 replacements, "barfbaroo" 1153s # 12: Replacing "" with "bar" (limit 3) in "foo" 1153s # -> 3 replacements, "barfbarobaro" 1153s # 13: Replacing "" with "bar" (limit 4) in "foo" 1153s # -> 4 replacements, "barfbarobarobar" 1153s # 14: Replacing "" with "bar" (limit 5) in "foo" 1153s # -> 4 replacements, "barfbarobarobar" 1153s # 15: Replacing "" with "x" (limit 0) in "" 1153s # -> 1 replacements, "x" 1153s # 16: Replacing "" with "" (limit 0) in "" 1153s # -> 1 replacements, "" 1153s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 1153s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 1153s ok 20 /string/test-string-replace 1153s ok 21 /string/test-string-steal 1153s ok 22 /string/test-string-new-take 1153s # Start of test-string-new-take tests 1153s ok 23 /string/test-string-new-take/null 1153s # End of test-string-new-take tests 1153s # End of string tests 1153s ok - glib/string.test 1153s # Running test: glib/relation.test 1153s TAP version 14 1153s # random seed: R02Sb9223a19e71ece890d24ffc0a31f95c2 1153s 1..1 1153s # Start of glib tests 1153s ok 1 /glib/relation 1153s # End of glib tests 1153s ok - glib/relation.test 1153s # Running test: glib/gdatetime.test 1153s TAP version 14 1153s # random seed: R02Sae9a9e2abe0e3fa7f24185b3623b45f7 1153s 1..68 1153s # Start of GDateTime tests 1153s # Bug Reference: http://bugzilla.gnome.org/702674 1153s ok 1 /GDateTime/invalid 1153s ok 2 /GDateTime/add_days 1153s ok 3 /GDateTime/add_full 1153s ok 4 /GDateTime/add_hours 1153s ok 5 /GDateTime/add_minutes 1153s ok 6 /GDateTime/add_months 1153s ok 7 /GDateTime/add_seconds 1153s ok 8 /GDateTime/add_weeks 1153s ok 9 /GDateTime/add_years 1153s ok 10 /GDateTime/compare 1153s ok 11 /GDateTime/diff 1153s ok 12 /GDateTime/equal 1153s ok 13 /GDateTime/get_day_of_week 1153s ok 14 /GDateTime/get_day_of_month 1153s ok 15 /GDateTime/get_day_of_year 1153s ok 16 /GDateTime/get_hour 1153s ok 17 /GDateTime/get_microsecond 1153s ok 18 /GDateTime/get_minute 1153s ok 19 /GDateTime/get_month 1153s ok 20 /GDateTime/get_second 1153s ok 21 /GDateTime/get_utc_offset 1153s ok 22 /GDateTime/get_year 1153s ok 23 /GDateTime/hash 1153s ok 24 /GDateTime/new_from_unix 1153s ok 25 /GDateTime/new_from_unix_utc 1153s ok 26 /GDateTime/new_from_timeval 1153s ok 27 /GDateTime/new_from_timeval_utc 1153s ok 28 /GDateTime/new_from_iso8601 1153s ok 29 /GDateTime/new_full 1153s ok 30 /GDateTime/now 1153s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1153s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1153s # %a -> expected: Sat 1153s # %a -> actual: Sat 1153s # %A -> expected: Saturday 1153s # %A -> actual: Saturday 1153s # %b -> expected: Oct 1153s # %b -> actual: Oct 1153s # %B -> expected: October 1153s # %B -> actual: October 1153s # %d -> expected: 24 1153s # %d -> actual: 24 1153s # %d -> expected: 01 1153s # %d -> actual: 01 1153s # %e -> expected: 24 1153s # %e -> actual: 24 1153s # %e -> expected:  1 1153s # %e -> actual:  1 1153s # %f -> expected: 001000 1153s # %f -> actual: 001000 1153s # %h -> expected: Oct 1153s # %h -> actual: Oct 1153s # %H -> expected: 00 1153s # %H -> actual: 00 1153s # %H -> expected: 15 1153s # %H -> actual: 15 1153s # %I -> expected: 12 1153s # %I -> actual: 12 1153s # %I -> expected: 12 1153s # %I -> actual: 12 1153s # %I -> expected: 03 1153s # %I -> actual: 03 1153s # %j -> expected: 297 1153s # %j -> actual: 297 1153s # %k -> expected:  0 1153s # %k -> actual:  0 1153s # %k -> expected: 13 1153s # %k -> actual: 13 1153s # %l -> expected: 12 1153s # %l -> actual: 12 1153s # %I -> expected: 12 1153s # %I -> actual: 12 1153s # %l -> expected:  1 1153s # %l -> actual:  1 1153s # %l -> expected: 10 1153s # %l -> actual: 10 1153s # %m -> expected: 10 1153s # %m -> actual: 10 1153s # %M -> expected: 00 1153s # %M -> actual: 00 1153s # %p -> expected: AM 1153s # %p -> actual: AM 1153s # %p -> expected: PM 1153s # %p -> actual: PM 1153s # %P -> expected: am 1153s # %P -> actual: am 1153s # %P -> expected: pm 1153s # %P -> actual: pm 1153s # %r -> expected: 12:00:00 AM 1153s # %r -> actual: 12:00:00 AM 1153s # %r -> expected: 01:13:13 PM 1153s # %r -> actual: 01:13:13 PM 1153s # %R -> expected: 00:00 1153s # %R -> actual: 00:00 1153s # %R -> expected: 13:13 1153s # %R -> actual: 13:13 1153s # %S -> expected: 00 1153s # %S -> actual: 00 1153s # %t -> expected: 1153s # %t -> actual: 1153s # %u -> expected: 6 1153s # %u -> actual: 6 1153s # %x -> expected: 10/24/09 1153s # %x -> actual: 10/24/09 1153s # %X -> expected: 00:00:00 1153s # %X -> actual: 00:00:00 1153s # %X -> expected: 13:14:15 1153s # %X -> actual: 13:14:15 1153s # %y -> expected: 09 1153s # %y -> actual: 09 1153s # %Y -> expected: 2009 1153s # %Y -> actual: 2009 1153s # %% -> expected: % 1153s # %% -> actual: % 1153s # % -> expected: 1153s # % -> actual: 1153s # %9 -> expected: (null) 1153s # %9 -> actual: (null) 1153s # %Z -> expected: UTC 1153s # %Z -> actual: UTC 1153s # %#Z %Z -> expected: utc UTC 1153s # %#Z %Z -> actual: utc UTC 1153s ok 32 /GDateTime/printf 1153s # %a -> expected: ÅÚ 1153s # %a -> actual: ÅÚ 1153s # %A -> expected: ÅÚÍËÆü 1153s # %A -> actual: ÅÚÍËÆü 1153s # %b -> expected: 10·î 1153s # %b -> actual: 10·î 1153s # %B -> expected: 10·î 1153s # %B -> actual: 10·î 1153s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1153s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1153s # %C -> expected: 20 1153s # %C -> actual: 20 1153s # %d -> expected: 24 1153s # %d -> actual: 24 1153s # %d -> expected: 01 1153s # %d -> actual: 01 1153s # %e -> expected: 24 1153s # %e -> actual: 24 1153s # %h -> expected: 10·î 1153s # %h -> actual: 10·î 1153s # %H -> expected: 00 1153s # %H -> actual: 00 1153s # %H -> expected: 15 1153s # %H -> actual: 15 1153s # %I -> expected: 12 1153s # %I -> actual: 12 1153s # %I -> expected: 12 1153s # %I -> actual: 12 1153s # %I -> expected: 03 1153s # %I -> actual: 03 1153s # %j -> expected: 297 1153s # %j -> actual: 297 1153s # %k -> expected: ?0 1153s # %k -> actual: ?0 1153s # %k -> expected: 13 1153s # %k -> actual: 13 1153s # %l -> expected: 12 1153s # %l -> actual: 12 1153s # %I -> expected: 12 1153s # %I -> actual: 12 1153s # %l -> expected: ?1 1153s # %l -> actual: ?1 1153s # %l -> expected: 10 1153s # %l -> actual: 10 1153s # %m -> expected: 10 1153s # %m -> actual: 10 1153s # %M -> expected: 00 1153s # %M -> actual: 00 1153s # %p -> expected: ¸áÁ° 1153s # %p -> actual: ¸áÁ° 1153s # %p -> expected: ¸á¸å 1153s # %p -> actual: ¸á¸å 1153s # %P -> expected: ¸áÁ° 1153s # %P -> actual: ¸áÁ° 1153s # %P -> expected: ¸á¸å 1153s # %P -> actual: ¸á¸å 1153s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 1153s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 1153s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 1153s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 1153s # %R -> expected: 00:00 1153s # %R -> actual: 00:00 1153s # %R -> expected: 13:13 1153s # %R -> actual: 13:13 1153s # %S -> expected: 00 1153s # %S -> actual: 00 1153s # %t -> expected: 1153s # %t -> actual: 1153s # %u -> expected: 6 1153s # %u -> actual: 6 1153s # %x -> expected: 2009ǯ10·î24Æü 1153s # %x -> actual: 2009ǯ10·î24Æü 1153s # %X -> expected: 00»þ00ʬ00Éà 1153s # %X -> actual: 00»þ00ʬ00Éà 1153s # %X -> expected: 13»þ14ʬ15Éà 1153s # %X -> actual: 13»þ14ʬ15Éà 1153s # %y -> expected: 09 1153s # %y -> actual: 09 1153s # %Y -> expected: 2009 1153s # %Y -> actual: 2009 1153s # %% -> expected: % 1153s # %% -> actual: % 1153s # % -> expected: 1153s # % -> actual: 1153s # %9 -> expected: (null) 1153s # %9 -> actual: (null) 1153s # %Ec -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1153s # %Ec -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1153s # %EC -> expected: 20 1153s # %EC -> actual: 20 1153s # %Ex -> expected: 2009ǯ10·î24Æü 1153s # %Ex -> actual: 2009ǯ10·î24Æü 1153s # %EX -> expected: 00»þ00ʬ00Éà 1153s # %EX -> actual: 00»þ00ʬ00Éà 1153s # %Ey -> expected: 09 1153s # %Ey -> actual: 09 1153s # %EY -> expected: 2009 1153s # %EY -> actual: 2009 1153s ok 33 /GDateTime/non_utf8_printf 1153s # ???? -> expected: ???? 1153s # ???? -> actual: ???? 1153s # %H?%M -> expected: 23?15 1153s # %H?%M -> actual: 23?15 1153s # %H?%M -> expected: 23?15 1153s # %H?%M -> actual: 23?15 1153s ok 34 /GDateTime/format_unrepresentable 1153s ok 35 /GDateTime/format_iso8601 1153s ok 36 /GDateTime/strftime 1153s # %d -> expected: 01 1153s # %d -> actual: 01 1153s # %_d -> expected: 1 1153s # %_d -> actual: 1 1153s # %-d -> expected: 1 1153s # %-d -> actual: 1 1153s # %0d -> expected: 01 1153s # %0d -> actual: 01 1153s # %d -> expected: 21 1153s # %d -> actual: 21 1153s # %_d -> expected: 21 1153s # %_d -> actual: 21 1153s # %-d -> expected: 21 1153s # %-d -> actual: 21 1153s # %0d -> expected: 21 1153s # %0d -> actual: 21 1153s # %e -> expected:  1 1153s # %e -> actual:  1 1153s # %_e -> expected: 1 1153s # %_e -> actual: 1 1153s # %-e -> expected: 1 1153s # %-e -> actual: 1 1153s # %0e -> expected: 01 1153s # %0e -> actual: 01 1153s # %e -> expected: 21 1153s # %e -> actual: 21 1153s # %_e -> expected: 21 1153s # %_e -> actual: 21 1153s # %-e -> expected: 21 1153s # %-e -> actual: 21 1153s # %0e -> expected: 21 1153s # %0e -> actual: 21 1153s # %a -> expected: Thu 1153s # %a -> actual: Thu 1153s # %^a -> expected: THU 1153s # %^a -> actual: THU 1153s # %#a -> expected: THU 1153s # %#a -> actual: THU 1153s # %A -> expected: Thursday 1153s # %A -> actual: Thursday 1153s # %^A -> expected: THURSDAY 1153s # %^A -> actual: THURSDAY 1153s # %#A -> expected: THURSDAY 1153s # %#A -> actual: THURSDAY 1153s # %b -> expected: Jan 1153s # %b -> actual: Jan 1153s # %^b -> expected: JAN 1153s # %^b -> actual: JAN 1153s # %#b -> expected: JAN 1153s # %#b -> actual: JAN 1153s # %B -> expected: January 1153s # %B -> actual: January 1153s # %^B -> expected: JANUARY 1153s # %^B -> actual: JANUARY 1153s # %#B -> expected: JANUARY 1153s # %#B -> actual: JANUARY 1153s # %h -> expected: Jan 1153s # %h -> actual: Jan 1153s # %^h -> expected: JAN 1153s # %^h -> actual: JAN 1153s # %#h -> expected: JAN 1153s # %#h -> actual: JAN 1153s # %Z -> expected: UTC 1153s # %Z -> actual: UTC 1153s # %^Z -> expected: UTC 1153s # %^Z -> actual: UTC 1153s # %#Z -> expected: utc 1153s # %#Z -> actual: utc 1153s # %H -> expected: 01 1153s # %H -> actual: 01 1153s # %_H -> expected: 1 1153s # %_H -> actual: 1 1153s # %-H -> expected: 1 1153s # %-H -> actual: 1 1153s # %0H -> expected: 01 1153s # %0H -> actual: 01 1153s # %H -> expected: 21 1153s # %H -> actual: 21 1153s # %_H -> expected: 21 1153s # %_H -> actual: 21 1153s # %-H -> expected: 21 1153s # %-H -> actual: 21 1153s # %0H -> expected: 21 1153s # %0H -> actual: 21 1153s # %I -> expected: 01 1153s # %I -> actual: 01 1153s # %_I -> expected: 1 1153s # %_I -> actual: 1 1153s # %-I -> expected: 1 1153s # %-I -> actual: 1 1153s # %0I -> expected: 01 1153s # %0I -> actual: 01 1153s # %I -> expected: 11 1153s # %I -> actual: 11 1153s # %_I -> expected: 11 1153s # %_I -> actual: 11 1153s # %-I -> expected: 11 1153s # %-I -> actual: 11 1153s # %0I -> expected: 11 1153s # %0I -> actual: 11 1153s # %k -> expected:  1 1153s # %k -> actual:  1 1153s # %_k -> expected: 1 1153s # %_k -> actual: 1 1153s # %-k -> expected: 1 1153s # %-k -> actual: 1 1153s # %0k -> expected: 01 1153s # %0k -> actual: 01 1153s # %l -> expected:  1 1153s # %l -> actual:  1 1153s # %_l -> expected: 1 1153s # %_l -> actual: 1 1153s # %-l -> expected: 1 1153s # %-l -> actual: 1 1153s # %0l -> expected: 01 1153s # %0l -> actual: 01 1153s # %l -> expected: 11 1153s # %l -> actual: 11 1153s # %_l -> expected: 11 1153s # %_l -> actual: 11 1153s # %-l -> expected: 11 1153s # %-l -> actual: 11 1153s # %0l -> expected: 11 1153s # %0l -> actual: 11 1153s # %p -> expected: AM 1153s # %p -> actual: AM 1153s # %^p -> expected: AM 1153s # %^p -> actual: AM 1153s # %#p -> expected: am 1153s # %#p -> actual: am 1153s # %P -> expected: am 1153s # %P -> actual: am 1153s # %^P -> expected: AM 1153s # %^P -> actual: AM 1153s # %#P -> expected: am 1153s # %#P -> actual: am 1153s # %OH -> expected: Û²Û³ 1153s # %OH -> actual: Û²Û³ 1153s # %OI -> expected: Û±Û± 1153s # %OI -> actual: Û±Û± 1153s # %OM -> expected: Û°Û° 1153s # %OM -> actual: Û°Û° 1153s # %Om -> expected: Û°Û· 1153s # %Om -> actual: Û°Û· 1153s # %0Om -> expected: Û°Û· 1153s # %0Om -> actual: Û°Û· 1153s # %-Om -> expected: Û· 1153s # %-Om -> actual: Û· 1153s # %_Om -> expected: Û· 1153s # %_Om -> actual: Û· 1153s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1153s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1153s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1153s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1153s # %C -> expected: 20 1153s # %C -> actual: 20 1153s # %EC -> expected: 20 1153s # %EC -> actual: 20 1153s # %x -> expected: 02/01/09 1153s # %x -> actual: 02/01/09 1153s # %Ex -> expected: 02/01/09 1153s # %Ex -> actual: 02/01/09 1153s # %X -> expected: 01:02:03 1153s # %X -> actual: 01:02:03 1153s # %EX -> expected: 01:02:03 1153s # %EX -> actual: 01:02:03 1153s # %y -> expected: 09 1153s # %y -> actual: 09 1153s # %Ey -> expected: 09 1153s # %Ey -> actual: 09 1153s # %Y -> expected: 2009 1153s # %Y -> actual: 2009 1153s # %EY -> expected: 2009 1153s # %EY -> actual: 2009 1153s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1153s # Bug Reference: http://bugzilla.gnome.org/749206 1153s # %B -> expected: January 1153s # %B -> actual: January 1153s # %OB -> expected: February 1153s # %OB -> actual: February 1153s # %b -> expected: Mar 1153s # %b -> actual: Mar 1153s # %Ob -> expected: Apr 1153s # %Ob -> actual: Apr 1153s # %h -> expected: May 1153s # %h -> actual: May 1153s # %Oh -> expected: Jun 1153s # %Oh -> actual: Jun 1153s # %B -> expected: Juli 1153s # %B -> actual: Juli 1153s # %OB -> expected: August 1153s # %OB -> actual: August 1153s # %b -> expected: Sep 1153s # %b -> actual: Sep 1153s # %Ob -> expected: Okt 1153s # %Ob -> actual: Okt 1153s # %h -> expected: Nov 1153s # %h -> actual: Nov 1153s # %Oh -> expected: Dez 1153s # %Oh -> actual: Dez 1153s # %B -> expected: enero 1153s # %B -> actual: enero 1153s # %OB -> expected: febrero 1153s # %OB -> actual: febrero 1153s # %b -> expected: mar 1153s # %b -> actual: mar 1153s # %Ob -> expected: abr 1153s # %Ob -> actual: abr 1153s # %h -> expected: may 1153s # %h -> actual: may 1153s # %Oh -> expected: jun 1153s # %Oh -> actual: jun 1153s # %B -> expected: juillet 1153s # %B -> actual: juillet 1153s # %OB -> expected: août 1153s # %OB -> actual: août 1153s # %b -> expected: sept. 1153s # %b -> actual: sept. 1153s # %Ob -> expected: oct. 1153s # %Ob -> actual: oct. 1153s # %h -> expected: nov. 1153s # %h -> actual: nov. 1153s # %Oh -> expected: déc. 1153s # %Oh -> actual: déc. 1153s # %B -> expected: ΙανουαÏίου 1153s # %B -> actual: ΙανουαÏίου 1153s # %B -> expected: ΦεβÏουαÏίου 1153s # %B -> actual: ΦεβÏουαÏίου 1153s # %B -> expected: ΜαÏτίου 1153s # %B -> actual: ΜαÏτίου 1153s # %OB -> expected: ΑπÏίλιος 1153s # %OB -> actual: ΑπÏίλιος 1153s # %OB -> expected: Μάιος 1153s # %OB -> actual: Μάιος 1153s # %OB -> expected: ΙοÏνιος 1153s # %OB -> actual: ΙοÏνιος 1153s # %b -> expected: Ιουλ 1153s # %b -> actual: Ιουλ 1153s # %Ob -> expected: ΑÏγ 1153s # %Ob -> actual: ΑÏγ 1153s # %B -> expected: svibnja 1153s # %B -> actual: svibnja 1153s # %B -> expected: lipnja 1153s # %B -> actual: lipnja 1153s # %B -> expected: srpnja 1153s # %B -> actual: srpnja 1153s # %OB -> expected: Kolovoz 1153s # %OB -> actual: kolovoz 1153s # %OB -> expected: Rujan 1153s # %OB -> actual: rujan 1153s # %OB -> expected: Listopad 1153s # %OB -> actual: listopad 1153s # %b -> expected: Stu 1153s # %b -> actual: stu 1153s # %Ob -> expected: Pro 1153s # %Ob -> actual: pro 1153s # %B -> expected: sausio 1153s # %B -> actual: sausio 1153s # %B -> expected: vasario 1153s # %B -> actual: vasario 1153s # %B -> expected: kovo 1153s # %B -> actual: kovo 1153s # %OB -> expected: balandis 1153s # %OB -> actual: balandis 1153s # %OB -> expected: gegužė 1153s # %OB -> actual: gegužė 1153s # %OB -> expected: birželis 1153s # %OB -> actual: birželis 1153s # %b -> expected: liep. 1153s # %b -> actual: liep. 1153s # %Ob -> expected: rugp. 1153s # %Ob -> actual: rugp. 1153s # %B -> expected: maja 1153s # %B -> actual: maja 1153s # %B -> expected: czerwca 1153s # %B -> actual: czerwca 1153s # %B -> expected: lipca 1153s # %B -> actual: lipca 1153s # %OB -> expected: sierpieÅ„ 1153s # %OB -> actual: sierpieÅ„ 1153s # %OB -> expected: wrzesieÅ„ 1153s # %OB -> actual: wrzesieÅ„ 1153s # %OB -> expected: październik 1153s # %OB -> actual: październik 1153s # %b -> expected: lis 1153s # %b -> actual: lis 1153s # %Ob -> expected: gru 1153s # %Ob -> actual: gru 1153s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 1153s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 1153s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1153s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1153s # %B -> expected: марта 1153s # %B -> actual: марта 1153s # %OB -> expected: Ðпрель 1153s # %OB -> actual: Ðпрель 1153s # %OB -> expected: Май 1153s # %OB -> actual: Май 1153s # %OB -> expected: Июнь 1153s # %OB -> actual: Июнь 1153s # %b -> expected: июл 1153s # %b -> actual: июл 1153s # %Ob -> expected: авг 1153s # %Ob -> actual: авг 1153s # %b -> expected: Ð¼Ð°Ñ 1153s # %b -> actual: Ð¼Ð°Ñ 1153s # %Ob -> expected: май 1153s # %Ob -> actual: май 1153s ok 38 /GDateTime/month_names 1153s ok 39 /GDateTime/to_local 1153s ok 40 /GDateTime/to_unix 1153s ok 41 /GDateTime/to_timeval 1153s ok 42 /GDateTime/to_utc 1153s ok 43 /GDateTime/now_utc 1153s ok 44 /GDateTime/dst 1153s # Bug Reference: http://bugzilla.gnome.org/642935 1153s ok 45 /GDateTime/test_z 1155s ok 46 /GDateTime/test-all-dates 1155s # slow test /GDateTime/test-all-dates executed in 1.21 secs 1155s ok 47 /GDateTime/unix_usec 1155s # Start of new_from_unix tests 1155s # Bug Reference: http://bugzilla.gnome.org/782089 1155s ok 48 /GDateTime/new_from_unix/overflow 1155s # End of new_from_unix tests 1155s # Start of new_from_timeval tests 1155s # Bug Reference: http://bugzilla.gnome.org/782089 1155s # Maximum supported GTimeVal.tv_sec = 253402300799 1155s ok 49 /GDateTime/new_from_timeval/overflow 1155s # End of new_from_timeval tests 1155s # Start of new_from_iso8601 tests 1155s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1155s # Vector 0: 1990-11-01T10:21:17Z 1155s # Vector 1: 19901101T102117Z 1155s # Vector 2: 1970-01-01T00:00:17.12Z 1155s # Vector 3: 1970-01-01T00:00:17.1234Z 1155s # Vector 4: 1970-01-01T00:00:17.123456Z 1155s # Vector 5: 1980-02-22T12:36:00+02:00 1155s # Vector 6: 1990-12-31T15:59:60-08:00 1155s # Vector 7: 1155s # Vector 8: x 1155s # Vector 9: 123x 1155s # Vector 10: 2001-10+x 1155s # Vector 11: 1980-02-22T 1155s # Vector 12: 2001-10-08Tx 1155s # Vector 13: 2001-10-08T10:11x 1155s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1155s # Vector 15: 1980-02-22T10:36:00Zulu 1155s # Vector 16: 2T0+819855292164632335 1155s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1155s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1155s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1155s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1155s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1155s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1155s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1155s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1155s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1155s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1155s # Vector 27: 20180803T140805.446178377+0100 1155s # Vector 28: 21474836480803T140805.446178377+0100 1155s # Vector 29: 20181303T140805.446178377+0100 1155s # Vector 30: 20180003T140805.446178377+0100 1155s # Vector 31: 20180800T140805.446178377+0100 1155s # Vector 32: 20180832T140805.446178377+0100 1155s # Vector 33: 20180803T240805.446178377+0100 1155s # Vector 34: 20180803T146005.446178377+0100 1155s # Vector 35: 20180803T140863.446178377+0100 1155s # Vector 36: 20180803T140805.446178377+10000 1155s # Vector 37: -0005-01-01T00:00:00Z 1155s # Vector 38: 2018-08-06 1155s # Vector 39: 20180803T140805,446178377+0100 1155s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1155s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1155s # Vector 42: 1990-11-01T10:21:17 1155s # Vector 43: 1719W462 407777-07 1155s # Vector 44: 4011090 260528Z 1155s # Vector 45: 0000W011 228214-22 1155s ok 50 /GDateTime/new_from_iso8601/2 1155s # End of new_from_iso8601 tests 1155s # Start of format_mixed tests 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1155s # %b -> expected: mar 1155s # %b -> actual: Mar 1155s # %B -> expected: march 1155s # %B -> actual: March 1155s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1155s # %b -> expected: mar 1155s # %b -> actual: Mar 1155s # %B -> expected: march 1155s # %B -> actual: March 1155s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1155s # %b -> expected: Mär 1155s # %b -> actual: Mär 1155s # %B -> expected: März 1155s # %B -> actual: März 1155s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1155s # %b -> expected: Mär 1155s # %b -> actual: Mär 1155s # %B -> expected: März 1155s # %B -> actual: März 1155s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1155s # End of format_mixed tests 1155s # Start of strftime tests 1155s # %r -> expected: (null) 1155s # %r -> actual: (null) 1155s ok 55 /GDateTime/strftime/error_handling 1155s # End of strftime tests 1155s # Start of eras tests 1155s ok 56 /GDateTime/eras/japan # SKIP nl_langinfo(ERA) not supported, skipping era tests 1155s ok 57 /GDateTime/eras/thailand # SKIP nl_langinfo(ERA) not supported, skipping era tests 1155s # Vector 0: 1155s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1155s # 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å¹´ 1155s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 1155s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 1155s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 1155s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 1155s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 1155s # Vector 8: + 1155s # Vector 9: +: 1155s # Vector 10: +:: 1155s # Vector 11: +:200 1155s # Vector 12: +:2nonsense 1155s # Vector 13: +:2nonsense: 1155s # Vector 14: +:2: 1155s # Vector 15: +:2:: 1155s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 1155s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 1155s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 1155s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 1155s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 1155s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 1155s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 1155s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 1155s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 1155s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 1155s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 1155s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 1155s # Vector 28: +:2:2020/01/01 1155s # Vector 29: +:2:2020/01/01: 1155s # Vector 30: +:2:2020/01/01:: 1155s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 1155s # Vector 32: +:2:2020/01/01:+* 1155s # Vector 33: +:2:2020/01/01:+*: 1155s # Vector 34: +:2:2020/01/01:+*:: 1155s # Vector 35: +:2:2020/01/01:+*:令和 1155s # Vector 36: +:2:2020/01/01:+*:令和: 1155s # Vector 37: +:2:2020/01/01:+*:令和:; 1155s ok 58 /GDateTime/eras/parsing 1155s # End of eras tests 1155s # End of GDateTime tests 1155s # Start of GTimeZone tests 1155s ok 59 /GTimeZone/find-interval 1155s ok 60 /GTimeZone/adjust-time 1155s ok 61 /GTimeZone/no-header 1155s ok 62 /GTimeZone/no-header-identifier 1155s ok 63 /GTimeZone/posix-parse 1155s # Bug Reference: http://bugzilla.gnome.org/697715 1155s ok 64 /GTimeZone/floating-point 1155s # System time zone identifier: Etc/UTC 1155s ok 65 /GTimeZone/identifier 1155s # Vector 0: -158400 1155s # Vector 1: -10000 1155s # Vector 2: -3600 1155s # Vector 3: -61 1155s # Vector 4: -60 1155s # Vector 5: -59 1155s # Vector 6: 0 1155s # Vector 7: 59 1155s # Vector 8: 60 1155s # Vector 9: 61 1155s # Vector 10: 3600 1155s # Vector 11: 10000 1155s # Vector 12: 158400 1155s ok 66 /GTimeZone/new-offset 1155s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1155s ok 67 /GTimeZone/parse-rfc8536 1155s # /GTimeZone/caching summary: GTimeZone instances are cached 1155s ok 68 /GTimeZone/caching 1155s # End of GTimeZone tests 1155s ok - glib/gdatetime.test 1155s # Running test: glib/sandbox.test 1155s TAP version 14 1155s # random seed: R02S55385553b22b4d9dec64e35ed79a1e29 1155s 1..4 1155s # Start of sandbox tests 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_276A22/sandbox/none/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_276A22/sandbox/none/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_276A22/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_276A22/sandbox/none/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_276A22/sandbox/none/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_276A22/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_276A22/sandbox/none/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_276A22/sandbox/none/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_276A22/sandbox/none/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_276A22/sandbox/none/.dirs/runtime 1155s ok 1 /sandbox/none 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_276A22/sandbox/snap/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_276A22/sandbox/snap/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_276A22/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_276A22/sandbox/snap/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_276A22/sandbox/snap/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_276A22/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_276A22/sandbox/snap/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_276A22/sandbox/snap/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_276A22/sandbox/snap/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_276A22/sandbox/snap/.dirs/runtime 1155s # Created snap.yaml in /tmp/test_sandbox_276A22/snap/current/meta/snap.yaml 1155s ok 2 /sandbox/snap 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_276A22/sandbox/classic-snap/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_276A22/sandbox/classic-snap/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_276A22/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_276A22/sandbox/classic-snap/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_276A22/sandbox/classic-snap/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_276A22/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_276A22/sandbox/classic-snap/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_276A22/sandbox/classic-snap/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_276A22/sandbox/classic-snap/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_276A22/sandbox/classic-snap/.dirs/runtime 1155s # Created snap.yaml in /tmp/test_sandbox_276A22/snap/current/meta/snap.yaml 1155s ok 3 /sandbox/classic-snap 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_276A22/sandbox/flatpak/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_276A22/sandbox/flatpak/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_276A22/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_276A22/sandbox/flatpak/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_276A22/sandbox/flatpak/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_276A22/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_276A22/sandbox/flatpak/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_276A22/sandbox/flatpak/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_276A22/sandbox/flatpak/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_276A22/sandbox/flatpak/.dirs/runtime 1155s # Creating .flatpak-info in /tmp/test_sandbox_276A22/sandbox/flatpak/.dirs/runtime/.flatpak-info 1155s ok 4 /sandbox/flatpak 1155s # End of sandbox tests 1155s ok - glib/sandbox.test 1155s # Running test: glib/rand.test 1155s TAP version 14 1155s # random seed: R02Se39b55fbd7d10efff2ec1ba76a7574dc 1155s 1..2 1155s # Start of rand tests 1155s ok 1 /rand/test-rand 1155s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1155s ok 2 /rand/double-range 1155s # End of rand tests 1155s ok - glib/rand.test 1155s # Running test: glib/1bit-mutex.test 1155s TAP version 14 1155s # random seed: R02Sca7d9340cf2f2e30485332f5c502c295 1155s 1..2 1155s # Start of glib tests 1155s # Start of 1bit-mutex tests 1157s ok 1 /glib/1bit-mutex/int 1157s # slow test /glib/1bit-mutex/int executed in 2.73 secs 1157s # Executing: glib/1bit-mutex.test 1160s ok 2 /glib/1bit-mutex/pointer 1160s # slow test /glib/1bit-mutex/pointer executed in 2.75 secs 1160s # End of 1bit-mutex tests 1160s # End of glib tests 1160s ok - glib/1bit-mutex.test 1160s # Running test: glib/gobject-query.py.test 1160s TAP version 13 1160s ok 1 __main__.TestGobjectQuery.test_froots 1160s # gobject-query: /usr/bin/gobject-query 1160s # Running: ['/usr/bin/gobject-query', 'froots'] 1160s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1160s # Output: ├void 1160s # ├GInterface 1160s # │ â””GTypePlugin 1160s # ├gchar 1160s # ├guchar 1160s # ├gboolean 1160s # ├gint 1160s # ├guint 1160s # ├glong 1160s # ├gulong 1160s # ├gint64 1160s # ├guint64 1160s # ├GEnum 1160s # ├GFlags 1160s # ├gfloat 1160s # ├gdouble 1160s # ├gchararray 1160s # ├gpointer 1160s # │ â””GType 1160s # ├GBoxed 1160s # │ â””GValueArray 1160s # ├GParam 1160s # │ ├GParamChar 1160s # │ ├GParamUChar 1160s # │ ├GParamBoolean 1160s # │ ├GParamInt 1160s # │ ├GParamUInt 1160s # │ ├GParamLong 1160s # │ ├GParamULong 1160s # │ ├GParamInt64 1160s # │ ├GParamUInt64 1160s # │ ├GParamUnichar 1160s # │ ├GParamEnum 1160s # │ ├GParamFlags 1160s # │ ├GParamFloat 1160s # │ ├GParamDouble 1160s # │ ├GParamString 1160s # │ ├GParamParam 1160s # │ ├GParamBoxed 1160s # │ ├GParamPointer 1160s # │ ├GParamValueArray 1160s # │ ├GParamObject 1160s # │ ├GParamOverride 1160s # │ ├GParamGType 1160s # │ â””GParamVariant 1160s # ├GObject 1160s # â””GVariant 1160s ok 2 __main__.TestGobjectQuery.test_help 1160s # gobject-query: /usr/bin/gobject-query 1160s # Running: ['/usr/bin/gobject-query', '--help'] 1160s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1160s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1160s # -r specify root type 1160s # -n don't descend type tree 1160s # -h show help 1160s # -b specify indent string 1160s # -i specify incremental indent string 1160s # -s specify line spacing 1160s # qualifiers: 1160s # froots iterate over fundamental roots 1160s # tree print type tree 1160s ok 3 __main__.TestGobjectQuery.test_tree 1160s # gobject-query: /usr/bin/gobject-query 1160s # Running: ['/usr/bin/gobject-query', 'tree'] 1160s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1160s # Output: GObject 1160s ok 4 __main__.TestGobjectQuery.test_version 1160s # gobject-query: /usr/bin/gobject-query 1160s # Running: ['/usr/bin/gobject-query', '--version'] 1160s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1160s # Output: 2.83.3 1160s 1..4 1160s ok - glib/gobject-query.py.test 1160s # Running test: glib/macros-c-99.test 1160s TAP version 14 1160s # random seed: R02Sdcd40c31ec72a1d6cc46c8d7f65afc78 1160s 1..4 1160s # Start of C tests 1160s ok 1 /C/standard-99 1160s # End of C tests 1160s # Start of alignof tests 1160s ok 2 /alignof/fallback 1160s # End of alignof tests 1160s # Start of assert tests 1160s ok 3 /assert/static 1160s # End of assert tests 1160s # Start of struct tests 1160s ok 4 /struct/sizeof_member 1160s # End of struct tests 1160s ok - glib/macros-c-99.test 1160s # Running test: glib/converter-stream.test 1160s TAP version 14 1160s # random seed: R02S86adf2a1c548b680e4cd6270f52bd77e 1160s 1..17 1160s # Start of converter tests 1160s ok 1 /converter/basics 1160s # End of converter tests 1160s # Start of converter-input-stream tests 1160s ok 2 /converter-input-stream/expander 1160s ok 3 /converter-input-stream/compressor 1160s # Start of truncation tests 1160s ok 4 /converter-input-stream/truncation/zlib 1160s ok 5 /converter-input-stream/truncation/gzip 1160s ok 6 /converter-input-stream/truncation/raw 1160s # End of truncation tests 1160s # Start of charset tests 1160s ok 7 /converter-input-stream/charset/utf8->latin1 1160s ok 8 /converter-input-stream/charset/latin1->utf8 1160s ok 9 /converter-input-stream/charset/fallbacks 1160s # End of charset tests 1160s # End of converter-input-stream tests 1160s # Start of converter-output-stream tests 1160s # Start of roundtrip tests 1160s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1160s ok 10 /converter-output-stream/roundtrip/zlib-0 1160s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1161s ok 11 /converter-output-stream/roundtrip/zlib-9 1161s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1161s ok 12 /converter-output-stream/roundtrip/gzip-0 1161s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1161s ok 13 /converter-output-stream/roundtrip/gzip-9 1161s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1161s ok 14 /converter-output-stream/roundtrip/raw-0 1161s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1161s ok 15 /converter-output-stream/roundtrip/raw-9 1161s # End of roundtrip tests 1161s # End of converter-output-stream tests 1161s # Start of converter-stream tests 1161s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1161s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa0289ce80 and GSocketClientAsyncConnectData 0x2aa02c88270 1161s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1161s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1161s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa028a5fe0 for GSocketClientAsyncConnectData 0x2aa02c88270 1161s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1161s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1161s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1161s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1161s ok 16 /converter-stream/pollable 1161s ok 17 /converter-stream/leftover 1161s # End of converter-stream tests 1161s ok - glib/converter-stream.test 1161s # Running test: glib/onceinit.test 1161s TAP version 14 1161s # random seed: R02S892a16c6f7e4a833496616e941bbfa27 1161s 1..1 1161s # Start of thread tests 1161s ok 1 /thread/onceinit 1161s # End of thread tests 1161s ok - glib/onceinit.test 1161s # Running test: glib/live-g-file.test 1161s TAP version 14 1161s # random seed: R02S4dc7470897e6cc84300cec0014457d23 1161s 1..13 1161s # Start of live-g-file tests 1161s # Cleaning target testing structure in 'testdir_live-g-file'... 1161s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1161s ok 1 /live-g-file/prep_clean_structure 1161s # 1161s # Going to create testing structure in 'testdir_live-g-file'... 1161s # Creating directory 'dir1'... 1161s # Creating directory 'dir1/subdir'... 1161s # Creating directory 'dir2'... 1161s # Creating directory 'dir-target'... 1161s # Creating directory 'dir_no-access'... 1161s # Creating directory 'dir_no-write'... 1161s # Creating file 'target-file'... 1161s # Creating file 'normal_file'... 1161s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1161s # Creating file 'executable_file'... 1161s # Creating file 'private_file'... 1161s # Creating file 'normal_file2'... 1161s # Creating file 'readonly_file'... 1161s # Creating file 'UTF_pr?i?lis? z'... 1161s # Creating directory 'dir_pr?i?lis? z'... 1161s # Creating symlink 'lost_symlink' --> 'nowhere'... 1161s # Creating directory 'dir_hidden'... 1161s # Creating file 'dir_hidden/.a-hidden-file'... 1161s # Creating file 'dir_hidden/file-in-.hidden1'... 1161s # Creating file 'dir_hidden/file-in-.hidden2'... 1161s # Creating pattern file... 1161s # done. 1161s ok 2 /live-g-file/create_structure 1161s # Testing sample structure in 'testdir_live-g-file'... 1161s # Testing file 'dir1'... 1161s # Testing file 'dir1/subdir'... 1161s # Testing file 'dir2'... 1161s # Testing file 'dir-target'... 1161s # Testing file 'dir_no-access'... 1161s # Testing file 'dir_no-write'... 1161s # Testing file 'target-file'... 1161s # Testing file 'normal_file'... 1161s # Testing file 'normal_file-symlink'... 1161s # Testing file 'executable_file'... 1161s # Testing file 'private_file'... 1161s # Testing file 'normal_file2'... 1161s # Testing file 'readonly_file'... 1161s # Testing file 'UTF_pr?i?lis? z'... 1161s # Testing file 'dir_pr?i?lis? z'... 1161s # Testing file 'lost_symlink'... 1161s # Testing file 'dir_hidden'... 1161s # Testing file 'dir_hidden/.a-hidden-file'... 1161s # Testing file 'dir_hidden/file-in-.hidden1'... 1161s # Testing file 'dir_hidden/file-in-.hidden2'... 1161s # Testing pattern file... 1161s # read 65536 bytes, total = 65536 of 65536. 1161s ok 3 /live-g-file/test_initial_structure 1161s # Traversing through the sample structure in 'testdir_live-g-file'... 1161s # Found file dir1, relative to root: dir1 1161s # Found file subdir, relative to root: dir1/subdir 1161s # Found file dir2, relative to root: dir2 1161s # Found file dir-target, relative to root: dir-target 1161s # Found file dir_no-access, relative to root: dir_no-access 1161s # Found file dir_no-write, relative to root: dir_no-write 1161s # Found file target-file, relative to root: target-file 1161s # Found file normal_file, relative to root: normal_file 1161s # Found file normal_file-symlink, relative to root: normal_file-symlink 1161s # Found file executable_file, relative to root: executable_file 1161s # Found file private_file, relative to root: private_file 1161s # Found file normal_file2, relative to root: normal_file2 1161s # Found file readonly_file, relative to root: readonly_file 1161s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1161s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1161s # Found file lost_symlink, relative to root: lost_symlink 1161s # Found file dir_hidden, relative to root: dir_hidden 1161s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1161s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1161s # Found file .hidden, relative to root: dir_hidden/.hidden 1161s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1161s # Found file pattern_file, relative to root: pattern_file 1161s ok 4 /live-g-file/test_traverse_structure 1161s # Test enumerate 'testdir_live-g-file'... 1161s # Testing file 'dir_no-access' 1161s # Testing file 'normal_file' 1161s # Testing file 'normal_file-symlink' 1161s # Testing file 'not_exists' 1161s # Testing file 'not_exists' 1161s # Testing file 'not_exists2' 1161s # Testing file 'not_exists3' 1161s # Testing file 'not_exists4' 1161s # Testing file 'dir_no-execute/file' 1161s ok 5 /live-g-file/test_enumerate 1161s # test_open: 'dir1' 1161s # test_open: 'dir_no-access' 1161s # test_open: 'target-file' 1161s # test_open: 'normal_file-symlink' 1161s # test_open: 'executable_file' 1161s # test_open: 'private_file' 1161s # test_open: 'readonly_file' 1161s # test_open: 'UTF_pr?i?lis? z' 1161s # test_open: 'pattern_file' 1161s # test_open: 'not_exists' 1161s # test_open: 'dir_no-execute/file' 1161s # test_open: 'lost_symlink' 1161s ok 6 /live-g-file/test_open 1161s # test_create: 'dir1' 1161s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir1?: Is a directory 1161s # test_create: 'dir1/subdir' 1161s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir1/subdir?: Is a directory 1161s # test_create: 'dir2' 1161s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir2?: File exists 1161s # test_create: 'normal_file' 1161s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/normal_file?: File exists 1161s # test_create: 'executable_file' 1161s # test_create: 'private_file' 1161s # test_create: 'normal_file2' 1161s # test_create: 'UTF_pr?i?lis? z' 1161s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1161s # test_create: 'dir_pr?i?lis? z' 1161s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1161s # test_create: 'pattern_file' 1161s # test_create: 'not_exists2' 1161s # test_create: 'not_exists3' 1161s # test_create: 'not_exists4' 1161s ok 7 /live-g-file/test_create 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1161s # res = 0, error code 25 = Can?t recursively copy directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'dir1/subdir' --> '.' 1161s # res = 0, error code 2 = Target file exists 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'dir1/subdir' --> 'target-file' 1161s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1161s # res = 0, error code 25 = Can?t recursively copy directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1161s # res = 0, error code 25 = Can?t recursively copy directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1161s # res = 0, error code 25 = Can?t recursively copy directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'dir2' --> 'dir-target' 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'dir-target' --> 'dir-target' 1161s # res = 0, error code 25 = Can?t recursively copy directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'dir-target' --> '.' 1161s # res = 0, error code 2 = Target file exists 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'dir-target' --> 'target-file' 1161s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/target-file/dir-target?: Not a directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'dir-target' --> 'not_exists' 1161s # res = 0, error code 25 = Can?t recursively copy directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'dir-target' --> 'dir_no-access' 1161s # res = 0, error code 25 = Can?t recursively copy directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'dir-target' --> 'dir_no-write' 1161s # res = 0, error code 25 = Can?t recursively copy directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'target-file' --> 'dir-target' 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'target-file' --> '.' 1161s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/target-file?: File exists 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'target-file' --> 'target-file' 1161s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/target-file/target-file?: Not a directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'target-file' --> 'not_exists' 1161s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/not_exists/target-file?: No such file or directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'target-file' --> 'dir_no-access' 1161s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'target-file' --> 'dir_no-write' 1161s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'normal_file-symlink' --> '.' 1161s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/normal_file-symlink: File exists 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1161s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1161s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1161s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1161s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'executable_file' --> 'dir-target' 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'executable_file' --> 'dir-target' 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'executable_file' --> '.' 1161s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/executable_file?: File exists 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'executable_file' --> 'target-file' 1161s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/target-file/executable_file?: Not a directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'executable_file' --> 'not_exists' 1161s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'executable_file' --> 'dir_no-access' 1161s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'executable_file' --> 'dir_no-write' 1161s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'private_file' --> 'dir-target' 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'private_file' --> 'dir-target' 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'private_file' --> '.' 1161s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/private_file?: File exists 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'private_file' --> 'target-file' 1161s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/target-file/private_file?: Not a directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'private_file' --> 'not_exists' 1161s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/not_exists/private_file?: No such file or directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'private_file' --> 'dir_no-access' 1161s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'private_file' --> 'dir_no-write' 1161s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'normal_file2' --> 'dir-target' 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'normal_file2' --> 'dir-target' 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'normal_file2' --> '.' 1161s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/normal_file2?: File exists 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'normal_file2' --> 'target-file' 1161s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/target-file/normal_file2?: Not a directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'normal_file2' --> 'not_exists' 1161s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1161s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1161s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1161s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1161s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1161s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1161s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1161s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'pattern_file' --> 'dir-target' 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'pattern_file' --> '.' 1161s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/pattern_file?: File exists 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'pattern_file' --> 'target-file' 1161s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/target-file/pattern_file?: Not a directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'pattern_file' --> 'not_exists' 1161s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1161s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1161s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'not_exists' --> 'dir-target' 1161s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/not_exists?: No such file or directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'not_exists' --> '.' 1161s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/not_exists?: No such file or directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'not_exists' --> 'target-file' 1161s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/not_exists?: No such file or directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'not_exists' --> 'not_exists' 1161s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/not_exists?: No such file or directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'not_exists' --> 'dir_no-access' 1161s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/not_exists?: No such file or directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'not_exists' --> 'dir_no-write' 1161s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/not_exists?: No such file or directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'not_exists' --> 'dir-target' 1161s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/not_exists: No such file or directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'lost_symlink' --> 'dir-target' 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'lost_symlink' --> '.' 1161s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/lost_symlink: File exists 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'lost_symlink' --> 'target-file' 1161s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/target-file/lost_symlink: Not a directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'lost_symlink' --> 'not_exists' 1161s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1161s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1161s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1161s ok 8 /live-g-file/test_copy_move 1161s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir1 1161s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir1: Directory not empty 1161s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir2 1161s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir2: No such file or directory 1161s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/executable_file 1161s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/readonly_file 1161s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir_pr?i?lis? z 1161s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/not_exists 1161s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/not_exists: No such file or directory 1161s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/not_exists 1161s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/not_exists: No such file or directory 1161s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir_no-execute/file 1161s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/dir_no-execute/file: No such file or directory 1161s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-NADI22/testdir_live-g-file/lost_symlink 1161s ok 9 /live-g-file/test_delete 1161s # We do not have CAP_DAC_OVERRIDE or equivalent 1161s ok 10 /live-g-file/test_make_directory_with_parents 1161s # Cleaning target testing structure in 'testdir_live-g-file'... 1161s # deleting 'dir1' 1161s # deleting 'subdir' 1161s # deleting 'dir-target' 1161s # deleting 'dir2' 1161s # deleting 'target-file' 1161s # deleting 'normal_file-symlink' 1161s # deleting 'pattern_file' 1161s # deleting 'executable_file' 1161s # deleting 'private_file' 1161s # deleting 'normal_file2' 1161s # deleting 'UTF_pr?i?lis? z' 1161s # deleting 'lost_symlink' 1161s # deleting 'dir_no-access' 1161s # deleting 'dir_no-write' 1161s # deleting 'target-file' 1161s # deleting 'normal_file' 1161s # deleting 'normal_file-symlink' 1161s # deleting 'executable_file~' 1161s # deleting 'private_file' 1161s # deleting 'normal_file2~' 1161s # deleting 'a' 1161s # deleting 'UTF_pr?i?lis? z' 1161s # deleting 'dir_hidden' 1161s # deleting '.a-hidden-file' 1161s # deleting 'file-in-.hidden1' 1161s # deleting '.hidden' 1161s # deleting 'file-in-.hidden2' 1161s # deleting 'pattern_file' 1161s # deleting 'normal_file2' 1161s # deleting 'not_exists2' 1161s # deleting 'not_exists3' 1161s # deleting 'not_exists4' 1161s ok 11 /live-g-file/final_clean 1161s # Start of test_unix_is_mountpoint tests 1161s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1161s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1161s # End of test_unix_is_mountpoint tests 1161s # End of live-g-file tests 1161s ok - glib/live-g-file.test 1161s # Running test: glib/srvtarget.test 1161s TAP version 14 1161s # random seed: R02Sc06fdb005ab6cec3485c919a80722c0c 1161s 1..1 1161s # Start of srvtarget tests 1162s ok 1 /srvtarget/srv-target-ordering 1162s # slow test /srvtarget/srv-target-ordering executed in 0.59 secs 1162s # End of srvtarget tests 1162s ok - glib/srvtarget.test 1162s # Running test: glib/autoptr-girepository.test 1162s TAP version 14 1162s # random seed: R02S49716c32e36d1e3e2762479f8ebe8eef 1162s 1..24 1162s # Start of autoptr tests 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/repository/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/repository/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/repository/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/repository/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/repository/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/repository/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/repository/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/repository/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 1 /autoptr/repository 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/typelib/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/typelib/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/typelib/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/typelib/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/typelib/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/typelib/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/typelib/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/typelib/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 2 /autoptr/typelib 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/base-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/base-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/base-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/base-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/base-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/base-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/base-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/base-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 3 /autoptr/base-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/arg-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/arg-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/arg-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/arg-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/arg-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/arg-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/arg-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/arg-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 4 /autoptr/arg-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/callable-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/callable-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/callable-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/callable-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/callable-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/callable-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/callable-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/callable-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 5 /autoptr/callable-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/callback-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/callback-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/callback-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/callback-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/callback-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/callback-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/callback-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/callback-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 6 /autoptr/callback-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/constant-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/constant-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/constant-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/constant-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/constant-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/constant-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/constant-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/constant-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 7 /autoptr/constant-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/enum-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/enum-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/enum-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/enum-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/enum-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/enum-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/enum-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/enum-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 8 /autoptr/enum-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/field-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/field-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/field-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/field-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/field-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/field-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/field-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/field-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 9 /autoptr/field-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/flags-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/flags-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/flags-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/flags-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/flags-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/flags-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/flags-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/flags-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 10 /autoptr/flags-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/function-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/function-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/function-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/function-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/function-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/function-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/function-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/function-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 11 /autoptr/function-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/interface-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/interface-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/interface-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/interface-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/interface-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/interface-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/interface-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/interface-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 12 /autoptr/interface-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/object-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/object-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/object-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/object-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/object-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/object-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/object-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/object-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 13 /autoptr/object-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/property-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/property-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/property-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/property-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/property-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/property-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/property-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/property-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 14 /autoptr/property-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/registered-type-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/registered-type-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/registered-type-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/registered-type-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/registered-type-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/registered-type-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/registered-type-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/registered-type-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 15 /autoptr/registered-type-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/signal-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/signal-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/signal-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/signal-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/signal-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/signal-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/signal-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/signal-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 16 /autoptr/signal-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/struct-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/struct-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/struct-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/struct-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/struct-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/struct-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/struct-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/struct-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 17 /autoptr/struct-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/type-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/type-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/type-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/type-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/type-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/type-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/type-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/type-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 18 /autoptr/type-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/union-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/union-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/union-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/union-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/union-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/union-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/union-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/union-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 19 /autoptr/union-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/value-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/value-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/value-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/value-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/value-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/value-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/value-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/value-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 20 /autoptr/value-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/vfunc-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/vfunc-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/autoptr/vfunc-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/vfunc-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/autoptr/vfunc-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/vfunc-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/autoptr/vfunc-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/autoptr/vfunc-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 21 /autoptr/vfunc-info 1162s # End of autoptr tests 1162s # Start of auto tests 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/auto/arg-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/auto/arg-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/auto/arg-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/auto/arg-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/auto/arg-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/auto/arg-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/auto/arg-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/auto/arg-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 22 /auto/arg-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/auto/type-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/auto/type-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/auto/type-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/auto/type-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/auto/type-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/auto/type-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/auto/type-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/auto/type-info/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 23 /auto/type-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_KLU812/auto/function-invoker/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_KLU812/auto/function-invoker/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_KLU812/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_KLU812/auto/function-invoker/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_KLU812/auto/function-invoker/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_KLU812/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_KLU812/auto/function-invoker/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_KLU812/auto/function-invoker/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_KLU812/auto/function-invoker/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_KLU812/auto/function-invoker/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 24 /auto/function-invoker 1162s # End of auto tests 1162s ok - glib/autoptr-girepository.test 1162s # Running test: glib/portal-support-none.test 1162s TAP version 14 1162s # random seed: R02S733e66ba2569d7390734a3b8300c8d07 1162s 1..1 1162s # Start of portal-support tests 1162s ok 1 /portal-support/none 1162s # End of portal-support tests 1162s ok - glib/portal-support-none.test 1162s # Running test: glib/closure.test 1162s TAP version 14 1162s # random seed: R02S16495482a2d3692a14145a6724552ef7 1162s 1..6 1162s # Start of closure tests 1162s ok 1 /closure/idle 1162s ok 2 /closure/timeout 1162s ok 3 /closure/iochannel 1162s ok 4 /closure/child 1162s ok 5 /closure/fd 1162s ok 6 /closure/signal 1162s # End of closure tests 1162s ok - glib/closure.test 1162s # Running test: glib/utils-c-17.test 1162s TAP version 14 1162s # random seed: R02Se0abdf90727e901ba81401da73d8e99c 1162s 1..41 1162s # Start of utils tests 1162s ok 1 /utils/language-names 1162s ok 2 /utils/locale-variants 1162s ok 3 /utils/version 1162s ok 4 /utils/appname 1162s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1162s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1162s ok 5 /utils/prgname-thread-safety 1162s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1162s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1162s ok 6 /utils/tmpdir 1162s ok 7 /utils/basic_bits 1162s ok 8 /utils/bits 1162s ok 9 /utils/swap 1162s ok 10 /utils/find-program 1162s ok 11 /utils/find-program-for-path 1162s ok 12 /utils/debug 1162s ok 13 /utils/codeset 1162s ok 14 /utils/codeset2 1162s ok 15 /utils/console-charset 1162s ok 16 /utils/gettext 1162s ok 17 /utils/username 1162s ok 18 /utils/realname 1162s ok 19 /utils/hostname 1162s ok 20 /utils/xdgdirs 1162s ok 21 /utils/specialdir 1162s # NAME: Ubuntu 1162s ok 22 /utils/os-info 1162s ok 23 /utils/clear-pointer 1162s ok 24 /utils/clear-pointer-cast 1162s ok 25 /utils/take-pointer 1162s ok 26 /utils/clear-source 1162s ok 27 /utils/misc-mem 1162s # /utils/aligned-mem summary: Aligned memory allocator 1162s # Alignment must not be zero 1162s # Alignment must be a power of two 1162s # Alignment must be a multiple of sizeof(void*) 1162s ok 28 /utils/aligned-mem 1162s # /utils/free-sized summary: Check that g_free_sized() works 1162s ok 29 /utils/free-sized 1162s ok 30 /utils/nullify 1162s ok 31 /utils/atexit 1162s ok 32 /utils/check-setuid 1162s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1162s ok 33 /utils/int-limits 1162s ok 34 /utils/clear-list 1162s ok 35 /utils/clear-slist 1162s ok 36 /utils/steal-handle-id 1162s # Start of specialdir tests 1162s ok 37 /utils/specialdir/desktop 1162s # End of specialdir tests 1162s # Start of clear-pointer tests 1162s ok 38 /utils/clear-pointer/side-effects 1162s # End of clear-pointer tests 1162s # Start of aligned-mem tests 1162s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1162s ok 39 /utils/aligned-mem/alignment 1162s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1162s ok 40 /utils/aligned-mem/zeroed 1162s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1162s ok 41 /utils/aligned-mem/free-sized 1162s # Start of subprocess tests 1162s # End of subprocess tests 1162s # End of aligned-mem tests 1162s # End of utils tests 1162s ok - glib/utils-c-17.test 1162s # Running test: glib/tree.test 1162s TAP version 14 1162s # random seed: R02S4fcc0ce702112b1ece7479e9e58ecbc8 1162s 1..7 1162s # Start of tree tests 1162s ok 1 /tree/search 1162s ok 2 /tree/remove 1162s ok 3 /tree/destroy 1162s ok 4 /tree/traverse 1162s ok 5 /tree/insert 1162s ok 6 /tree/bounds 1162s ok 7 /tree/remove-all 1162s # End of tree tests 1162s ok - glib/tree.test 1162s # Running test: glib/node.test 1162s TAP version 14 1162s # random seed: R02S7d009396affe118db57a1be5e1786060 1162s 1..6 1162s # Start of node tests 1162s ok 1 /node/allocation 1162s ok 2 /node/construction 1162s ok 3 /node/traversal 1162s ok 4 /node/misc 1162s ok 5 /node/unlink 1162s ok 6 /node/copy 1162s # End of node tests 1162s ok - glib/node.test 1162s # Running test: glib/thread-pool-slow.test 1162s TAP version 14 1162s # random seed: R02Sd02508a0ac2fbfc8f5c3366a51fe8f47 1162s 1..7 1162s # Start of threadpool tests 1162s ok 1 /threadpool/functions 1162s ok 2 /threadpool/stop-unused 1162s # slow test /threadpool/stop-unused executed in 0.51 secs 1162s ok 3 /threadpool/pools 1162s # [unsorted] ===> pushed new thread with id:35, number of threads:1, unprocessed:1 1162s # [unsorted] ===> pushed new thread with id:70, number of threads:2, unprocessed:1 1162s # [unsorted] ===> pushed new thread with id:96, number of threads:3, unprocessed:2 1162s # [unsorted] ===> pushed new thread with id:2, number of threads:4, unprocessed:2 1162s # [unsorted] ===> pushed new thread with id:60, number of threads:5, unprocessed:3 1162s # [unsorted] ===> pushed new thread with id:65, number of threads:6, unprocessed:4 1162s # [unsorted] ===> pushed new thread with id:10, number of threads:7, unprocessed:5 1162s # [unsorted] ===> pushed new thread with id:95, number of threads:8, unprocessed:6 1162s # [unsorted] ===> pushed new thread with id:82, number of threads:9, unprocessed:6 1162s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:7 1162s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:7 1162s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:8 1162s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:8 1162s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:8 1162s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:8 1162s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:9 1162s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:10 1162s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:11 1162s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:12 1162s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:13 1162s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:14 1162s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:15 1162s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:16 1162s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:17 1162s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:18 1162s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:19 1162s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:20 1162s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:21 1162s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:22 1162s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:23 1162s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:21 1162s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:22 1162s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:23 1162s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:24 1162s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:25 1162s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:26 1162s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:27 1162s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:28 1162s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:29 1162s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:30 1162s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:31 1162s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:32 1162s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:33 1162s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:34 1162s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:35 1162s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:36 1162s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:37 1162s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:38 1162s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:39 1162s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:40 1162s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:41 1162s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:42 1162s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:43 1162s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:44 1162s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:45 1162s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:46 1162s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:47 1162s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:48 1162s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:49 1162s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:50 1162s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:51 1162s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:52 1162s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:53 1162s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:54 1162s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:55 1162s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:56 1162s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:57 1162s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:58 1162s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:59 1162s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:60 1162s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:61 1162s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:62 1162s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:63 1162s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:64 1162s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:65 1162s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:66 1162s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:67 1162s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:68 1162s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:69 1162s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:70 1162s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:71 1162s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:72 1162s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:73 1162s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:74 1162s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:75 1162s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:76 1162s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:77 1162s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:78 1162s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:79 1162s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:80 1162s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:81 1162s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:82 1162s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:83 1162s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:84 1162s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:85 1162s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:86 1162s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:87 1162s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:88 1162s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:89 1162s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:90 1162s ok 4 /threadpool/no-sort 1162s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:1 1162s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:2 1162s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:3 1162s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:4 1162s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:5 1162s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:6 1162s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:7 1162s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:8 1162s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:9 1162s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:10 1162s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:11 1162s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:12 1162s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:13 1162s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:14 1162s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:15 1162s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:16 1162s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:17 1162s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:18 1162s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:19 1162s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:20 1162s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:21 1162s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:22 1162s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:23 1162s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:24 1162s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:25 1162s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:26 1162s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:27 1162s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:28 1162s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:29 1162s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:30 1162s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:31 1162s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:32 1162s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:33 1162s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:34 1162s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:35 1162s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:36 1162s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:37 1162s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:38 1162s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:39 1162s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:40 1162s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:41 1162s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:42 1162s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:43 1162s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:44 1162s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:45 1162s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:46 1162s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:47 1162s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:48 1162s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:49 1162s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:50 1162s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:51 1162s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:52 1162s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:53 1162s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:54 1162s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:55 1162s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:56 1162s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:57 1162s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:58 1162s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:59 1162s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:60 1162s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:61 1162s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:62 1162s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:63 1162s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:64 1162s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:65 1162s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:66 1162s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:67 1162s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:68 1162s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:69 1162s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:70 1162s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:71 1162s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:72 1162s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:73 1162s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:74 1162s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:75 1162s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:76 1162s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:77 1162s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:78 1162s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:79 1162s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:80 1162s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:81 1162s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:82 1162s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:83 1162s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:84 1162s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:85 1162s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:86 1162s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:87 1162s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:88 1162s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:89 1162s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:90 1162s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:91 1162s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:92 1162s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:93 1162s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:94 1162s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:95 1162s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:96 1162s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:97 1162s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:98 1162s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:99 1162s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:100 1162s # Starting thread pool processing 1162s ok 5 /threadpool/sort 1162s # Executing: glib/thread-pool-slow.test 1163s ok 6 /threadpool/stop-unused-multiple 1163s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1163s # Pool idle thread count: 0, unprocessed jobs: 48 1163s # Pool idle thread count: 0, unprocessed jobs: 0 1164s # Pool idle thread count: 0, unprocessed jobs: 0 1164s # Pool idle thread count: 10, unprocessed jobs: 0 1164s # Pool idle thread count: 10, unprocessed jobs: 0 1164s # Pool idle thread count: 10, unprocessed jobs: 0 1164s # Pool idle thread count: 10, unprocessed jobs: 0 1165s # Pool idle thread count: 10, unprocessed jobs: 0 1165s # Pool idle thread count: 10, unprocessed jobs: 0 1165s # Pool idle thread count: 10, unprocessed jobs: 0 1165s # Pool idle thread count: 10, unprocessed jobs: 0 1166s # Pool idle thread count: 10, unprocessed jobs: 0 1166s # Pool idle thread count: 10, unprocessed jobs: 0 1166s # Pool idle thread count: 10, unprocessed jobs: 0 1166s # Pool idle thread count: 10, unprocessed jobs: 0 1167s # Pool idle thread count: 10, unprocessed jobs: 0 1167s # Pool idle thread count: 10, unprocessed jobs: 0 1167s # Pool idle thread count: 10, unprocessed jobs: 0 1167s # Pool idle thread count: 10, unprocessed jobs: 0 1167s # Executing: glib/thread-pool-slow.test 1168s # Pool idle thread count: 10, unprocessed jobs: 0 1168s # Pool idle thread count: 10, unprocessed jobs: 0 1168s # Pool idle thread count: 10, unprocessed jobs: 0 1168s # Pool idle thread count: 10, unprocessed jobs: 0 1169s # Pool idle thread count: 10, unprocessed jobs: 0 1169s # Pool idle thread count: 10, unprocessed jobs: 0 1169s # Pool idle thread count: 10, unprocessed jobs: 0 1169s # Pool idle thread count: 10, unprocessed jobs: 0 1170s # Pool idle thread count: 10, unprocessed jobs: 0 1170s # Pool idle thread count: 10, unprocessed jobs: 0 1170s # Pool idle thread count: 10, unprocessed jobs: 0 1170s # Pool idle thread count: 10, unprocessed jobs: 0 1171s # Pool idle thread count: 10, unprocessed jobs: 0 1171s # Pool idle thread count: 10, unprocessed jobs: 0 1171s # Pool idle thread count: 10, unprocessed jobs: 0 1171s # Pool idle thread count: 10, unprocessed jobs: 0 1172s # Pool idle thread count: 10, unprocessed jobs: 2 1172s # Pool idle thread count: 10, unprocessed jobs: 2 1172s # Pool idle thread count: 8, unprocessed jobs: 0 1172s # Pool idle thread count: 8, unprocessed jobs: 0 1172s # Pool idle thread count: 10, unprocessed jobs: 0 1172s # Pool idle thread count: 10, unprocessed jobs: 0 1172s # Executing: glib/thread-pool-slow.test 1173s # Pool idle thread count: 10, unprocessed jobs: 0 1173s # Pool idle thread count: 10, unprocessed jobs: 0 1173s # Pool idle thread count: 10, unprocessed jobs: 0 1173s # Pool idle thread count: 10, unprocessed jobs: 0 1174s # Pool idle thread count: 2, unprocessed jobs: 0 1174s # Pool idle thread count: 2, unprocessed jobs: 0 1174s # Pool idle thread count: 2, unprocessed jobs: 0 1174s # Pool idle thread count: 2, unprocessed jobs: 0 1175s # Pool idle thread count: 2, unprocessed jobs: 0 1175s # Pool idle thread count: 2, unprocessed jobs: 0 1175s # Pool idle thread count: 2, unprocessed jobs: 0 1175s # Pool idle thread count: 2, unprocessed jobs: 0 1176s # Pool idle thread count: 2, unprocessed jobs: 0 1176s # Pool idle thread count: 2, unprocessed jobs: 0 1176s # Pool idle thread count: 2, unprocessed jobs: 0 1176s # Pool idle thread count: 2, unprocessed jobs: 0 1177s # Pool idle thread count: 2, unprocessed jobs: 0 1177s # Pool idle thread count: 2, unprocessed jobs: 0 1177s # Pool idle thread count: 2, unprocessed jobs: 0 1177s # Pool idle thread count: 2, unprocessed jobs: 0 1177s # Executing: glib/thread-pool-slow.test 1178s # Pool idle thread count: 2, unprocessed jobs: 0 1178s # Pool idle thread count: 2, unprocessed jobs: 0 1178s # Pool idle thread count: 2, unprocessed jobs: 0 1178s # Pool idle thread count: 2, unprocessed jobs: 0 1179s # Pool idle thread count: 2, unprocessed jobs: 0 1179s # Pool idle thread count: 2, unprocessed jobs: 0 1179s # Pool idle thread count: 2, unprocessed jobs: 0 1179s # Pool idle thread count: 2, unprocessed jobs: 0 1180s # Pool idle thread count: 2, unprocessed jobs: 0 1180s # Pool idle thread count: 2, unprocessed jobs: 0 1180s # Pool idle thread count: 2, unprocessed jobs: 0 1180s # Pool idle thread count: 2, unprocessed jobs: 0 1181s # Pool idle thread count: 2, unprocessed jobs: 0 1181s # Pool idle thread count: 2, unprocessed jobs: 0 1181s # Pool idle thread count: 2, unprocessed jobs: 0 1181s # Pool idle thread count: 2, unprocessed jobs: 0 1182s # Pool idle thread count: 2, unprocessed jobs: 0 1182s # Pool idle thread count: 2, unprocessed jobs: 0 1182s ok 7 /threadpool/idle-time 1182s # slow test /threadpool/idle-time executed in 19.52 secs 1182s # End of threadpool tests 1182s ok - glib/thread-pool-slow.test 1182s # Running test: glib/objects-refcount2.test 1182s TAP version 14 1182s # random seed: R02S9e541534c88dcd1e6872204779a515a9 1182s 1..1 1182s # Start of gobject tests 1182s # Start of refcount tests 1182s # init 0x2aa3d137740 1182s # 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # Executing: glib/objects-refcount2.test 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # dispose 0x2aa3d137740! 1185s # 1185s ok 1 /gobject/refcount/object-advanced 1185s # slow test /gobject/refcount/object-advanced executed in 3.24 secs 1185s # End of refcount tests 1185s # End of gobject tests 1185s ok - glib/objects-refcount2.test 1186s # Running test: glib/flags.test 1186s TAP version 14 1186s # random seed: R02Sfc27951a2a097d18914360a7e8a6f46c 1186s 1..1 1186s # Start of gobject tests 1186s # Start of flags tests 1186s ok 1 /gobject/flags/validate 1186s # End of flags tests 1186s # End of gobject tests 1186s ok - glib/flags.test 1186s # Running test: glib/bindinggroup.test 1186s TAP version 14 1186s # random seed: R02S927ae6a5d9d771bd2abf871e7b5d2b67 1186s 1..11 1186s # Start of GObject tests 1186s # Start of BindingGroup tests 1186s ok 1 /GObject/BindingGroup/invalid 1186s ok 2 /GObject/BindingGroup/default 1186s ok 3 /GObject/BindingGroup/bidirectional 1186s ok 4 /GObject/BindingGroup/transform 1186s ok 5 /GObject/BindingGroup/transform-closures 1186s ok 6 /GObject/BindingGroup/same-object 1186s ok 7 /GObject/BindingGroup/weak-ref-source 1186s ok 8 /GObject/BindingGroup/weak-ref-target 1186s ok 9 /GObject/BindingGroup/properties 1186s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1186s ok 11 /GObject/BindingGroup/empty-closures 1186s # End of BindingGroup tests 1186s # End of GObject tests 1186s ok - glib/bindinggroup.test 1186s # Running test: glib/repository.test 1186s TAP version 14 1186s # random seed: R02Sdf3028fb0a2827fff59c9024c91e3aee 1186s 1..23 1186s # Start of repository tests 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/basic/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/basic/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/basic/.dirs/system-config1:/tmp/test_repository_52X812/repository/basic/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/basic/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/basic/.dirs/system-data1:/tmp/test_repository_52X812/repository/basic/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/basic/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/basic/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/basic/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1186s ok 1 /repository/basic 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/info/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/info/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/info/.dirs/system-config1:/tmp/test_repository_52X812/repository/info/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/info/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/info/.dirs/system-data1:/tmp/test_repository_52X812/repository/info/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/info/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/info/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/info/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1186s ok 2 /repository/info 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/dependencies/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/dependencies/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/dependencies/.dirs/system-config1:/tmp/test_repository_52X812/repository/dependencies/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/dependencies/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/dependencies/.dirs/system-data1:/tmp/test_repository_52X812/repository/dependencies/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/dependencies/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/dependencies/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/dependencies/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1186s ok 3 /repository/dependencies 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/arg-info/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/arg-info/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/arg-info/.dirs/system-config1:/tmp/test_repository_52X812/repository/arg-info/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/arg-info/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/arg-info/.dirs/system-data1:/tmp/test_repository_52X812/repository/arg-info/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/arg-info/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/arg-info/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/arg-info/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1186s ok 4 /repository/arg-info 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/callable-info/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/callable-info/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/callable-info/.dirs/system-config1:/tmp/test_repository_52X812/repository/callable-info/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/callable-info/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/callable-info/.dirs/system-data1:/tmp/test_repository_52X812/repository/callable-info/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/callable-info/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/callable-info/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/callable-info/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1186s ok 5 /repository/callable-info 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/callback-info/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/callback-info/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/callback-info/.dirs/system-config1:/tmp/test_repository_52X812/repository/callback-info/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/callback-info/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/callback-info/.dirs/system-data1:/tmp/test_repository_52X812/repository/callback-info/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/callback-info/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/callback-info/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/callback-info/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1186s ok 6 /repository/callback-info 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/char-types/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/char-types/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/char-types/.dirs/system-config1:/tmp/test_repository_52X812/repository/char-types/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/char-types/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/char-types/.dirs/system-data1:/tmp/test_repository_52X812/repository/char-types/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/char-types/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/char-types/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/char-types/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1186s ok 7 /repository/char-types 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/constructor-return-type/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/constructor-return-type/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_52X812/repository/constructor-return-type/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/constructor-return-type/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_52X812/repository/constructor-return-type/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/constructor-return-type/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/constructor-return-type/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/constructor-return-type/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1186s ok 8 /repository/constructor-return-type 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/enum-info-c-identifier/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/enum-info-c-identifier/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_52X812/repository/enum-info-c-identifier/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/enum-info-c-identifier/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_52X812/repository/enum-info-c-identifier/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/enum-info-c-identifier/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/enum-info-c-identifier/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/enum-info-c-identifier/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1186s ok 9 /repository/enum-info-c-identifier 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/enum-info-static-methods/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/enum-info-static-methods/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_52X812/repository/enum-info-static-methods/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/enum-info-static-methods/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_52X812/repository/enum-info-static-methods/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/enum-info-static-methods/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/enum-info-static-methods/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/enum-info-static-methods/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/enum-info-static-methods summary: Test an enum with methods 1186s ok 10 /repository/enum-info-static-methods 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/error-quark/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/error-quark/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/error-quark/.dirs/system-config1:/tmp/test_repository_52X812/repository/error-quark/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/error-quark/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/error-quark/.dirs/system-data1:/tmp/test_repository_52X812/repository/error-quark/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/error-quark/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/error-quark/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/error-quark/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/error-quark summary: Test finding an error quark by error domain 1186s ok 11 /repository/error-quark 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/flags-info-c-identifier/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/flags-info-c-identifier/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_52X812/repository/flags-info-c-identifier/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/flags-info-c-identifier/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_52X812/repository/flags-info-c-identifier/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/flags-info-c-identifier/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/flags-info-c-identifier/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/flags-info-c-identifier/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1186s ok 12 /repository/flags-info-c-identifier 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/fundamental-ref-func/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/fundamental-ref-func/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_52X812/repository/fundamental-ref-func/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/fundamental-ref-func/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_52X812/repository/fundamental-ref-func/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/fundamental-ref-func/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/fundamental-ref-func/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/fundamental-ref-func/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1186s ok 13 /repository/fundamental-ref-func 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/instance-method-ownership-transfer/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/instance-method-ownership-transfer/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_52X812/repository/instance-method-ownership-transfer/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/instance-method-ownership-transfer/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_52X812/repository/instance-method-ownership-transfer/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/instance-method-ownership-transfer/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/instance-method-ownership-transfer/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/instance-method-ownership-transfer/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1186s ok 14 /repository/instance-method-ownership-transfer 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/object-gtype-interfaces/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/object-gtype-interfaces/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_52X812/repository/object-gtype-interfaces/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/object-gtype-interfaces/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_52X812/repository/object-gtype-interfaces/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/object-gtype-interfaces/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/object-gtype-interfaces/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/object-gtype-interfaces/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1186s ok 15 /repository/object-gtype-interfaces 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/signal-info-with-array-length-arg/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/signal-info-with-array-length-arg/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_52X812/repository/signal-info-with-array-length-arg/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/signal-info-with-array-length-arg/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_52X812/repository/signal-info-with-array-length-arg/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/signal-info-with-array-length-arg/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/signal-info-with-array-length-arg/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/signal-info-with-array-length-arg/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1186s ok 16 /repository/signal-info-with-array-length-arg 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/type-info-name/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/type-info-name/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_52X812/repository/type-info-name/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/type-info-name/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_52X812/repository/type-info-name/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/type-info-name/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/type-info-name/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/type-info-name/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1186s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1186s ok 17 /repository/type-info-name 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/vfunc-info-with-no-invoker/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/vfunc-info-with-no-invoker/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_52X812/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/vfunc-info-with-no-invoker/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_52X812/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/vfunc-info-with-no-invoker/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/vfunc-info-with-no-invoker/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/vfunc-info-with-no-invoker/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1186s ok 18 /repository/vfunc-info-with-no-invoker 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_52X812/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_52X812/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1186s ok 19 /repository/vfunc-info-with-invoker-on-interface 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/vfunc-info-with-invoker-on-object/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_52X812/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/vfunc-info-with-invoker-on-object/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_52X812/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/vfunc-info-with-invoker-on-object/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/vfunc-info-with-invoker-on-object/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1186s ok 20 /repository/vfunc-info-with-invoker-on-object 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/find-by-gtype/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/find-by-gtype/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_52X812/repository/find-by-gtype/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/find-by-gtype/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_52X812/repository/find-by-gtype/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/find-by-gtype/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/find-by-gtype/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/find-by-gtype/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/find-by-gtype summary: Test finding a GType 1186s ok 21 /repository/find-by-gtype 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/loaded-namespaces/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/loaded-namespaces/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_52X812/repository/loaded-namespaces/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/loaded-namespaces/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_52X812/repository/loaded-namespaces/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/loaded-namespaces/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/loaded-namespaces/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/loaded-namespaces/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/loaded-namespaces summary: Test listing loaded namespaces 1186s ok 22 /repository/loaded-namespaces 1186s # Start of base-info tests 1186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_52X812/repository/base-info/clear/.dirs/home 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_52X812/repository/base-info/clear/.dirs/cache 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_52X812/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_52X812/repository/base-info/clear/.dirs/system-config2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_52X812/repository/base-info/clear/.dirs/config 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_52X812/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_52X812/repository/base-info/clear/.dirs/system-data2 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_52X812/repository/base-info/clear/.dirs/data 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_52X812/repository/base-info/clear/.dirs/state 1186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_52X812/repository/base-info/clear/.dirs/runtime 1186s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1186s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1186s ok 23 /repository/base-info/clear 1186s # End of base-info tests 1186s # End of repository tests 1186s ok - glib/repository.test 1186s # Running test: glib/debugcontroller.test 1186s TAP version 14 1186s # random seed: R02S3274654ed0ea9115af7df37b5123fe99 1186s 1..3 1186s # Start of debug-controller tests 1186s # Start of dbus tests 1186s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1186s # GLib-GIO-DEBUG: Debug output enabled 1186s # GLib-GIO-DEBUG: Debug output disabled 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s ok 1 /debug-controller/dbus/basic 1186s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s ok 2 /debug-controller/dbus/duplicate 1186s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1186s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1186s # End of dbus tests 1186s # End of debug-controller tests 1186s ok - glib/debugcontroller.test 1186s # Running test: glib/buffered-output-stream.test 1186s TAP version 14 1186s # random seed: R02Saf0c019b8099e5c19ddc3d066564824c 1186s 1..5 1186s # Start of buffered-output-stream tests 1186s ok 1 /buffered-output-stream/write 1186s ok 2 /buffered-output-stream/grow 1186s ok 3 /buffered-output-stream/seek 1186s ok 4 /buffered-output-stream/truncate 1186s # End of buffered-output-stream tests 1186s # Start of filter-output-stream tests 1186s ok 5 /filter-output-stream/close 1186s # End of filter-output-stream tests 1186s ok - glib/buffered-output-stream.test 1186s # Running test: glib/type.test 1186s TAP version 14 1186s # random seed: R02Sc1907bf10c154b6bb8ad7d6e9a48a1d9 1186s 1..6 1186s # Start of type tests 1186s ok 1 /type/registration-serial 1186s ok 2 /type/interface-prerequisite 1186s ok 3 /type/interface-check 1186s ok 4 /type/next-base 1186s ok 5 /type/is-a 1186s # Invalid types can?t be queried. 1186s # Unclassed types can?t be queried. 1186s ok 6 /type/query 1186s # End of type tests 1186s ok - glib/type.test 1186s # Running test: glib/fdo-notification-backend.test 1186s TAP version 14 1186s # random seed: R02S79299e4a4fedda38d3c76e2f19d07111 1186s 1..2 1186s # Start of fdo-notification-backend tests 1186s # Test constructing a GFdoNotificationBackend 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s ok 1 /fdo-notification-backend/construction 1186s # Start of dbus tests 1186s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1186s ok 2 /fdo-notification-backend/dbus/activate-action 1186s # End of dbus tests 1186s # End of fdo-notification-backend tests 1186s ok - glib/fdo-notification-backend.test 1186s # Running test: glib/closure-refcount.test 1186s TAP version 14 1186s # random seed: R02S870774df94f56f1b9d7fa4225b897be6 1186s 1..1 1186s # Start of closure tests 1186s # Init 0x2aa2b5e31d0 1186s # Yielding from main thread 1186s # Yielding from thread1 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from thread1 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from thread1 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from thread1 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from thread1 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from thread1 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from thread1 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from thread1 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from thread1 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from thread1 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from thread1 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from thread1 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from thread1 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from thread1 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from thread1 1186s # Yielding from thread1 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from thread1 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from thread1 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from thread1 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from thread1 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from thread1 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from thread1 1186s # Yielding from thread1 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from thread2 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from thread2 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from thread1 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from thread1 1187s # Executing: glib/closure-refcount.test 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from thread2 1188s # Yielding from thread1 1188s # Yielding from main thread 1188s # Yielding from main thread 1188s # Yielding from thread2 1188s # Yielding from main thread 1188s # Yielding from thread1 1188s # Yielding from main thread 1188s # Yielding from thread2 1188s # Stopping 1188s # Stopped 1188s ok 1 /closure/refcount 1188s # slow test /closure/refcount executed in 2.03 secs 1188s # End of closure tests 1188s ok - glib/closure-refcount.test 1188s # Running test: glib/memory-settings-backend.test 1188s TAP version 14 1188s # random seed: R02Sda8a3a2f15d5081583b98bcc18e596f6 1188s 1..1 1188s # Start of memory-settings-backend tests 1188s ok 1 /memory-settings-backend/extension-point-registered 1188s # End of memory-settings-backend tests 1188s ok - glib/memory-settings-backend.test 1188s # Running test: glib/utils.test 1188s TAP version 14 1188s # random seed: R02S9208ff7cfe1f5f34586801ec1c924ccb 1188s 1..41 1188s # Start of utils tests 1188s ok 1 /utils/language-names 1188s ok 2 /utils/locale-variants 1188s ok 3 /utils/version 1188s ok 4 /utils/appname 1188s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1188s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1188s ok 5 /utils/prgname-thread-safety 1188s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1188s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1188s ok 6 /utils/tmpdir 1188s ok 7 /utils/basic_bits 1188s ok 8 /utils/bits 1188s ok 9 /utils/swap 1188s ok 10 /utils/find-program 1188s ok 11 /utils/find-program-for-path 1188s ok 12 /utils/debug 1188s ok 13 /utils/codeset 1188s ok 14 /utils/codeset2 1188s ok 15 /utils/console-charset 1188s ok 16 /utils/gettext 1188s ok 17 /utils/username 1188s ok 18 /utils/realname 1188s ok 19 /utils/hostname 1188s ok 20 /utils/xdgdirs 1188s ok 21 /utils/specialdir 1188s # NAME: Ubuntu 1188s ok 22 /utils/os-info 1188s ok 23 /utils/clear-pointer 1188s ok 24 /utils/clear-pointer-cast 1188s ok 25 /utils/take-pointer 1188s ok 26 /utils/clear-source 1188s ok 27 /utils/misc-mem 1188s # /utils/aligned-mem summary: Aligned memory allocator 1188s # Alignment must not be zero 1188s # Alignment must be a power of two 1188s # Alignment must be a multiple of sizeof(void*) 1188s ok 28 /utils/aligned-mem 1188s # /utils/free-sized summary: Check that g_free_sized() works 1188s ok 29 /utils/free-sized 1188s ok 30 /utils/nullify 1188s ok 31 /utils/atexit 1188s ok 32 /utils/check-setuid 1188s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1188s ok 33 /utils/int-limits 1188s ok 34 /utils/clear-list 1188s ok 35 /utils/clear-slist 1188s ok 36 /utils/steal-handle-id 1188s # Start of specialdir tests 1188s ok 37 /utils/specialdir/desktop 1188s # End of specialdir tests 1188s # Start of clear-pointer tests 1188s ok 38 /utils/clear-pointer/side-effects 1188s # End of clear-pointer tests 1188s # Start of aligned-mem tests 1188s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1188s ok 39 /utils/aligned-mem/alignment 1188s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1188s ok 40 /utils/aligned-mem/zeroed 1188s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1188s ok 41 /utils/aligned-mem/free-sized 1188s # Start of subprocess tests 1188s # End of subprocess tests 1188s # End of aligned-mem tests 1188s # End of utils tests 1188s ok - glib/utils.test 1188s # Running test: glib/unix-mounts.test 1188s TAP version 14 1188s # random seed: R02Sa7432d23a6de3fc219d41c7aa1b7f229 1188s 1..4 1188s # Start of unix-mounts tests 1188s ok 1 /unix-mounts/is-system-fs-type 1188s ok 2 /unix-mounts/is-system-device-path 1188s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 1188s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1188s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1188s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1188s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1188s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1188s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1188s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1188s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1188s ok 3 /unix-mounts/get-mount-points 1188s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 1188s ok 4 /unix-mounts/get-mount-entries 1188s # End of unix-mounts tests 1188s ok - glib/unix-mounts.test 1188s # Running test: glib/test-printf.test 1188s TAP version 14 1188s # random seed: R02Scb64371398f44b7fb83f48809a39ab56 1188s 1..22 1188s # Start of snprintf tests 1188s ok 1 /snprintf/retval-and-trunc 1188s ok 2 /snprintf/%d 1188s ok 3 /snprintf/%d-invalid 1188s ok 4 /snprintf/%o 1188s ok 5 /snprintf/%u 1188s ok 6 /snprintf/%x 1188s ok 7 /snprintf/%X 1188s ok 8 /snprintf/%f 1188s ok 9 /snprintf/%e 1188s ok 10 /snprintf/%c 1188s ok 11 /snprintf/%s 1188s ok 12 /snprintf/%n 1188s ok 13 /snprintf/test-percent 1188s ok 14 /snprintf/test-positional-params 1188s ok 15 /snprintf/test-64bit 1188s # End of snprintf tests 1188s # Start of printf tests 1188s ok 16 /printf/test-percent 1188s ok 17 /printf/test-positional-params 1188s ok 18 /printf/test-64bit 1188s # Start of test-64bit tests 1188s # Start of subprocess tests 1188s # End of subprocess tests 1188s # End of test-64bit tests 1188s # End of printf tests 1188s # Start of sprintf tests 1188s ok 19 /sprintf/test-positional-params 1188s ok 20 /sprintf/upper-bound 1188s # End of sprintf tests 1188s # Start of vasprintf tests 1188s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1188s ok 21 /vasprintf/invalid-format-placeholder 1188s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1188s ok 22 /vasprintf/invalid-wide-string 1188s # End of vasprintf tests 1188s ok - glib/test-printf.test 1188s # Running test: glib/atomic-c-17.test 1188s TAP version 14 1188s # random seed: R02Sb931a46ba3e79039cce0ef20970dcaf8 1188s 1..2 1188s # Start of atomic tests 1188s ok 1 /atomic/types 1188s ok 2 /atomic/threaded 1188s # End of atomic tests 1188s ok - glib/atomic-c-17.test 1188s # Running test: glib/signals-refcount4.test 1188s TAP version 14 1188s # random seed: R02Sd7ffdcf03246f25014eed78155705115 1188s 1..1 1188s # Start of gobject tests 1188s # Start of refcount tests 1188s # init 0x2aa3e620420 1188s # 1188s # init 0x2aa3e6205c0 1188s # 1192s # Executing: glib/signals-refcount4.test 1193s # dispose 0x2aa3e620420! 1193s # 1193s # dispose 0x2aa3e6205c0! 1193s # 1193s ok 1 /gobject/refcount/signals 1193s # slow test /gobject/refcount/signals executed in 5.00 secs 1193s # End of refcount tests 1193s # End of gobject tests 1193s ok - glib/signals-refcount4.test 1193s # Running test: glib/tls-bindings.test 1193s TAP version 14 1193s # random seed: R02S16ccca7926d18aa482302ae702dcbd0a 1193s 1..2 1193s # Start of tls-connection tests 1193s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1193s ok 1 /tls-connection/get-tls-channel-binding 1193s ok 2 /tls-connection/get-dtls-channel-binding 1193s # End of tls-connection tests 1193s ok - glib/tls-bindings.test 1193s # Running test: glib/642026-ec.test 1193s TAP version 14 1193s # random seed: R02S49454985b8ad0e8d3d1949d23c318adb 1193s 1..1 1193s # Start of glib tests 1193s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1193s ok 1 /glib/642026 1193s # End of glib tests 1193s ok - glib/642026-ec.test 1193s # Running test: glib/reference.test 1193s TAP version 14 1193s # random seed: R02S04c67ad465ec8701217c554320be0ef9 1193s 1..29 1193s # Start of type tests 1193s ok 1 /type/fundamentals 1193s ok 2 /type/qdata 1193s ok 3 /type/query 1193s ok 4 /type/class-private 1193s # End of type tests 1193s # Start of object tests 1193s ok 5 /object/clear 1193s ok 6 /object/clear-function 1193s ok 7 /object/set 1193s ok 8 /object/set-function 1193s ok 9 /object/value 1193s ok 10 /object/initially-unowned 1193s ok 11 /object/weak-pointer 1193s ok 12 /object/weak-ref 1193s ok 13 /object/toggle-ref 1193s ok 14 /object/qdata 1193s ok 15 /object/qdata2 1193s # Start of set tests 1193s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1193s ok 16 /object/set/derived-type 1193s # End of set tests 1193s # Start of weak-pointer tests 1193s ok 17 /object/weak-pointer/clear 1193s ok 18 /object/weak-pointer/clear-function 1193s ok 19 /object/weak-pointer/set 1193s ok 20 /object/weak-pointer/set-function 1193s # End of weak-pointer tests 1193s # Start of weak-ref tests 1193s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1193s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1193s ok 21 /object/weak-ref/on-dispose 1193s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1193s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1193s ok 22 /object/weak-ref/on-run-dispose 1193s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1193s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1193s ok 23 /object/weak-ref/on-toggle-notify 1193s ok 24 /object/weak-ref/in-toggle-notify 1193s ok 25 /object/weak-ref/many 1193s # Start of concurrent tests 1193s ok 26 /object/weak-ref/concurrent/0 1193s ok 27 /object/weak-ref/concurrent/1 1193s # End of concurrent tests 1193s # End of weak-ref tests 1193s # Start of toggle-ref tests 1193s ok 28 /object/toggle-ref/ref-on-dispose 1193s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1193s # End of toggle-ref tests 1193s # End of object tests 1193s ok - glib/reference.test 1193s # Running test: glib/convert.test 1193s TAP version 14 1193s # random seed: R02S70c3fe60dff63ccc40882fc2a567c678 1193s 1..14 1193s # Start of conversion tests 1193s ok 1 /conversion/no-conv 1193s ok 2 /conversion/iconv-state 1193s ok 3 /conversion/illegal-sequence 1193s ok 4 /conversion/byte-order 1193s ok 5 /conversion/unicode 1193s ok 6 /conversion/filename-utf8 1193s ok 7 /conversion/filename-display 1193s ok 8 /conversion/convert-embedded-nul 1193s # Start of locale-to-utf8 tests 1193s ok 9 /conversion/locale-to-utf8/embedded-nul 1193s # Start of embedded-nul tests 1193s # Start of subprocess tests 1193s # End of subprocess tests 1193s # End of embedded-nul tests 1193s # End of locale-to-utf8 tests 1193s # Start of locale-from-utf8 tests 1193s ok 10 /conversion/locale-from-utf8/embedded-nul 1193s # Start of embedded-nul tests 1193s # Start of subprocess tests 1193s # End of subprocess tests 1193s # End of embedded-nul tests 1193s # End of locale-from-utf8 tests 1193s # Start of filename-to-utf8 tests 1193s ok 11 /conversion/filename-to-utf8/embedded-nul 1193s # Start of embedded-nul tests 1193s # Start of subprocess tests 1193s # End of subprocess tests 1193s # End of embedded-nul tests 1193s # End of filename-to-utf8 tests 1193s # Start of filename-from-utf8 tests 1193s ok 12 /conversion/filename-from-utf8/embedded-nul 1193s # Start of embedded-nul tests 1193s # Start of subprocess tests 1193s # End of subprocess tests 1193s # End of embedded-nul tests 1193s # End of filename-from-utf8 tests 1193s # Start of filename-from-uri tests 1193s ok 13 /conversion/filename-from-uri/query-is-ignored 1193s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1193s # End of filename-from-uri tests 1193s # End of conversion tests 1193s ok - glib/convert.test 1193s # Running test: glib/memory-output-stream.test 1193s TAP version 14 1193s # random seed: R02S393bae954963606924f7fb3ddb185bee 1193s 1..10 1193s # Start of memory-output-stream tests 1193s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1193s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1193s ok 1 /memory-output-stream/truncate 1193s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1193s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1193s ok 2 /memory-output-stream/get-data-size 1193s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1193s ok 3 /memory-output-stream/properties 1193s ok 4 /memory-output-stream/write-bytes 1193s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1193s ok 5 /memory-output-stream/write-null 1193s ok 6 /memory-output-stream/writev 1193s ok 7 /memory-output-stream/writev_nonblocking 1193s ok 8 /memory-output-stream/steal_as_bytes 1193s # Start of seek tests 1193s ok 9 /memory-output-stream/seek/fixed 1193s ok 10 /memory-output-stream/seek/resizable 1193s # End of seek tests 1193s # End of memory-output-stream tests 1193s ok - glib/memory-output-stream.test 1193s # Running test: glib/hmac.test 1193s TAP version 14 1193s # random seed: R02Sff6cde652bf1e8ca46737be9be4b52c1 1193s 1..37 1193s # Start of hmac tests 1193s ok 1 /hmac/sha1-1 1193s ok 2 /hmac/sha1-2 1193s ok 3 /hmac/sha1-3 1193s ok 4 /hmac/sha1-4 1193s ok 5 /hmac/sha1-5 1193s ok 6 /hmac/sha1-6 1193s ok 7 /hmac/sha1-7 1193s ok 8 /hmac/sha256-1 1193s ok 9 /hmac/sha256-2 1193s ok 10 /hmac/sha256-3 1193s ok 11 /hmac/sha256-4 1193s ok 12 /hmac/sha256-5 1193s ok 13 /hmac/sha256-6 1193s ok 14 /hmac/sha384-1 1193s ok 15 /hmac/sha384-2 1193s ok 16 /hmac/sha384-3 1193s ok 17 /hmac/sha384-4 1193s ok 18 /hmac/sha384-5 1193s ok 19 /hmac/sha384-6 1193s ok 20 /hmac/sha512-1 1193s ok 21 /hmac/sha512-2 1193s ok 22 /hmac/sha512-3 1193s ok 23 /hmac/sha512-4 1193s ok 24 /hmac/sha512-5 1193s ok 25 /hmac/sha512-6 1193s ok 26 /hmac/md5-1 1193s ok 27 /hmac/md5-2 1193s ok 28 /hmac/md5-3 1193s ok 29 /hmac/md5-4 1193s ok 30 /hmac/md5-5 1193s ok 31 /hmac/md5-6 1193s ok 32 /hmac/md5-7 1193s ok 33 /hmac/ref-unref 1193s ok 34 /hmac/copy 1193s ok 35 /hmac/for-data 1193s ok 36 /hmac/for-string 1193s ok 37 /hmac/for-bytes 1193s # End of hmac tests 1193s ok - glib/hmac.test 1193s # Running test: glib/gutils-user-database.test 1193s TAP version 14 1193s # random seed: R02Sd63b33fb80908f1d07d6bdecc447abe3 1193s 1..1 1193s # Start of gutils tests 1193s ok 1 /gutils/get_user_database_entry 1193s # End of gutils tests 1193s ok - glib/gutils-user-database.test 1193s # Running test: glib/data-output-stream.test 1193s TAP version 14 1193s # random seed: R02Sbde35a938e779e6e2d2e52b84d31742c 1193s 1..7 1193s # Start of data-output-stream tests 1193s ok 1 /data-output-stream/basic 1193s ok 2 /data-output-stream/write-lines-LF 1193s ok 3 /data-output-stream/write-lines-CR 1193s ok 4 /data-output-stream/write-lines-CR-LF 1193s ok 5 /data-output-stream/write-int 1193s ok 6 /data-output-stream/seek 1193s ok 7 /data-output-stream/truncate 1193s # End of data-output-stream tests 1193s ok - glib/data-output-stream.test 1193s # Running test: glib/io-channel.test 1193s TAP version 14 1193s # random seed: R02S4176e94cc6d3add73bbbd19f32bb35e4 1193s 1..2 1193s # Start of io-channel tests 1193s # Line one 1193s # 1193s # Line two 1193s # 1193s # Line three 1193s # 1193s # /* Hello */ 1193s # 1193s # \x1234\x567890\x6666 1193s # 1193s # read 62 bytes, wrote 62 bytes 1193s ok 1 /io-channel/read-write 1193s # Start of read-line tests 1193s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1193s ok 2 /io-channel/read-line/embedded-nuls 1193s # End of read-line tests 1193s # End of io-channel tests 1193s ok - glib/io-channel.test 1193s # Running test: glib/unix-fd.test 1193s TAP version 14 1193s # random seed: R02S798c6c655f1a5bf7f9a0ce117f86663a 1193s 1..2 1193s # Start of unix-fd tests 1193s ok 1 /unix-fd/fd-list 1193s ok 2 /unix-fd/scm 1193s # End of unix-fd tests 1193s ok - glib/unix-fd.test 1193s # Running test: glib/mappedfile.test 1193s TAP version 14 1193s # random seed: R02S94c79632ce86d63b09ff6426e120d3ab 1193s 1..7 1193s # Start of mappedfile tests 1193s ok 1 /mappedfile/basic 1193s ok 2 /mappedfile/empty 1193s ok 3 /mappedfile/device 1193s ok 4 /mappedfile/nonexisting 1193s ok 5 /mappedfile/writable 1193s ok 6 /mappedfile/writable_fd 1193s ok 7 /mappedfile/gbytes 1193s # End of mappedfile tests 1193s ok - glib/mappedfile.test 1193s # Running test: glib/gdbus-method-invocation.test 1193s TAP version 14 1193s # random seed: R02S8b7c547a5a43ed54f57e2dd207e4661d 1193s 1..1 1193s # Start of gdbus tests 1193s # Start of method-invocation tests 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_ZZTG22/gdbus/method-invocation/return/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_ZZTG22/gdbus/method-invocation/return/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_ZZTG22/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_ZZTG22/gdbus/method-invocation/return/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_ZZTG22/gdbus/method-invocation/return/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_ZZTG22/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_ZZTG22/gdbus/method-invocation/return/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_ZZTG22/gdbus/method-invocation/return/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_ZZTG22/gdbus/method-invocation/return/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_ZZTG22/gdbus/method-invocation/return/.dirs/runtime 1193s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1193s # Calling org.freedesktop.DBus.Properties.Get 1193s # Calling org.freedesktop.DBus.Properties.Get 1193s # Calling org.freedesktop.DBus.Properties.Get 1193s # Calling org.freedesktop.DBus.Properties.Set 1193s # Calling org.freedesktop.DBus.Properties.GetAll 1193s # Calling org.example.Foo.WrongReturnType 1193s # Calling org.example.Foo.GetFDs 1193s # Calling org.example.Foo.GetFDs 1193s # Calling org.example.Foo.ReturnError 1193s # Calling org.example.Foo.CloseBeforeReturning 1193s ok 1 /gdbus/method-invocation/return 1193s # End of method-invocation tests 1193s # End of gdbus tests 1193s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1193s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1193s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1193s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1193s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1193s ok - glib/gdbus-method-invocation.test 1193s # Running test: glib/uri.test 1193s TAP version 14 1193s # random seed: R02S3f06824e5362ed742eaedc0274e4e338 1193s 1..24 1193s # Start of uri tests 1193s ok 1 /uri/file-to-uri 1193s ok 2 /uri/file-from-uri 1193s ok 3 /uri/file-roundtrip 1193s ok 4 /uri/list 1193s # Test 0: %2Babc %4F 1193s # Test 1: %2Babc %4F 1193s # Test 2: %00abc %4F 1193s # Test 3: /cursors/none.png 1193s # Test 4: /cursors%2fbad-subdir/none.png 1193s # Test 5: %0 1193s # Test 6: %ra 1193s # Test 7: %2r 1193s # Test 8: Timm B?der 1193s # Test 9: (null) 1193s ok 5 /uri/unescape-string 1193s ok 6 /uri/unescape-segment 1193s # Test 0: abcdefgABCDEFG._~ 1193s # Test 1: :+ \\?# 1193s # Test 2: a+b:c 1193s # Test 3: a+b:c\303\234 1193s # Test 4: \374;\322 1193s # Test 5: \303\261\303( 1193s ok 7 /uri/escape-string 1193s ok 8 /uri/escape-bytes 1193s ok 9 /uri/scheme 1193s ok 10 /uri/build 1193s ok 11 /uri/split 1193s ok 12 /uri/is_valid 1193s ok 13 /uri/to-string 1193s ok 14 /uri/join 1193s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1193s # Combination 0 1193s # Combination 1 1193s # Combination 2 1193s # Combination 3 1193s # Combination 4 1193s # Combination 5 1193s # Combination 6 1193s # Combination 7 1193s # Combination 8 1193s # Combination 9 1193s # Combination 10 1193s # Combination 11 1193s # Combination 12 1193s # Combination 13 1193s # Combination 14 1193s # Combination 15 1193s # Combination 16 1193s # Combination 17 1193s # Combination 18 1193s # Combination 19 1193s # Combination 20 1193s # Combination 21 1193s # Combination 22 1193s # Combination 23 1193s # Combination 24 1193s # Combination 25 1193s # Combination 26 1193s # Combination 27 1193s # Combination 28 1193s # Combination 29 1193s # Combination 30 1193s # Combination 31 1193s # Combination 32 1193s # Combination 33 1193s # Combination 34 1193s # Combination 35 1193s # Combination 36 1193s # Combination 37 1193s # Combination 38 1193s # Combination 39 1193s # Combination 40 1193s # Combination 41 1193s # Combination 42 1193s # Combination 43 1193s # Combination 44 1193s # Combination 45 1193s # Combination 46 1193s # Combination 47 1193s # Combination 48 1193s # Combination 49 1193s # Combination 50 1193s # Combination 51 1193s # Combination 52 1193s # Combination 53 1193s # Combination 54 1193s # Combination 55 1193s # Combination 56 1193s # Combination 57 1193s # Combination 58 1193s # Combination 59 1193s # Combination 60 1193s # Combination 61 1193s # Combination 62 1193s # Combination 63 1193s # Combination 64 1193s # Combination 65 1193s # Combination 66 1193s # Combination 67 1193s # Combination 68 1193s # Combination 69 1193s # Combination 70 1193s # Combination 71 1193s # Combination 72 1193s # Combination 73 1193s # Combination 74 1193s # Combination 75 1193s # Combination 76 1193s # Combination 77 1193s # Combination 78 1193s # Combination 79 1193s # Combination 80 1193s # Combination 81 1193s # Combination 82 1193s # Combination 83 1193s # Combination 84 1193s # Combination 85 1193s # Combination 86 1193s # Combination 87 1193s # Combination 88 1193s # Combination 89 1193s # Combination 90 1193s # Combination 91 1193s # Combination 92 1193s # Combination 93 1193s # Combination 94 1193s # Combination 95 1193s # Combination 96 1193s # Combination 97 1193s # Combination 98 1193s # Combination 99 1193s # Combination 100 1193s # Combination 101 1193s # Combination 102 1193s # Combination 103 1193s # Combination 104 1193s # Combination 105 1193s # Combination 106 1193s # Combination 107 1193s # Combination 108 1193s # Combination 109 1193s # Combination 110 1193s # Combination 111 1193s # Combination 112 1193s # Combination 113 1193s # Combination 114 1193s # Combination 115 1193s # Combination 116 1193s # Combination 117 1193s # Combination 118 1193s # Combination 119 1193s # Combination 120 1193s # Combination 121 1193s # Combination 122 1193s # Combination 123 1193s # Combination 124 1193s # Combination 125 1193s # Combination 126 1193s # Combination 127 1193s # Combination 128 1193s # Combination 129 1193s # Combination 130 1193s # Combination 131 1193s # Combination 132 1193s # Combination 133 1193s # Combination 134 1193s # Combination 135 1193s # Combination 136 1193s # Combination 137 1193s # Combination 138 1193s # Combination 139 1193s # Combination 140 1193s # Combination 141 1193s # Combination 142 1193s # Combination 143 1193s # Combination 144 1193s # Combination 145 1193s # Combination 146 1193s # Combination 147 1193s # Combination 148 1193s # Combination 149 1193s # Combination 150 1193s # Combination 151 1193s # Combination 152 1193s # Combination 153 1193s # Combination 154 1193s # Combination 155 1193s # Combination 156 1193s # Combination 157 1193s # Combination 158 1193s # Combination 159 1193s # Combination 160 1193s # Combination 161 1193s # Combination 162 1193s # Combination 163 1193s # Combination 164 1193s # Combination 165 1193s # Combination 166 1193s # Combination 167 1193s # Combination 168 1193s # Combination 169 1193s # Combination 170 1193s # Combination 171 1193s # Combination 172 1193s # Combination 173 1193s # Combination 174 1193s # Combination 175 1193s # Combination 176 1193s # Combination 177 1193s # Combination 178 1193s # Combination 179 1193s # Combination 180 1193s # Combination 181 1193s # Combination 182 1193s # Combination 183 1193s # Combination 184 1193s # Combination 185 1193s # Combination 186 1193s # Combination 187 1193s # Combination 188 1193s # Combination 189 1193s # Combination 190 1193s # Combination 191 1193s # Combination 192 1193s # Combination 193 1193s # Combination 194 1193s # Combination 195 1193s # Combination 196 1193s # Combination 197 1193s # Combination 198 1193s # Combination 199 1193s # Combination 200 1193s # Combination 201 1193s # Combination 202 1193s # Combination 203 1193s # Combination 204 1193s # Combination 205 1193s # Combination 206 1193s # Combination 207 1193s # Combination 208 1193s # Combination 209 1193s # Combination 210 1193s # Combination 211 1193s # Combination 212 1193s # Combination 213 1193s # Combination 214 1193s # Combination 215 1193s # Combination 216 1193s # Combination 217 1193s # Combination 218 1193s # Combination 219 1193s # Combination 220 1193s # Combination 221 1193s # Combination 222 1193s # Combination 223 1193s # Combination 224 1193s # Combination 225 1193s # Combination 226 1193s # Combination 227 1193s # Combination 228 1193s # Combination 229 1193s # Combination 230 1193s # Combination 231 1193s # Combination 232 1193s # Combination 233 1193s # Combination 234 1193s # Combination 235 1193s # Combination 236 1193s # Combination 237 1193s # Combination 238 1193s # Combination 239 1193s # Combination 240 1193s # Combination 241 1193s # Combination 242 1193s # Combination 243 1193s # Combination 244 1193s # Combination 245 1193s # Combination 246 1193s # Combination 247 1193s # Combination 248 1193s # Combination 249 1193s # Combination 250 1193s # Combination 251 1193s # Combination 252 1193s # Combination 253 1193s # Combination 254 1193s # Combination 255 1193s ok 15 /uri/join-split-round-trip 1193s ok 16 /uri/normalize 1193s # Start of unescape-bytes tests 1193s # Test 0: %00%00 1193s # Test 1: /cursors/none.png 1193s # Test 2: /cursors%2fbad-subdir/none.png 1193s # Test 3: %% 1193s # Test 4: % 1193s ok 17 /uri/unescape-bytes/nul-terminated 1193s # Test 0: %00%00 1193s # Test 1: /cursors/none.png 1193s # Test 2: /cursors%2fbad-subdir/none.png 1193s # Test 3: %% 1193s # Test 4: % 1193s ok 18 /uri/unescape-bytes/length 1193s # End of unescape-bytes tests 1193s # Start of parsing tests 1193s # Test 0: foo: 1193s # Test 1: file:/dev/null 1193s # Test 2: file:///dev/null 1193s # Test 3: ftp://user@host/path 1193s # Test 4: ftp://user@host:9999/path 1193s # Test 5: ftp://user:password@host/path 1193s # Test 6: ftp://user:password@host:9999/path 1193s # Test 7: ftp://user:password@host 1193s # Test 8: http://us%65r@host 1193s # Test 9: http://us%40r@host 1193s # Test 10: http://us%3ar@host 1193s # Test 11: http://us%2fr@host 1193s # Test 12: http://us%3fr@host 1193s # Test 13: http://host?query 1193s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1193s # 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 1193s # Test 16: http://space/%20 1193s # Test 17: http://delims/%3C%3E%23%25%22 1193s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1193s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1193s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1193s # Test 21: http://[3ffe:2a00:100:7031::1] 1193s # Test 22: http://[1080::8:800:200C:417A]/foo 1193s # Test 23: http://[::192.9.5.5]/ipng 1193s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1193s # Test 25: http://[2010:836B:4179::836B:4179] 1193s # Test 26: http://host/path with spaces 1193s # Test 27: http://host/path 1193s # Test 28: http://host/path 1193s # Test 29: http://host 1193s # Test 30: http://host:999 1193s # Test 31: http://host/pa 1193s # th 1193s # Test 32: http: 1193s # //host/path 1193s # Test 33: http:// host/path 1193s # Test 34: http://host/path? 1193s # Test 35: http://host/path# 1193s # Test 36: http://host/path% 1193s # Test 37: http://h%ost/path 1193s # Test 38: http://host/path%% 1193s # Test 39: http://host/path%%% 1193s # Test 40: http://host/path%/x/ 1193s # Test 41: http://host/path%0x/ 1193s # Test 42: http://host/path%ax 1193s # Test 43: http://host/p?th/ 1193s # Test 44: HTTP://////////////// 1193s # Test 45: http://@host 1193s # Test 46: http://:@host 1193s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1193s # Test 48: http://example.com/.. 1193s # Test 49: foo0://host/path 1193s # Test 50: f0.o://host/path 1193s # Test 51: http++://host/path 1193s # Test 52: http-ish://host/path 1193s # Test 53: http://[fe80::dead:beef%]/ 1193s # Test 54: http://[fe80::dead:beef%em1]/ 1193s # Test 55: http://[fe80::dead:beef%em1]/ 1193s # Test 56: http://[fe80::dead:beef%25em1]/ 1193s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1193s # Test 58: http://[fe80::dead:beef%25em%31]/ 1193s # Test 59: http://[fe80::dead:beef%10]/ 1193s # Test 60: http://[fe80::dead:beef%10]/ 1193s # Test 61: http://[fe80::dead:beef%25]/ 1193s # Test 62: http://[fe80::dead:beef%25]/ 1193s # Test 63: http://[192.168.0.1%25em1]/ 1193s # Test 64: http://[fe80::dead:beef%2em1]/ 1193s # Test 65: http://[fe80::dead:beef%2em1]/ 1193s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1193s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1193s # Test 68: http://xn--mixed-?p/ 1193s # Test 69: data:./// 1193s # Test 70: data:/.// 1193s ok 19 /uri/parsing/absolute 1193s ok 20 /uri/parsing/relative 1193s # End of parsing tests 1193s # Start of iter-params tests 1193s # URI 0: p1=foo&p2=bar;p3=baz 1193s # URI 1: p1=foo&p2=bar 1193s # URI 2: p1=foo&&P1=bar 1193s # URI 3: %00=foo 1193s # URI 4: p1=%00 1193s # URI 5: p1=foo&p1=bar 1193s # URI 6: p1=foo&P1=bar 1193s # URI 7: =% 1193s # URI 8: = 1193s # URI 9: foo 1193s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1193s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1193s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1193s ok 21 /uri/iter-params/nul-terminated 1193s # URI 0: p1=foo&p2=bar;p3=baz 1193s # URI 1: p1=foo&p2=bar 1193s # URI 2: p1=foo&&P1=bar 1193s # URI 3: %00=foo 1193s # URI 4: p1=%00 1193s # URI 5: p1=foo&p1=bar 1193s # URI 6: p1=foo&P1=bar 1193s # URI 7: =% 1193s # URI 8: = 1193s # URI 9: foo 1193s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1193s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1193s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1193s ok 22 /uri/iter-params/length 1193s # End of iter-params tests 1193s # Start of parse-params tests 1193s # URI 0: p1=foo&p2=bar;p3=baz 1193s # URI 1: p1=foo&p2=bar 1193s # URI 2: p1=foo&&P1=bar 1193s # URI 3: %00=foo 1193s # URI 4: p1=%00 1193s # URI 5: p1=foo&p1=bar 1193s # URI 6: p1=foo&P1=bar 1193s # URI 7: =% 1193s # URI 8: = 1193s # URI 9: foo 1193s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1193s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1193s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1193s ok 23 /uri/parse-params/nul-terminated 1193s # URI 0: p1=foo&p2=bar;p3=baz 1193s # URI 1: p1=foo&p2=bar 1193s # URI 2: p1=foo&&P1=bar 1193s # URI 3: %00=foo 1193s # URI 4: p1=%00 1193s # URI 5: p1=foo&p1=bar 1193s # URI 6: p1=foo&P1=bar 1193s # URI 7: =% 1193s # URI 8: = 1193s # URI 9: foo 1193s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1193s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1193s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1193s ok 24 /uri/parse-params/length 1193s # End of parse-params tests 1193s # End of uri tests 1193s ok - glib/uri.test 1193s # Running test: glib/simple-async-result.test 1193s TAP version 14 1193s # random seed: R02S435e83ccccf723e00647e0f1d562769f 1193s 1..2 1193s # Start of gio tests 1193s # Start of simple-async-result tests 1193s ok 1 /gio/simple-async-result/test 1193s # GLib-GIO-DEBUG: GTask 0x2aa10564700 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1193s ok 2 /gio/simple-async-result/valid 1193s # End of simple-async-result tests 1193s # End of gio tests 1193s ok - glib/simple-async-result.test 1193s # Running test: glib/queue.test 1193s TAP version 14 1193s # random seed: R02S8de3044c9079eed58d8ff51a4f2bd2ba 1193s 1..12 1193s # Start of queue tests 1193s ok 1 /queue/basic 1193s ok 2 /queue/copy 1193s ok 3 /queue/off-by-one 1193s ok 4 /queue/find-custom 1193s ok 5 /queue/static 1193s ok 6 /queue/clear 1193s ok 7 /queue/free-full 1193s ok 8 /queue/clear-full 1193s ok 9 /queue/insert-sibling-link 1193s ok 10 /queue/push-nth-link 1193s # Start of clear-full tests 1193s ok 11 /queue/clear-full/noop 1193s # End of clear-full tests 1193s # Start of random tests 1193s ok 12 /queue/random/seed:1538092227 1193s # End of random tests 1193s # End of queue tests 1193s ok - glib/queue.test 1193s # Running test: glib/cond.test 1193s TAP version 14 1193s # random seed: R02Sd2661ace6feb7854c9e17f0c17539b91 1193s 1..4 1193s # Start of thread tests 1193s ok 1 /thread/cond1 1193s ok 2 /thread/cond2 1193s # Start of cond tests 1194s ok 3 /thread/cond/wait-until 1194s # slow test /thread/cond/wait-until executed in 1.02 secs 1194s # Start of wait-until tests 1194s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1194s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1195s ok 4 /thread/cond/wait-until/contended-and-interrupted 1195s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1195s # End of wait-until tests 1195s # End of cond tests 1195s # End of thread tests 1195s ok - glib/cond.test 1195s # Running test: glib/environment.test 1195s TAP version 14 1195s # random seed: R02S33629c981f4e621752d99451bb943113 1195s 1..6 1195s # Start of environ tests 1195s # /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. 1195s ok 1 /environ/listenv 1195s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1195s ok 2 /environ/getenv 1195s ok 3 /environ/setenv 1195s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1195s ok 4 /environ/array 1195s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1195s ok 5 /environ/null 1195s # /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. 1195s ok 6 /environ/case 1195s # End of environ tests 1195s ok - glib/environment.test 1195s # Running test: glib/atomic-c-89.test 1195s TAP version 14 1195s # random seed: R02S63fd11e94c9a8d976c5e95d885ace69d 1195s 1..2 1195s # Start of atomic tests 1195s ok 1 /atomic/types 1195s ok 2 /atomic/threaded 1195s # End of atomic tests 1195s ok - glib/atomic-c-89.test 1195s # Running test: glib/mount-operation.test 1195s TAP version 14 1195s # random seed: R02S7be69113eaf6aea4559f30a36a2df221 1195s 1..2 1195s # Start of mount-operation tests 1195s ok 1 /mount-operation/construction 1195s ok 2 /mount-operation/properties 1195s # End of mount-operation tests 1195s ok - glib/mount-operation.test 1195s # Running test: glib/glistmodel.test 1195s TAP version 14 1195s # random seed: R02S41e2ce8da9687c1b7241825904a74a83 1195s 1..18 1195s # Start of glistmodel tests 1195s # Start of store tests 1195s ok 1 /glistmodel/store/properties 1195s ok 2 /glistmodel/store/non-gobjects 1195s ok 3 /glistmodel/store/boundaries 1195s ok 4 /glistmodel/store/refcounts 1195s ok 5 /glistmodel/store/sorted 1195s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1195s ok 6 /glistmodel/store/splice-replace-middle 1195s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1195s ok 7 /glistmodel/store/splice-replace-all 1195s ok 8 /glistmodel/store/splice-noop 1195s ok 9 /glistmodel/store/splice-remove-multiple 1195s ok 10 /glistmodel/store/splice-add-multiple 1195s ok 11 /glistmodel/store/splice-wrong-type 1195s ok 12 /glistmodel/store/item-type 1195s ok 13 /glistmodel/store/remove-all 1195s ok 14 /glistmodel/store/sort 1195s ok 15 /glistmodel/store/get-item-cache 1195s ok 16 /glistmodel/store/items-changed 1195s ok 17 /glistmodel/store/past-end 1195s ok 18 /glistmodel/store/find 1195s # End of store tests 1195s # End of glistmodel tests 1195s ok - glib/glistmodel.test 1195s # Running test: glib/fileattributematcher.test 1195s TAP version 14 1195s # random seed: R02Sed77e4b6f1cc8c01bfb9f8c9ea38e159 1195s 1..3 1195s # Start of fileattributematcher tests 1195s ok 1 /fileattributematcher/exact 1195s ok 2 /fileattributematcher/equality 1195s ok 3 /fileattributematcher/subtract 1195s # End of fileattributematcher tests 1195s ok - glib/fileattributematcher.test 1195s # Running test: glib/resources.test 1195s TAP version 14 1195s # random seed: R02S8dfd9c80ab594c3eae3573556147843b 1195s 1..19 1195s # Start of resource tests 1195s ok 1 /resource/file 1195s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1195s ok 2 /resource/file-path 1195s ok 3 /resource/data 1195s ok 4 /resource/data_unaligned 1195s ok 5 /resource/data-corrupt 1195s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 1195s ok 6 /resource/data-corrupt-compression 1195s ok 7 /resource/data-empty 1195s ok 8 /resource/registered 1195s ok 9 /resource/manual 1195s ok 10 /resource/manual2 1195s ok 11 /resource/automatic 1195s ok 12 /resource/module 1195s ok 13 /resource/binary-linked 1195s ok 14 /resource/64k 1195s GLib-GIO-Message: 13:30:32.683: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1195s GLib-GIO-Message: 13:30:32.683: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1195s GLib-GIO-Message: 13:30:32.683: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1195s ok 15 /resource/overlay 1195s ok 16 /resource/digits 1195s ok 17 /resource/has-children 1195s # Start of uri tests 1195s ok 18 /resource/uri/query-info 1195s ok 19 /resource/uri/file 1195s # End of uri tests 1195s # End of resource tests 1195s ok - glib/resources.test 1195s # Running test: glib/signal-handler.test 1195s TAP version 14 1195s # random seed: R02Sd84f6737cc193c130be5b84c81499146 1195s 1..7 1195s # Start of signal tests 1195s # Start of handler tests 1195s # min perf: connected 1 handlers in 0.000 seconds 1195s ok 1 /signal/handler/connect-many 1195s # min perf: disconnected 1 handlers in 0.000 seconds 1195s ok 2 /signal/handler/disconnect-many-ordered 1195s # min perf: disconnected 1 handlers in 0.000 seconds 1195s ok 3 /signal/handler/disconnect-many-inverse 1195s # min perf: disconnected 1 handlers in 0.000 seconds 1195s ok 4 /signal/handler/disconnect-many-random 1195s # min perf: disconnected 1 handlers in 0.000 seconds 1195s ok 5 /signal/handler/disconnect-2-signals 1195s # min perf: disconnected 1 handlers in 0.000 seconds 1195s ok 6 /signal/handler/disconnect-2-objects 1195s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1195s ok 7 /signal/handler/block-many 1195s # End of handler tests 1195s # End of signal tests 1195s ok - glib/signal-handler.test 1195s # Running test: glib/codegen.py.test 1195s TAP version 13 1195s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1195s # tmpdir: /tmp/tmpt_bk803h 1195s # codegen: /usr/bin/gdbus-codegen 1195s # /tmp/tmpt_bk803h/tmpc_ip4sd_.xml: 1195s # 1195s # 1195s # 1195s # 1195s # 1195s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt_bk803h/tmpc_ip4sd_.xml', '--output', '-', '--header'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1195s # Output: /* 1195s # * This file is generated by gdbus-codegen, do not modify it. 1195s # * 1195s # * The license of this code is the same as for the D-Bus interface description 1195s # * it was derived from. Note that it links to GLib, so must comply with the 1195s # * LGPL linking clauses. 1195s # */ 1195s # 1195s # #ifndef __STDOUT__ 1195s # #define __STDOUT__ 1195s # 1195s # #include 1195s # 1195s # G_BEGIN_DECLS 1195s # 1195s # 1195s # /* ------------------------------------------------------------------------ */ 1195s # /* Declarations for org.project.UsefulInterface */ 1195s # 1195s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1195s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1195s # 1195s # struct _OrgProjectUsefulInterface; 1195s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1195s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1195s # 1195s # struct _OrgProjectUsefulInterfaceIface 1195s # { 1195s # GTypeInterface parent_iface; 1195s # 1195s # gboolean (*handle_useful_method) ( 1195s # OrgProjectUsefulInterface *object, 1195s # GDBusMethodInvocation *invocation); 1195s # 1195s # }; 1195s # 1195s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1195s # 1195s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1195s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1195s # 1195s # 1195s # /* D-Bus method call completion functions: */ 1195s # void org_project_useful_interface_complete_useful_method ( 1195s # OrgProjectUsefulInterface *object, 1195s # GDBusMethodInvocation *invocation); 1195s # 1195s # 1195s # 1195s # /* D-Bus method calls: */ 1195s # void org_project_useful_interface_call_useful_method ( 1195s # OrgProjectUsefulInterface *proxy, 1195s # GCancellable *cancellable, 1195s # GAsyncReadyCallback callback, 1195s # gpointer user_data); 1195s # 1195s # gboolean org_project_useful_interface_call_useful_method_finish ( 1195s # OrgProjectUsefulInterface *proxy, 1195s # GAsyncResult *res, 1195s # GError **error); 1195s # 1195s # gboolean org_project_useful_interface_call_useful_method_sync ( 1195s # OrgProjectUsefulInterface *proxy, 1195s # GCancellable *cancellable, 1195s # GError **error); 1195s # 1195s # 1195s # 1195s # /* ---- */ 1195s # 1195s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1195s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1195s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1195s # 1195s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1195s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1195s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1195s # 1195s # struct _OrgProjectUsefulInterfaceProxy 1195s # { 1195s # /*< private >*/ 1195s # GDBusProxy parent_instance; 1195s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1195s # }; 1195s # 1195s # struct _OrgProjectUsefulInterfaceProxyClass 1195s # { 1195s # GDBusProxyClass parent_class; 1195s # }; 1195s # 1195s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1195s # 1195s # #if GLIB_CHECK_VERSION(2, 44, 0) 1195s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1195s # #endif 1195s # 1195s # void org_project_useful_interface_proxy_new ( 1195s # GDBusConnection *connection, 1195s # GDBusProxyFlags flags, 1195s # const gchar *name, 1195s # const gchar *object_path, 1195s # GCancellable *cancellable, 1195s # GAsyncReadyCallback callback, 1195s # gpointer user_data); 1195s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1195s # GAsyncResult *res, 1195s # GError **error); 1195s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1195s # GDBusConnection *connection, 1195s # GDBusProxyFlags flags, 1195s # const gchar *name, 1195s # const gchar *object_path, 1195s # GCancellable *cancellable, 1195s # GError **error); 1195s # 1195s # void org_project_useful_interface_proxy_new_for_bus ( 1195s # GBusType bus_type, 1195s # GDBusProxyFlags flags, 1195s # const gchar *name, 1195s # const gchar *object_path, 1195s # GCancellable *cancellable, 1195s # GAsyncReadyCallback callback, 1195s # gpointer user_data); 1195s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1195s # GAsyncResult *res, 1195s # GError **error); 1195s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1195s # GBusType bus_type, 1195s # GDBusProxyFlags flags, 1195s # const gchar *name, 1195s # const gchar *object_path, 1195s # GCancellable *cancellable, 1195s # GError **error); 1195s # 1195s # 1195s # /* ---- */ 1195s # 1195s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1195s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1195s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1195s # 1195s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1195s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1195s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1195s # 1195s # struct _OrgProjectUsefulInterfaceSkeleton 1195s # { 1195s # /*< private >*/ 1195s # GDBusInterfaceSkeleton parent_instance; 1195s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1195s # }; 1195s # 1195s # struct _OrgProjectUsefulInterfaceSkeletonClass 1195s # { 1195s # GDBusInterfaceSkeletonClass parent_class; 1195s # }; 1195s # 1195s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1195s # 1195s # #if GLIB_CHECK_VERSION(2, 44, 0) 1195s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1195s # #endif 1195s # 1195s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1195s # 1195s # 1195s # G_END_DECLS 1195s # 1195s # #endif /* __STDOUT__ */ 1195s # /tmp/tmpt_bk803h/tmpg01ywh8u.xml: 1195s # 1195s # 1195s # 1195s # 1195s # 1195s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt_bk803h/tmpg01ywh8u.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1195s # Output: /* 1195s # * This file is generated by gdbus-codegen, do not modify it. 1195s # * 1195s # * The license of this code is the same as for the D-Bus interface description 1195s # * it was derived from. Note that it links to GLib, so must comply with the 1195s # * LGPL linking clauses. 1195s # */ 1195s # 1195s # #ifndef __STDOUT__ 1195s # #define __STDOUT__ 1195s # 1195s # #include 1195s # 1195s # G_BEGIN_DECLS 1195s # 1195s # 1195s # /* ------------------------------------------------------------------------ */ 1195s # /* Declarations for org.project.UsefulInterface */ 1195s # 1195s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1195s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1195s # 1195s # struct _OrgProjectUsefulInterface; 1195s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1195s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1195s # 1195s # struct _OrgProjectUsefulInterfaceIface 1195s # { 1195s # GTypeInterface parent_iface; 1195s # 1195s # gboolean (*handle_useful_method) ( 1195s # OrgProjectUsefulInterface *object, 1195s # GDBusMethodInvocation *invocation); 1195s # 1195s # }; 1195s # 1195s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1195s # 1195s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1195s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1195s # 1195s # 1195s # /* D-Bus method call completion functions: */ 1195s # void org_project_useful_interface_complete_useful_method ( 1195s # OrgProjectUsefulInterface *object, 1195s # GDBusMethodInvocation *invocation); 1195s # 1195s # 1195s # 1195s # /* D-Bus method calls: */ 1195s # void org_project_useful_interface_call_useful_method ( 1195s # OrgProjectUsefulInterface *proxy, 1195s # GCancellable *cancellable, 1195s # GAsyncReadyCallback callback, 1195s # gpointer user_data); 1195s # 1195s # gboolean org_project_useful_interface_call_useful_method_finish ( 1195s # OrgProjectUsefulInterface *proxy, 1195s # GAsyncResult *res, 1195s # GError **error); 1195s # 1195s # gboolean org_project_useful_interface_call_useful_method_sync ( 1195s # OrgProjectUsefulInterface *proxy, 1195s # GCancellable *cancellable, 1195s # GError **error); 1195s # 1195s # 1195s # 1195s # /* ---- */ 1195s # 1195s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1195s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1195s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1195s # 1195s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1195s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1195s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1195s # 1195s # struct _OrgProjectUsefulInterfaceProxy 1195s # { 1195s # /*< private >*/ 1195s # GDBusProxy parent_instance; 1195s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1195s # }; 1195s # 1195s # struct _OrgProjectUsefulInterfaceProxyClass 1195s # { 1195s # GDBusProxyClass parent_class; 1195s # }; 1195s # 1195s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1195s # 1195s # #if GLIB_CHECK_VERSION(2, 44, 0) 1195s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1195s # #endif 1195s # 1195s # void org_project_useful_interface_proxy_new ( 1195s # GDBusConnection *connection, 1195s # GDBusProxyFlags flags, 1195s # const gchar *name, 1195s # const gchar *object_path, 1195s # GCancellable *cancellable, 1195s # GAsyncReadyCallback callback, 1195s # gpointer user_data); 1195s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1195s # GAsyncResult *res, 1195s # GError **error); 1195s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1195s # GDBusConnection *connection, 1195s # GDBusProxyFlags flags, 1195s # const gchar *name, 1195s # const gchar *object_path, 1195s # GCancellable *cancellable, 1195s # GError **error); 1195s # 1195s # void org_project_useful_interface_proxy_new_for_bus ( 1195s # GBusType bus_type, 1195s # GDBusProxyFlags flags, 1195s # const gchar *name, 1195s # const gchar *object_path, 1195s # GCancellable *cancellable, 1195s # GAsyncReadyCallback callback, 1195s # gpointer user_data); 1195s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1195s # GAsyncResult *res, 1195s # GError **error); 1195s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1195s # GBusType bus_type, 1195s # GDBusProxyFlags flags, 1195s # const gchar *name, 1195s # const gchar *object_path, 1195s # GCancellable *cancellable, 1195s # GError **error); 1195s # 1195s # 1195s # /* ---- */ 1195s # 1195s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1195s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1195s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1195s # 1195s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1195s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1195s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1195s # 1195s # struct _OrgProjectUsefulInterfaceSkeleton 1195s # { 1195s # /*< private >*/ 1195s # GDBusInterfaceSkeleton parent_instance; 1195s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1195s # }; 1195s # 1195s # struct _OrgProjectUsefulInterfaceSkeletonClass 1195s # { 1195s # GDBusInterfaceSkeletonClass parent_class; 1195s # }; 1195s # 1195s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1195s # 1195s # #if GLIB_CHECK_VERSION(2, 44, 0) 1195s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1195s # #endif 1195s # 1195s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1195s # 1195s # 1195s # G_END_DECLS 1195s # 1195s # #endif /* __STDOUT__ */ 1195s # /tmp/tmpt_bk803h/tmprtkevkdp.xml: 1195s # 1195s # 1195s # 1195s # 1195s # 1195s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt_bk803h/tmprtkevkdp.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1195s # Output: /* 1195s # * This file is generated by gdbus-codegen, do not modify it. 1195s # * 1195s # * The license of this code is the same as for the D-Bus interface description 1195s # * it was derived from. Note that it links to GLib, so must comply with the 1195s # * LGPL linking clauses. 1195s # */ 1195s # 1195s # #ifndef __STDOUT__ 1195s # #define __STDOUT__ 1195s # 1195s # #include 1195s # 1195s # G_BEGIN_DECLS 1195s # 1195s # 1195s # /* ------------------------------------------------------------------------ */ 1195s # /* Declarations for org.project.UsefulInterface */ 1195s # 1195s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1195s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1195s # 1195s # struct _OrgProjectUsefulInterface; 1195s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1195s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1195s # 1195s # struct _OrgProjectUsefulInterfaceIface 1195s # { 1195s # GTypeInterface parent_iface; 1195s # 1195s # gboolean (*handle_useful_method) ( 1195s # OrgProjectUsefulInterface *object, 1195s # GDBusMethodInvocation *invocation); 1195s # 1195s # }; 1195s # 1195s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1195s # 1195s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1195s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1195s # 1195s # 1195s # /* D-Bus method call completion functions: */ 1195s # void org_project_useful_interface_complete_useful_method ( 1195s # OrgProjectUsefulInterface *object, 1195s # GDBusMethodInvocation *invocation); 1195s # 1195s # 1195s # 1195s # /* D-Bus method calls: */ 1195s # void org_project_useful_interface_call_useful_method ( 1195s # OrgProjectUsefulInterface *proxy, 1195s # GDBusCallFlags call_flags, 1195s # gint timeout_msec, 1195s # GCancellable *cancellable, 1195s # GAsyncReadyCallback callback, 1195s # gpointer user_data); 1195s # 1195s # gboolean org_project_useful_interface_call_useful_method_finish ( 1195s # OrgProjectUsefulInterface *proxy, 1195s # GAsyncResult *res, 1195s # GError **error); 1195s # 1195s # gboolean org_project_useful_interface_call_useful_method_sync ( 1195s # OrgProjectUsefulInterface *proxy, 1195s # GDBusCallFlags call_flags, 1195s # gint timeout_msec, 1195s # GCancellable *cancellable, 1195s # GError **error); 1195s # 1195s # 1195s # 1195s # /* ---- */ 1195s # 1195s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1195s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1195s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1195s # 1195s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1195s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1195s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1195s # 1195s # struct _OrgProjectUsefulInterfaceProxy 1195s # { 1195s # /*< private >*/ 1195s # GDBusProxy parent_instance; 1195s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1195s # }; 1195s # 1195s # struct _OrgProjectUsefulInterfaceProxyClass 1195s # { 1195s # GDBusProxyClass parent_class; 1195s # }; 1195s # 1195s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1195s # 1195s # #if GLIB_CHECK_VERSION(2, 44, 0) 1195s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1195s # #endif 1195s # 1195s # void org_project_useful_interface_proxy_new ( 1195s # GDBusConnection *connection, 1195s # GDBusProxyFlags flags, 1195s # const gchar *name, 1195s # const gchar *object_path, 1195s # GCancellable *cancellable, 1195s # GAsyncReadyCallback callback, 1195s # gpointer user_data); 1195s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1195s # GAsyncResult *res, 1195s # GError **error); 1195s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1195s # GDBusConnection *connection, 1195s # GDBusProxyFlags flags, 1195s # const gchar *name, 1195s # const gchar *object_path, 1195s # GCancellable *cancellable, 1195s # GError **error); 1195s # 1195s # void org_project_useful_interface_proxy_new_for_bus ( 1195s # GBusType bus_type, 1195s # GDBusProxyFlags flags, 1195s # const gchar *name, 1195s # const gchar *object_path, 1195s # GCancellable *cancellable, 1195s # GAsyncReadyCallback callback, 1195s # gpointer user_data); 1195s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1195s # GAsyncResult *res, 1195s # GError **error); 1195s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1195s # GBusType bus_type, 1195s # GDBusProxyFlags flags, 1195s # const gchar *name, 1195s # const gchar *object_path, 1195s # GCancellable *cancellable, 1195s # GError **error); 1195s # 1195s # 1195s # /* ---- */ 1195s # 1195s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1195s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1195s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1195s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1195s # 1195s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1195s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1195s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1195s # 1195s # struct _OrgProjectUsefulInterfaceSkeleton 1195s # { 1195s # /*< private >*/ 1195s # GDBusInterfaceSkeleton parent_instance; 1195s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1195s # }; 1195s # 1195s # struct _OrgProjectUsefulInterfaceSkeletonClass 1195s # { 1195s # GDBusInterfaceSkeletonClass parent_class; 1195s # }; 1195s # 1195s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1195s # 1195s # #if GLIB_CHECK_VERSION(2, 44, 0) 1195s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1195s # #endif 1195s # 1195s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1195s # 1195s # 1195s # G_END_DECLS 1195s # 1195s # #endif /* __STDOUT__ */ 1196s ok 2 __main__.TestCodegen.test_dbus_types 1196s # tmpdir: /tmp/tmp9fem6oqd 1196s # codegen: /usr/bin/gdbus-codegen 1196s # /tmp/tmp9fem6oqd/tmpzbvsbalj.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9fem6oqd/tmpzbvsbalj.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # /tmp/tmp9fem6oqd/tmp6gy5jonh.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9fem6oqd/tmp6gy5jonh.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # /tmp/tmp9fem6oqd/tmp9z9w5f3g.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9fem6oqd/tmp9z9w5f3g.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # /tmp/tmp9fem6oqd/tmp0hzmv9p2.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9fem6oqd/tmp0hzmv9p2.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # /tmp/tmp9fem6oqd/tmpwryiymdg.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9fem6oqd/tmpwryiymdg.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # /tmp/tmp9fem6oqd/tmpmms22i54.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9fem6oqd/tmpmms22i54.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # /tmp/tmp9fem6oqd/tmptg202m_9.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9fem6oqd/tmptg202m_9.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # /tmp/tmp9fem6oqd/tmpmub47lzv.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9fem6oqd/tmpmub47lzv.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # /tmp/tmp9fem6oqd/tmpewomzd3j.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9fem6oqd/tmpewomzd3j.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # /tmp/tmp9fem6oqd/tmpokckkyfl.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9fem6oqd/tmpokckkyfl.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # /tmp/tmp9fem6oqd/tmplasrvefy.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9fem6oqd/tmplasrvefy.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # /tmp/tmp9fem6oqd/tmpbwowhvxf.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9fem6oqd/tmpbwowhvxf.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # /tmp/tmp9fem6oqd/tmp12vyk1cw.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9fem6oqd/tmp12vyk1cw.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # /tmp/tmp9fem6oqd/tmp67a_d6uk.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9fem6oqd/tmp67a_d6uk.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # Output: /* 1196s # * This file is generated by gdbus-codegen, do not modify it. 1196s # * 1196s # * The license of this code is the same as for the D-Bus interface description 1196s # * it was derived from. Note that it links to GLib, so must comply with the 1196s # * LGPL linking clauses. 1196s # */ 1196s # 1196s # #ifdef HAVE_CONFIG_H 1196s # # include "config.h" 1196s # #endif 1196s # 1196s # #include 1196s # #ifdef G_OS_UNIX 1196s # # include 1196s # #endif 1196s # 1196s # #ifdef G_ENABLE_DEBUG 1196s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1196s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1196s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1196s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1196s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1196s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1196s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1196s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1196s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1196s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1196s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1196s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1196s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1196s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1196s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1196s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1196s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1196s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1196s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1196s # #else /* !G_ENABLE_DEBUG */ 1196s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1196s # * Do not access GValues directly in your code. Instead, use the 1196s # * g_value_get_*() functions 1196s # */ 1196s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1196s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1196s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1196s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1196s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1196s # #endif /* !G_ENABLE_DEBUG */ 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusArgInfo parent_struct; 1196s # gboolean use_gvariant; 1196s # } _ExtendedGDBusArgInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusMethodInfo parent_struct; 1196s # const gchar *signal_name; 1196s # gboolean pass_fdlist; 1196s # } _ExtendedGDBusMethodInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusSignalInfo parent_struct; 1196s # const gchar *signal_name; 1196s # } _ExtendedGDBusSignalInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusPropertyInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # guint use_gvariant : 1; 1196s # guint emits_changed_signal : 1; 1196s # } _ExtendedGDBusPropertyInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusInterfaceInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # } _ExtendedGDBusInterfaceInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # guint prop_id; 1196s # GValue orig_value; /* the value before the change */ 1196s # } ChangedProperty; 1196s # 1196s # static void 1196s # _changed_property_free (ChangedProperty *data) 1196s # { 1196s # g_value_unset (&data->orig_value); 1196s # g_free (data); 1196s # } 1196s # 1196s # static gboolean 1196s # _g_strv_equal0 (gchar **a, gchar **b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # guint n; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # if (g_strv_length (a) != g_strv_length (b)) 1196s # goto out; 1196s # for (n = 0; a[n] != NULL; n++) 1196s # if (g_strcmp0 (a[n], b[n]) != 0) 1196s # goto out; 1196s # ret = TRUE; 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _g_variant_equal0 (GVariant *a, GVariant *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # ret = g_variant_equal (a, b); 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # G_GNUC_UNUSED static gboolean 1196s # _g_value_equal (const GValue *a, const GValue *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1196s # switch (G_VALUE_TYPE (a)) 1196s # { 1196s # case G_TYPE_BOOLEAN: 1196s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1196s # break; 1196s # case G_TYPE_UCHAR: 1196s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1196s # break; 1196s # case G_TYPE_INT: 1196s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1196s # break; 1196s # case G_TYPE_UINT: 1196s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1196s # break; 1196s # case G_TYPE_INT64: 1196s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1196s # break; 1196s # case G_TYPE_UINT64: 1196s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1196s # break; 1196s # case G_TYPE_DOUBLE: 1196s # { 1196s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1196s # gdouble da = g_value_get_double (a); 1196s # gdouble db = g_value_get_double (b); 1196s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1196s # } 1196s # break; 1196s # case G_TYPE_STRING: 1196s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1196s # break; 1196s # case G_TYPE_VARIANT: 1196s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1196s # break; 1196s # default: 1196s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1196s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1196s # else 1196s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1196s # break; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ 1196s # * Code for interface GoodTypes 1196s # * ------------------------------------------------------------------------ 1196s # */ 1196s # 1196s # /** 1196s # * SECTION:GoodTypes 1196s # * @title: GoodTypes 1196s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1196s # * 1196s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1196s # */ 1196s # 1196s # /* ---- Introspection data for GoodTypes ---- */ 1196s # 1196s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "GoodPropertyType", 1196s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1196s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1196s # NULL 1196s # }, 1196s # "good-property-type", 1196s # FALSE, 1196s # TRUE 1196s # }; 1196s # 1196s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1196s # { 1196s # &_good_types_property_info_good_property_type.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "GoodTypes", 1196s # NULL, 1196s # NULL, 1196s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1196s # NULL 1196s # }, 1196s # "good-types", 1196s # }; 1196s # 1196s # 1196s # /** 1196s # * good_types_interface_info: 1196s # * 1196s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1196s # * 1196s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1196s # */ 1196s # GDBusInterfaceInfo * 1196s # good_types_interface_info (void) 1196s # { 1196s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1196s # } 1196s # 1196s # /** 1196s # * good_types_override_properties: 1196s # * @klass: The class structure for a #GObject derived class. 1196s # * @property_id_begin: The property id to assign to the first overridden property. 1196s # * 1196s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1196s # * The properties are overridden in the order they are defined. 1196s # * 1196s # * Returns: The last property id. 1196s # */ 1196s # guint 1196s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1196s # { 1196s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1196s # return property_id_begin - 1; 1196s # } 1196s # 1196s # 1196s # 1196s # /** 1196s # * GoodTypes: 1196s # * 1196s # * Abstract interface type for the D-Bus interface GoodTypes. 1196s # */ 1196s # 1196s # /** 1196s # * GoodTypesIface: 1196s # * @parent_iface: The parent interface. 1196s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1196s # * 1196s # * Virtual table for the D-Bus interface GoodTypes. 1196s # */ 1196s # 1196s # typedef GoodTypesIface GoodTypesInterface; 1196s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1196s # 1196s # static void 1196s # good_types_default_init (GoodTypesIface *iface) 1196s # { 1196s # /* GObject properties for D-Bus properties: */ 1196s # /** 1196s # * GoodTypes:good-property-type: 1196s # * 1196s # * Represents the D-Bus property "GoodPropertyType". 1196s # * 1196s # * 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. 1196s # */ 1196s # g_object_interface_install_property (iface, 1196s # 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)); 1196s # } 1196s # 1196s # /** 1196s # * good_types_get_good_property_type: (skip) 1196s # * @object: A GoodTypes. 1196s # * 1196s # * Gets the value of the "GoodPropertyType" D-Bus property. 1196s # * 1196s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1196s # * 1196s # * 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. 1196s # * 1196s # * 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. 1196s # */ 1196s # GVariant * 1196s # good_types_get_good_property_type (GoodTypes *object) 1196s # { 1196s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1196s # 1196s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1196s # } 1196s # 1196s # /** 1196s # * good_types_dup_good_property_type: (skip) 1196s # * @object: A GoodTypes. 1196s # * 1196s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1196s # * 1196s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1196s # * 1196s # * 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(). 1196s # */ 1196s # GVariant * 1196s # good_types_dup_good_property_type (GoodTypes *object) 1196s # { 1196s # GVariant *value; 1196s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1196s # return value; 1196s # } 1196s # 1196s # /** 1196s # * good_types_set_good_property_type: (skip) 1196s # * @object: A GoodTypes. 1196s # * @value: The value to set. 1196s # * 1196s # * Sets the "GoodPropertyType" D-Bus property to @value. 1196s # * 1196s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1196s # */ 1196s # void 1196s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1196s # { 1196s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * GoodTypesProxy: 1196s # * 1196s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * GoodTypesProxyClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for GoodTypesProxy. 1196s # */ 1196s # 1196s # struct _GoodTypesProxyPrivate 1196s # { 1196s # GData *qdata; 1196s # }; 1196s # 1196s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1196s # G_ADD_PRIVATE (GoodTypesProxy) 1196s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1196s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # good_types_proxy_finalize (GObject *object) 1196s # { 1196s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1196s # g_datalist_clear (&proxy->priv->qdata); 1196s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_get_property (GObject *object, 1196s # guint prop_id, 1196s # GValue *value, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # GVariant *variant; 1196s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1196s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1196s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1196s # if (info->use_gvariant) 1196s # { 1196s # g_value_set_variant (value, variant); 1196s # } 1196s # else 1196s # { 1196s # if (variant != NULL) 1196s # g_dbus_gvariant_to_gvalue (variant, value); 1196s # } 1196s # if (variant != NULL) 1196s # g_variant_unref (variant); 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1196s # GAsyncResult *res, 1196s # gpointer user_data) 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info = user_data; 1196s # GError *error; 1196s # GVariant *_ret; 1196s # error = NULL; 1196s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1196s # if (!_ret) 1196s # { 1196s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1196s # info->parent_struct.name, 1196s # error->message, g_quark_to_string (error->domain), error->code); 1196s # g_error_free (error); 1196s # } 1196s # else 1196s # { 1196s # g_variant_unref (_ret); 1196s # } 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_set_property (GObject *object, 1196s # guint prop_id, 1196s # const GValue *value, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # GVariant *variant; 1196s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1196s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1196s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1196s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1196s # "org.freedesktop.DBus.Properties.Set", 1196s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1196s # g_variant_unref (variant); 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_g_signal (GDBusProxy *proxy, 1196s # const gchar *sender_name G_GNUC_UNUSED, 1196s # const gchar *signal_name, 1196s # GVariant *parameters) 1196s # { 1196s # _ExtendedGDBusSignalInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # gsize n; 1196s # guint signal_id; 1196s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1196s # if (info == NULL) 1196s # return; 1196s # num_params = g_variant_n_children (parameters); 1196s # paramv = g_new0 (GValue, num_params + 1); 1196s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1196s # g_value_set_object (¶mv[0], proxy); 1196s # g_variant_iter_init (&iter, parameters); 1196s # n = 1; 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1196s # g_signal_emitv (paramv, signal_id, 0, NULL); 1196s # for (n = 0; n < num_params + 1; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1196s # GVariant *changed_properties, 1196s # const gchar *const *invalidated_properties) 1196s # { 1196s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1196s # guint n; 1196s # const gchar *key; 1196s # GVariantIter *iter; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # g_variant_get (changed_properties, "a{sv}", &iter); 1196s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1196s # g_datalist_remove_data (&proxy->priv->qdata, key); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # g_variant_iter_free (iter); 1196s # for (n = 0; invalidated_properties[n] != NULL; n++) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1196s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # } 1196s # 1196s # static GVariant * 1196s # good_types_proxy_get_good_property_type (GoodTypes *object) 1196s # { 1196s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1196s # GVariant *variant; 1196s # GVariant *value = NULL; 1196s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1196s # value = variant; 1196s # if (variant != NULL) 1196s # g_variant_unref (variant); 1196s # return value; 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_init (GoodTypesProxy *proxy) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1196s # #else 1196s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1196s # #endif 1196s # 1196s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusProxyClass *proxy_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = good_types_proxy_finalize; 1196s # gobject_class->get_property = good_types_proxy_get_property; 1196s # gobject_class->set_property = good_types_proxy_set_property; 1196s # 1196s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1196s # proxy_class->g_signal = good_types_proxy_g_signal; 1196s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1196s # 1196s # good_types_override_properties (gobject_class, 1); 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_iface_init (GoodTypesIface *iface) 1196s # { 1196s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1196s # } 1196s # 1196s # /** 1196s # * good_types_proxy_new: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1196s # * 1196s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # good_types_proxy_new ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # 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); 1196s # } 1196s # 1196s # /** 1196s # * good_types_proxy_new_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with good_types_proxy_new(). 1196s # * 1196s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # GoodTypes * 1196s # good_types_proxy_new_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return GOOD_TYPES (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * good_types_proxy_new_sync: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # GoodTypes * 1196s # good_types_proxy_new_sync ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return GOOD_TYPES (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /** 1196s # * good_types_proxy_new_for_bus: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1196s # * 1196s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # good_types_proxy_new_for_bus ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # 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); 1196s # } 1196s # 1196s # /** 1196s # * good_types_proxy_new_for_bus_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1196s # * 1196s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # GoodTypes * 1196s # good_types_proxy_new_for_bus_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return GOOD_TYPES (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * good_types_proxy_new_for_bus_sync: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # GoodTypes * 1196s # good_types_proxy_new_for_bus_sync ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return GOOD_TYPES (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * GoodTypesSkeleton: 1196s # * 1196s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * GoodTypesSkeletonClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for GoodTypesSkeleton. 1196s # */ 1196s # 1196s # struct _GoodTypesSkeletonPrivate 1196s # { 1196s # GValue *properties; 1196s # GList *changed_properties; 1196s # GSource *changed_properties_idle_source; 1196s # GMainContext *context; 1196s # GMutex lock; 1196s # }; 1196s # 1196s # static void 1196s # _good_types_skeleton_handle_method_call ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name, 1196s # const gchar *method_name, 1196s # GVariant *parameters, 1196s # GDBusMethodInvocation *invocation, 1196s # gpointer user_data) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1196s # _ExtendedGDBusMethodInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # guint num_extra; 1196s # gsize n; 1196s # guint signal_id; 1196s # GValue return_value = G_VALUE_INIT; 1196s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1196s # g_assert (info != NULL); 1196s # num_params = g_variant_n_children (parameters); 1196s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1196s # n = 0; 1196s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1196s # g_value_set_object (¶mv[n++], skeleton); 1196s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1196s # g_value_set_object (¶mv[n++], invocation); 1196s # if (info->pass_fdlist) 1196s # { 1196s # #ifdef G_OS_UNIX 1196s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1196s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1196s # #else 1196s # g_assert_not_reached (); 1196s # #endif 1196s # } 1196s # g_variant_iter_init (&iter, parameters); 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1196s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1196s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1196s # if (!g_value_get_boolean (&return_value)) 1196s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1196s # g_value_unset (&return_value); 1196s # for (n = 0; n < num_params + num_extra; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static GVariant * 1196s # _good_types_skeleton_handle_get_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # GVariant *ret; 1196s # ret = NULL; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # g_value_init (&value, pspec->value_type); 1196s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1196s # g_value_unset (&value); 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _good_types_skeleton_handle_set_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GVariant *variant, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # gboolean ret; 1196s # ret = FALSE; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # if (info->use_gvariant) 1196s # g_value_set_variant (&value, variant); 1196s # else 1196s # g_dbus_gvariant_to_gvalue (variant, &value); 1196s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # g_value_unset (&value); 1196s # ret = TRUE; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1196s # { 1196s # _good_types_skeleton_handle_method_call, 1196s # _good_types_skeleton_handle_get_property, 1196s # _good_types_skeleton_handle_set_property, 1196s # {NULL} 1196s # }; 1196s # 1196s # static GDBusInterfaceInfo * 1196s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return good_types_interface_info (); 1196s # } 1196s # 1196s # static GDBusInterfaceVTable * 1196s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1196s # } 1196s # 1196s # static GVariant * 1196s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1196s # 1196s # GVariantBuilder builder; 1196s # guint n; 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1196s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #else 1196s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #endif 1196s # if (_good_types_interface_info.parent_struct.properties == NULL) 1196s # goto out; 1196s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1196s # { 1196s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1196s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1196s # { 1196s # GVariant *value; 1196s # 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); 1196s # if (value != NULL) 1196s # { 1196s # g_variant_take_ref (value); 1196s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1196s # g_variant_unref (value); 1196s # } 1196s # } 1196s # } 1196s # out: 1196s # return g_variant_builder_end (&builder); 1196s # } 1196s # 1196s # static gboolean _good_types_emit_changed (gpointer user_data); 1196s # 1196s # static void 1196s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1196s # gboolean emit_changed = FALSE; 1196s # 1196s # g_mutex_lock (&skeleton->priv->lock); 1196s # if (skeleton->priv->changed_properties_idle_source != NULL) 1196s # { 1196s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1196s # skeleton->priv->changed_properties_idle_source = NULL; 1196s # emit_changed = TRUE; 1196s # } 1196s # g_mutex_unlock (&skeleton->priv->lock); 1196s # 1196s # if (emit_changed) 1196s # _good_types_emit_changed (skeleton); 1196s # } 1196s # 1196s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_ADD_PRIVATE (GoodTypesSkeleton) 1196s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # good_types_skeleton_finalize (GObject *object) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1196s # guint n; 1196s # for (n = 0; n < 1; n++) 1196s # g_value_unset (&skeleton->priv->properties[n]); 1196s # g_free (skeleton->priv->properties); 1196s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1196s # if (skeleton->priv->changed_properties_idle_source != NULL) 1196s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1196s # g_main_context_unref (skeleton->priv->context); 1196s # g_mutex_clear (&skeleton->priv->lock); 1196s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # good_types_skeleton_get_property (GObject *object, 1196s # guint prop_id, 1196s # GValue *value, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1196s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1196s # g_mutex_lock (&skeleton->priv->lock); 1196s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1196s # g_mutex_unlock (&skeleton->priv->lock); 1196s # } 1196s # 1196s # static gboolean 1196s # _good_types_emit_changed (gpointer user_data) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1196s # GList *l; 1196s # GVariantBuilder builder; 1196s # GVariantBuilder invalidated_builder; 1196s # guint num_changes; 1196s # 1196s # g_mutex_lock (&skeleton->priv->lock); 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1196s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1196s # #else 1196s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1196s # #endif 1196s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1196s # { 1196s # ChangedProperty *cp = l->data; 1196s # GVariant *variant; 1196s # const GValue *cur_value; 1196s # 1196s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1196s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1196s # { 1196s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1196s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1196s # g_variant_unref (variant); 1196s # num_changes++; 1196s # } 1196s # } 1196s # if (num_changes > 0) 1196s # { 1196s # GList *connections, *ll; 1196s # GVariant *signal_variant; 1196s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1196s # &builder, &invalidated_builder)); 1196s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1196s # for (ll = connections; ll != NULL; ll = ll->next) 1196s # { 1196s # GDBusConnection *connection = ll->data; 1196s # 1196s # g_dbus_connection_emit_signal (connection, 1196s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1196s # "org.freedesktop.DBus.Properties", 1196s # "PropertiesChanged", 1196s # signal_variant, 1196s # NULL); 1196s # } 1196s # g_variant_unref (signal_variant); 1196s # g_list_free_full (connections, g_object_unref); 1196s # } 1196s # else 1196s # { 1196s # g_variant_builder_clear (&builder); 1196s # g_variant_builder_clear (&invalidated_builder); 1196s # } 1196s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1196s # skeleton->priv->changed_properties = NULL; 1196s # skeleton->priv->changed_properties_idle_source = NULL; 1196s # g_mutex_unlock (&skeleton->priv->lock); 1196s # return FALSE; 1196s # } 1196s # 1196s # static void 1196s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1196s # { 1196s # ChangedProperty *cp; 1196s # GList *l; 1196s # cp = NULL; 1196s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1196s # { 1196s # ChangedProperty *i_cp = l->data; 1196s # if (i_cp->info == info) 1196s # { 1196s # cp = i_cp; 1196s # break; 1196s # } 1196s # } 1196s # if (cp == NULL) 1196s # { 1196s # cp = g_new0 (ChangedProperty, 1); 1196s # cp->prop_id = prop_id; 1196s # cp->info = info; 1196s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1196s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1196s # g_value_copy (orig_value, &cp->orig_value); 1196s # } 1196s # } 1196s # 1196s # static void 1196s # good_types_skeleton_notify (GObject *object, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1196s # g_mutex_lock (&skeleton->priv->lock); 1196s # if (skeleton->priv->changed_properties != NULL && 1196s # skeleton->priv->changed_properties_idle_source == NULL) 1196s # { 1196s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1196s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1196s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1196s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1196s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1196s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1196s # } 1196s # g_mutex_unlock (&skeleton->priv->lock); 1196s # } 1196s # 1196s # static void 1196s # good_types_skeleton_set_property (GObject *object, 1196s # guint prop_id, 1196s # const GValue *value, 1196s # GParamSpec *pspec) 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1196s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1196s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1196s # g_mutex_lock (&skeleton->priv->lock); 1196s # g_object_freeze_notify (object); 1196s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1196s # { 1196s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1196s # info->emits_changed_signal) 1196s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1196s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1196s # g_object_notify_by_pspec (object, pspec); 1196s # } 1196s # g_mutex_unlock (&skeleton->priv->lock); 1196s # g_object_thaw_notify (object); 1196s # } 1196s # 1196s # static void 1196s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1196s # #else 1196s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1196s # #endif 1196s # 1196s # g_mutex_init (&skeleton->priv->lock); 1196s # skeleton->priv->context = g_main_context_ref_thread_default (); 1196s # skeleton->priv->properties = g_new0 (GValue, 1); 1196s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1196s # } 1196s # 1196s # static GVariant * 1196s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1196s # GVariant *value; 1196s # g_mutex_lock (&skeleton->priv->lock); 1196s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1196s # g_mutex_unlock (&skeleton->priv->lock); 1196s # return value; 1196s # } 1196s # 1196s # static void 1196s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusInterfaceSkeletonClass *skeleton_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = good_types_skeleton_finalize; 1196s # gobject_class->get_property = good_types_skeleton_get_property; 1196s # gobject_class->set_property = good_types_skeleton_set_property; 1196s # gobject_class->notify = good_types_skeleton_notify; 1196s # 1196s # 1196s # good_types_override_properties (gobject_class, 1); 1196s # 1196s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1196s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1196s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1196s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1196s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1196s # { 1196s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1196s # } 1196s # 1196s # /** 1196s # * good_types_skeleton_new: 1196s # * 1196s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1196s # * 1196s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1196s # */ 1196s # GoodTypes * 1196s # good_types_skeleton_new (void) 1196s # { 1196s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1196s # } 1196s # /tmp/tmp9fem6oqd/tmpaal9iza5.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9fem6oqd/tmpaal9iza5.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # Output: /* 1196s # * This file is generated by gdbus-codegen, do not modify it. 1196s # * 1196s # * The license of this code is the same as for the D-Bus interface description 1196s # * it was derived from. Note that it links to GLib, so must comply with the 1196s # * LGPL linking clauses. 1196s # */ 1196s # 1196s # #ifdef HAVE_CONFIG_H 1196s # # include "config.h" 1196s # #endif 1196s # 1196s # #include 1196s # #ifdef G_OS_UNIX 1196s # # include 1196s # #endif 1196s # 1196s # #ifdef G_ENABLE_DEBUG 1196s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1196s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1196s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1196s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1196s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1196s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1196s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1196s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1196s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1196s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1196s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1196s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1196s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1196s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1196s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1196s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1196s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1196s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1196s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1196s # #else /* !G_ENABLE_DEBUG */ 1196s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1196s # * Do not access GValues directly in your code. Instead, use the 1196s # * g_value_get_*() functions 1196s # */ 1196s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1196s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1196s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1196s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1196s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1196s # #endif /* !G_ENABLE_DEBUG */ 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusArgInfo parent_struct; 1196s # gboolean use_gvariant; 1196s # } _ExtendedGDBusArgInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusMethodInfo parent_struct; 1196s # const gchar *signal_name; 1196s # gboolean pass_fdlist; 1196s # } _ExtendedGDBusMethodInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusSignalInfo parent_struct; 1196s # const gchar *signal_name; 1196s # } _ExtendedGDBusSignalInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusPropertyInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # guint use_gvariant : 1; 1196s # guint emits_changed_signal : 1; 1196s # } _ExtendedGDBusPropertyInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusInterfaceInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # } _ExtendedGDBusInterfaceInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # guint prop_id; 1196s # GValue orig_value; /* the value before the change */ 1196s # } ChangedProperty; 1196s # 1196s # static void 1196s # _changed_property_free (ChangedProperty *data) 1196s # { 1196s # g_value_unset (&data->orig_value); 1196s # g_free (data); 1196s # } 1196s # 1196s # static gboolean 1196s # _g_strv_equal0 (gchar **a, gchar **b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # guint n; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # if (g_strv_length (a) != g_strv_length (b)) 1196s # goto out; 1196s # for (n = 0; a[n] != NULL; n++) 1196s # if (g_strcmp0 (a[n], b[n]) != 0) 1196s # goto out; 1196s # ret = TRUE; 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _g_variant_equal0 (GVariant *a, GVariant *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # ret = g_variant_equal (a, b); 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # G_GNUC_UNUSED static gboolean 1196s # _g_value_equal (const GValue *a, const GValue *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1196s # switch (G_VALUE_TYPE (a)) 1196s # { 1196s # case G_TYPE_BOOLEAN: 1196s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1196s # break; 1196s # case G_TYPE_UCHAR: 1196s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1196s # break; 1196s # case G_TYPE_INT: 1196s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1196s # break; 1196s # case G_TYPE_UINT: 1196s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1196s # break; 1196s # case G_TYPE_INT64: 1196s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1196s # break; 1196s # case G_TYPE_UINT64: 1196s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1196s # break; 1196s # case G_TYPE_DOUBLE: 1196s # { 1196s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1196s # gdouble da = g_value_get_double (a); 1196s # gdouble db = g_value_get_double (b); 1196s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1196s # } 1196s # break; 1196s # case G_TYPE_STRING: 1196s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1196s # break; 1196s # case G_TYPE_VARIANT: 1196s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1196s # break; 1196s # default: 1196s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1196s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1196s # else 1196s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1196s # break; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ 1196s # * Code for interface GoodTypes 1196s # * ------------------------------------------------------------------------ 1196s # */ 1196s # 1196s # /** 1196s # * SECTION:GoodTypes 1196s # * @title: GoodTypes 1196s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1196s # * 1196s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1196s # */ 1196s # 1196s # /* ---- Introspection data for GoodTypes ---- */ 1196s # 1196s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "GoodPropertyType", 1196s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1196s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1196s # NULL 1196s # }, 1196s # "good-property-type", 1196s # FALSE, 1196s # TRUE 1196s # }; 1196s # 1196s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1196s # { 1196s # &_good_types_property_info_good_property_type.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "GoodTypes", 1196s # NULL, 1196s # NULL, 1196s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1196s # NULL 1196s # }, 1196s # "good-types", 1196s # }; 1196s # 1196s # 1196s # /** 1196s # * good_types_interface_info: 1196s # * 1196s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1196s # * 1196s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1196s # */ 1196s # GDBusInterfaceInfo * 1196s # good_types_interface_info (void) 1196s # { 1196s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1196s # } 1196s # 1196s # /** 1196s # * good_types_override_properties: 1196s # * @klass: The class structure for a #GObject derived class. 1196s # * @property_id_begin: The property id to assign to the first overridden property. 1196s # * 1196s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1196s # * The properties are overridden in the order they are defined. 1196s # * 1196s # * Returns: The last property id. 1196s # */ 1196s # guint 1196s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1196s # { 1196s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1196s # return property_id_begin - 1; 1196s # } 1196s # 1196s # 1196s # 1196s # /** 1196s # * GoodTypes: 1196s # * 1196s # * Abstract interface type for the D-Bus interface GoodTypes. 1196s # */ 1196s # 1196s # /** 1196s # * GoodTypesIface: 1196s # * @parent_iface: The parent interface. 1196s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1196s # * 1196s # * Virtual table for the D-Bus interface GoodTypes. 1196s # */ 1196s # 1196s # typedef GoodTypesIface GoodTypesInterface; 1196s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1196s # 1196s # static void 1196s # good_types_default_init (GoodTypesIface *iface) 1196s # { 1196s # /* GObject properties for D-Bus properties: */ 1196s # /** 1196s # * GoodTypes:good-property-type: 1196s # * 1196s # * Represents the D-Bus property "GoodPropertyType". 1196s # * 1196s # * 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. 1196s # */ 1196s # g_object_interface_install_property (iface, 1196s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1196s # } 1196s # 1196s # /** 1196s # * good_types_get_good_property_type: (skip) 1196s # * @object: A GoodTypes. 1196s # * 1196s # * Gets the value of the "GoodPropertyType" D-Bus property. 1196s # * 1196s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1196s # * 1196s # * 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. 1196s # * 1196s # * 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. 1196s # */ 1196s # GVariant * 1196s # good_types_get_good_property_type (GoodTypes *object) 1196s # { 1196s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1196s # 1196s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1196s # } 1196s # 1196s # /** 1196s # * good_types_dup_good_property_type: (skip) 1196s # * @object: A GoodTypes. 1196s # * 1196s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1196s # * 1196s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1196s # * 1196s # * 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(). 1196s # */ 1196s # GVariant * 1196s # good_types_dup_good_property_type (GoodTypes *object) 1196s # { 1196s # GVariant *value; 1196s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1196s # return value; 1196s # } 1196s # 1196s # /** 1196s # * good_types_set_good_property_type: (skip) 1196s # * @object: A GoodTypes. 1196s # * @value: The value to set. 1196s # * 1196s # * Sets the "GoodPropertyType" D-Bus property to @value. 1196s # * 1196s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1196s # */ 1196s # void 1196s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1196s # { 1196s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * GoodTypesProxy: 1196s # * 1196s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * GoodTypesProxyClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for GoodTypesProxy. 1196s # */ 1196s # 1196s # struct _GoodTypesProxyPrivate 1196s # { 1196s # GData *qdata; 1196s # }; 1196s # 1196s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1196s # G_ADD_PRIVATE (GoodTypesProxy) 1196s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1196s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # good_types_proxy_finalize (GObject *object) 1196s # { 1196s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1196s # g_datalist_clear (&proxy->priv->qdata); 1196s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_get_property (GObject *object, 1196s # guint prop_id, 1196s # GValue *value, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # GVariant *variant; 1196s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1196s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1196s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1196s # if (info->use_gvariant) 1196s # { 1196s # g_value_set_variant (value, variant); 1196s # } 1196s # else 1196s # { 1196s # if (variant != NULL) 1196s # g_dbus_gvariant_to_gvalue (variant, value); 1196s # } 1196s # if (variant != NULL) 1196s # g_variant_unref (variant); 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1196s # GAsyncResult *res, 1196s # gpointer user_data) 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info = user_data; 1196s # GError *error; 1196s # GVariant *_ret; 1196s # error = NULL; 1196s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1196s # if (!_ret) 1196s # { 1196s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1196s # info->parent_struct.name, 1196s # error->message, g_quark_to_string (error->domain), error->code); 1196s # g_error_free (error); 1196s # } 1196s # else 1196s # { 1196s # g_variant_unref (_ret); 1196s # } 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_set_property (GObject *object, 1196s # guint prop_id, 1196s # const GValue *value, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # GVariant *variant; 1196s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1196s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1196s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1196s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1196s # "org.freedesktop.DBus.Properties.Set", 1196s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1196s # g_variant_unref (variant); 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_g_signal (GDBusProxy *proxy, 1196s # const gchar *sender_name G_GNUC_UNUSED, 1196s # const gchar *signal_name, 1196s # GVariant *parameters) 1196s # { 1196s # _ExtendedGDBusSignalInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # gsize n; 1196s # guint signal_id; 1196s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1196s # if (info == NULL) 1196s # return; 1196s # num_params = g_variant_n_children (parameters); 1196s # paramv = g_new0 (GValue, num_params + 1); 1196s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1196s # g_value_set_object (¶mv[0], proxy); 1196s # g_variant_iter_init (&iter, parameters); 1196s # n = 1; 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1196s # g_signal_emitv (paramv, signal_id, 0, NULL); 1196s # for (n = 0; n < num_params + 1; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1196s # GVariant *changed_properties, 1196s # const gchar *const *invalidated_properties) 1196s # { 1196s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1196s # guint n; 1196s # const gchar *key; 1196s # GVariantIter *iter; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # g_variant_get (changed_properties, "a{sv}", &iter); 1196s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1196s # g_datalist_remove_data (&proxy->priv->qdata, key); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # g_variant_iter_free (iter); 1196s # for (n = 0; invalidated_properties[n] != NULL; n++) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1196s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # } 1196s # 1196s # static GVariant * 1196s # good_types_proxy_get_good_property_type (GoodTypes *object) 1196s # { 1196s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1196s # GVariant *variant; 1196s # GVariant *value = NULL; 1196s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1196s # value = variant; 1196s # if (variant != NULL) 1196s # g_variant_unref (variant); 1196s # return value; 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_init (GoodTypesProxy *proxy) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1196s # #else 1196s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1196s # #endif 1196s # 1196s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusProxyClass *proxy_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = good_types_proxy_finalize; 1196s # gobject_class->get_property = good_types_proxy_get_property; 1196s # gobject_class->set_property = good_types_proxy_set_property; 1196s # 1196s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1196s # proxy_class->g_signal = good_types_proxy_g_signal; 1196s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1196s # 1196s # good_types_override_properties (gobject_class, 1); 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_iface_init (GoodTypesIface *iface) 1196s # { 1196s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1196s # } 1196s # 1196s # /** 1196s # * good_types_proxy_new: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1196s # * 1196s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # good_types_proxy_new ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # 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); 1196s # } 1196s # 1196s # /** 1196s # * good_types_proxy_new_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with good_types_proxy_new(). 1196s # * 1196s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # GoodTypes * 1196s # good_types_proxy_new_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return GOOD_TYPES (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * good_types_proxy_new_sync: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # GoodTypes * 1196s # good_types_proxy_new_sync ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return GOOD_TYPES (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /** 1196s # * good_types_proxy_new_for_bus: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1196s # * 1196s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # good_types_proxy_new_for_bus ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # 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); 1196s # } 1196s # 1196s # /** 1196s # * good_types_proxy_new_for_bus_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1196s # * 1196s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # GoodTypes * 1196s # good_types_proxy_new_for_bus_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return GOOD_TYPES (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * good_types_proxy_new_for_bus_sync: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # GoodTypes * 1196s # good_types_proxy_new_for_bus_sync ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return GOOD_TYPES (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * GoodTypesSkeleton: 1196s # * 1196s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * GoodTypesSkeletonClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for GoodTypesSkeleton. 1196s # */ 1196s # 1196s # struct _GoodTypesSkeletonPrivate 1196s # { 1196s # GValue *properties; 1196s # GList *changed_properties; 1196s # GSource *changed_properties_idle_source; 1196s # GMainContext *context; 1196s # GMutex lock; 1196s # }; 1196s # 1196s # static void 1196s # _good_types_skeleton_handle_method_call ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name, 1196s # const gchar *method_name, 1196s # GVariant *parameters, 1196s # GDBusMethodInvocation *invocation, 1196s # gpointer user_data) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1196s # _ExtendedGDBusMethodInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # guint num_extra; 1196s # gsize n; 1196s # guint signal_id; 1196s # GValue return_value = G_VALUE_INIT; 1196s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1196s # g_assert (info != NULL); 1196s # num_params = g_variant_n_children (parameters); 1196s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1196s # n = 0; 1196s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1196s # g_value_set_object (¶mv[n++], skeleton); 1196s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1196s # g_value_set_object (¶mv[n++], invocation); 1196s # if (info->pass_fdlist) 1196s # { 1196s # #ifdef G_OS_UNIX 1196s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1196s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1196s # #else 1196s # g_assert_not_reached (); 1196s # #endif 1196s # } 1196s # g_variant_iter_init (&iter, parameters); 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1196s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1196s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1196s # if (!g_value_get_boolean (&return_value)) 1196s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1196s # g_value_unset (&return_value); 1196s # for (n = 0; n < num_params + num_extra; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static GVariant * 1196s # _good_types_skeleton_handle_get_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # GVariant *ret; 1196s # ret = NULL; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # g_value_init (&value, pspec->value_type); 1196s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1196s # g_value_unset (&value); 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _good_types_skeleton_handle_set_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GVariant *variant, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # gboolean ret; 1196s # ret = FALSE; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # if (info->use_gvariant) 1196s # g_value_set_variant (&value, variant); 1196s # else 1196s # g_dbus_gvariant_to_gvalue (variant, &value); 1196s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # g_value_unset (&value); 1196s # ret = TRUE; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1196s # { 1196s # _good_types_skeleton_handle_method_call, 1196s # _good_types_skeleton_handle_get_property, 1196s # _good_types_skeleton_handle_set_property, 1196s # {NULL} 1196s # }; 1196s # 1196s # static GDBusInterfaceInfo * 1196s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return good_types_interface_info (); 1196s # } 1196s # 1196s # static GDBusInterfaceVTable * 1196s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1196s # } 1196s # 1196s # static GVariant * 1196s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1196s # 1196s # GVariantBuilder builder; 1196s # guint n; 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1196s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #else 1196s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #endif 1196s # if (_good_types_interface_info.parent_struct.properties == NULL) 1196s # goto out; 1196s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1196s # { 1196s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1196s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1196s # { 1196s # GVariant *value; 1196s # 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); 1196s # if (value != NULL) 1196s # { 1196s # g_variant_take_ref (value); 1196s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1196s # g_variant_unref (value); 1196s # } 1196s # } 1196s # } 1196s # out: 1196s # return g_variant_builder_end (&builder); 1196s # } 1196s # 1196s # static gboolean _good_types_emit_changed (gpointer user_data); 1196s # 1196s # static void 1196s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1196s # gboolean emit_changed = FALSE; 1196s # 1196s # g_mutex_lock (&skeleton->priv->lock); 1196s # if (skeleton->priv->changed_properties_idle_source != NULL) 1196s # { 1196s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1196s # skeleton->priv->changed_properties_idle_source = NULL; 1196s # emit_changed = TRUE; 1196s # } 1196s # g_mutex_unlock (&skeleton->priv->lock); 1196s # 1196s # if (emit_changed) 1196s # _good_types_emit_changed (skeleton); 1196s # } 1196s # 1196s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_ADD_PRIVATE (GoodTypesSkeleton) 1196s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # good_types_skeleton_finalize (GObject *object) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1196s # guint n; 1196s # for (n = 0; n < 1; n++) 1196s # g_value_unset (&skeleton->priv->properties[n]); 1196s # g_free (skeleton->priv->properties); 1196s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1196s # if (skeleton->priv->changed_properties_idle_source != NULL) 1196s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1196s # g_main_context_unref (skeleton->priv->context); 1196s # g_mutex_clear (&skeleton->priv->lock); 1196s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # good_types_skeleton_get_property (GObject *object, 1196s # guint prop_id, 1196s # GValue *value, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1196s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1196s # g_mutex_lock (&skeleton->priv->lock); 1196s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1196s # g_mutex_unlock (&skeleton->priv->lock); 1196s # } 1196s # 1196s # static gboolean 1196s # _good_types_emit_changed (gpointer user_data) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1196s # GList *l; 1196s # GVariantBuilder builder; 1196s # GVariantBuilder invalidated_builder; 1196s # guint num_changes; 1196s # 1196s # g_mutex_lock (&skeleton->priv->lock); 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1196s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1196s # #else 1196s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1196s # #endif 1196s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1196s # { 1196s # ChangedProperty *cp = l->data; 1196s # GVariant *variant; 1196s # const GValue *cur_value; 1196s # 1196s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1196s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1196s # { 1196s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1196s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1196s # g_variant_unref (variant); 1196s # num_changes++; 1196s # } 1196s # } 1196s # if (num_changes > 0) 1196s # { 1196s # GList *connections, *ll; 1196s # GVariant *signal_variant; 1196s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1196s # &builder, &invalidated_builder)); 1196s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1196s # for (ll = connections; ll != NULL; ll = ll->next) 1196s # { 1196s # GDBusConnection *connection = ll->data; 1196s # 1196s # g_dbus_connection_emit_signal (connection, 1196s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1196s # "org.freedesktop.DBus.Properties", 1196s # "PropertiesChanged", 1196s # signal_variant, 1196s # NULL); 1196s # } 1196s # g_variant_unref (signal_variant); 1196s # g_list_free_full (connections, g_object_unref); 1196s # } 1196s # else 1196s # { 1196s # g_variant_builder_clear (&builder); 1196s # g_variant_builder_clear (&invalidated_builder); 1196s # } 1196s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1196s # skeleton->priv->changed_properties = NULL; 1196s # skeleton->priv->changed_properties_idle_source = NULL; 1196s # g_mutex_unlock (&skeleton->priv->lock); 1196s # return FALSE; 1196s # } 1196s # 1196s # static void 1196s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1196s # { 1196s # ChangedProperty *cp; 1196s # GList *l; 1196s # cp = NULL; 1196s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1196s # { 1196s # ChangedProperty *i_cp = l->data; 1196s # if (i_cp->info == info) 1196s # { 1196s # cp = i_cp; 1196s # break; 1196s # } 1196s # } 1196s # if (cp == NULL) 1196s # { 1196s # cp = g_new0 (ChangedProperty, 1); 1196s # cp->prop_id = prop_id; 1196s # cp->info = info; 1196s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1196s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1196s # g_value_copy (orig_value, &cp->orig_value); 1196s # } 1196s # } 1196s # 1196s # static void 1196s # good_types_skeleton_notify (GObject *object, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1196s # g_mutex_lock (&skeleton->priv->lock); 1196s # if (skeleton->priv->changed_properties != NULL && 1196s # skeleton->priv->changed_properties_idle_source == NULL) 1196s # { 1196s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1196s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1196s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1196s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1196s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1196s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1196s # } 1196s # g_mutex_unlock (&skeleton->priv->lock); 1196s # } 1196s # 1196s # static void 1196s # good_types_skeleton_set_property (GObject *object, 1196s # guint prop_id, 1196s # const GValue *value, 1196s # GParamSpec *pspec) 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1196s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1196s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1196s # g_mutex_lock (&skeleton->priv->lock); 1196s # g_object_freeze_notify (object); 1196s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1196s # { 1196s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1196s # info->emits_changed_signal) 1196s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1196s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1196s # g_object_notify_by_pspec (object, pspec); 1196s # } 1196s # g_mutex_unlock (&skeleton->priv->lock); 1196s # g_object_thaw_notify (object); 1196s # } 1196s # 1196s # static void 1196s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1196s # #else 1196s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1196s # #endif 1196s # 1196s # g_mutex_init (&skeleton->priv->lock); 1196s # skeleton->priv->context = g_main_context_ref_thread_default (); 1196s # skeleton->priv->properties = g_new0 (GValue, 1); 1196s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1196s # } 1196s # 1196s # static GVariant * 1196s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1196s # GVariant *value; 1196s # g_mutex_lock (&skeleton->priv->lock); 1196s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1196s # g_mutex_unlock (&skeleton->priv->lock); 1196s # return value; 1196s # } 1196s # 1196s # static void 1196s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusInterfaceSkeletonClass *skeleton_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = good_types_skeleton_finalize; 1196s # gobject_class->get_property = good_types_skeleton_get_property; 1196s # gobject_class->set_property = good_types_skeleton_set_property; 1196s # gobject_class->notify = good_types_skeleton_notify; 1196s # 1196s # 1196s # good_types_override_properties (gobject_class, 1); 1196s # 1196s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1196s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1196s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1196s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1196s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1196s # { 1196s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1196s # } 1196s # 1196s # /** 1196s # * good_types_skeleton_new: 1196s # * 1196s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1196s # * 1196s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1196s # */ 1196s # GoodTypes * 1196s # good_types_skeleton_new (void) 1196s # { 1196s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1196s # } 1196s # /tmp/tmp9fem6oqd/tmpajhwh4bb.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9fem6oqd/tmpajhwh4bb.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # Output: /* 1196s # * This file is generated by gdbus-codegen, do not modify it. 1196s # * 1196s # * The license of this code is the same as for the D-Bus interface description 1196s # * it was derived from. Note that it links to GLib, so must comply with the 1196s # * LGPL linking clauses. 1196s # */ 1196s # 1196s # #ifdef HAVE_CONFIG_H 1196s # # include "config.h" 1196s # #endif 1196s # 1196s # #include 1196s # #ifdef G_OS_UNIX 1196s # # include 1196s # #endif 1196s # 1196s # #ifdef G_ENABLE_DEBUG 1196s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1196s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1196s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1196s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1196s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1196s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1196s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1196s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1196s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1196s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1196s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1196s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1196s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1196s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1196s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1196s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1196s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1196s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1196s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1196s # #else /* !G_ENABLE_DEBUG */ 1196s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1196s # * Do not access GValues directly in your code. Instead, use the 1196s # * g_value_get_*() functions 1196s # */ 1196s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1196s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1196s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1196s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1196s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1196s # #endif /* !G_ENABLE_DEBUG */ 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusArgInfo parent_struct; 1196s # gboolean use_gvariant; 1196s # } _ExtendedGDBusArgInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusMethodInfo parent_struct; 1196s # const gchar *signal_name; 1196s # gboolean pass_fdlist; 1196s # } _ExtendedGDBusMethodInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusSignalInfo parent_struct; 1196s # const gchar *signal_name; 1196s # } _ExtendedGDBusSignalInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusPropertyInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # guint use_gvariant : 1; 1196s # guint emits_changed_signal : 1; 1196s # } _ExtendedGDBusPropertyInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusInterfaceInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # } _ExtendedGDBusInterfaceInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # guint prop_id; 1196s # GValue orig_value; /* the value before the change */ 1196s # } ChangedProperty; 1196s # 1196s # static void 1196s # _changed_property_free (ChangedProperty *data) 1196s # { 1196s # g_value_unset (&data->orig_value); 1196s # g_free (data); 1196s # } 1196s # 1196s # static gboolean 1196s # _g_strv_equal0 (gchar **a, gchar **b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # guint n; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # if (g_strv_length (a) != g_strv_length (b)) 1196s # goto out; 1196s # for (n = 0; a[n] != NULL; n++) 1196s # if (g_strcmp0 (a[n], b[n]) != 0) 1196s # goto out; 1196s # ret = TRUE; 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _g_variant_equal0 (GVariant *a, GVariant *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # ret = g_variant_equal (a, b); 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # G_GNUC_UNUSED static gboolean 1196s # _g_value_equal (const GValue *a, const GValue *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1196s # switch (G_VALUE_TYPE (a)) 1196s # { 1196s # case G_TYPE_BOOLEAN: 1196s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1196s # break; 1196s # case G_TYPE_UCHAR: 1196s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1196s # break; 1196s # case G_TYPE_INT: 1196s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1196s # break; 1196s # case G_TYPE_UINT: 1196s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1196s # break; 1196s # case G_TYPE_INT64: 1196s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1196s # break; 1196s # case G_TYPE_UINT64: 1196s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1196s # break; 1196s # case G_TYPE_DOUBLE: 1196s # { 1196s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1196s # gdouble da = g_value_get_double (a); 1196s # gdouble db = g_value_get_double (b); 1196s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1196s # } 1196s # break; 1196s # case G_TYPE_STRING: 1196s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1196s # break; 1196s # case G_TYPE_VARIANT: 1196s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1196s # break; 1196s # default: 1196s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1196s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1196s # else 1196s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1196s # break; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ 1196s # * Code for interface GoodTypes 1196s # * ------------------------------------------------------------------------ 1196s # */ 1196s # 1196s # /** 1196s # * SECTION:GoodTypes 1196s # * @title: GoodTypes 1196s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1196s # * 1196s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1196s # */ 1196s # 1196s # /* ---- Introspection data for GoodTypes ---- */ 1196s # 1196s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "GoodPropertyType", 1196s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1196s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1196s # NULL 1196s # }, 1196s # "good-property-type", 1196s # FALSE, 1196s # TRUE 1196s # }; 1196s # 1196s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1196s # { 1196s # &_good_types_property_info_good_property_type.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "GoodTypes", 1196s # NULL, 1196s # NULL, 1196s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1196s # NULL 1196s # }, 1196s # "good-types", 1196s # }; 1196s # 1196s # 1196s # /** 1196s # * good_types_interface_info: 1196s # * 1196s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1196s # * 1196s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1196s # */ 1196s # GDBusInterfaceInfo * 1196s # good_types_interface_info (void) 1196s # { 1196s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1196s # } 1196s # 1196s # /** 1196s # * good_types_override_properties: 1196s # * @klass: The class structure for a #GObject derived class. 1196s # * @property_id_begin: The property id to assign to the first overridden property. 1196s # * 1196s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1196s # * The properties are overridden in the order they are defined. 1196s # * 1196s # * Returns: The last property id. 1196s # */ 1196s # guint 1196s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1196s # { 1196s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1196s # return property_id_begin - 1; 1196s # } 1196s # 1196s # 1196s # 1196s # /** 1196s # * GoodTypes: 1196s # * 1196s # * Abstract interface type for the D-Bus interface GoodTypes. 1196s # */ 1196s # 1196s # /** 1196s # * GoodTypesIface: 1196s # * @parent_iface: The parent interface. 1196s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1196s # * 1196s # * Virtual table for the D-Bus interface GoodTypes. 1196s # */ 1196s # 1196s # typedef GoodTypesIface GoodTypesInterface; 1196s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1196s # 1196s # static void 1196s # good_types_default_init (GoodTypesIface *iface) 1196s # { 1196s # /* GObject properties for D-Bus properties: */ 1196s # /** 1196s # * GoodTypes:good-property-type: 1196s # * 1196s # * Represents the D-Bus property "GoodPropertyType". 1196s # * 1196s # * 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. 1196s # */ 1196s # g_object_interface_install_property (iface, 1196s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1196s # } 1196s # 1196s # /** 1196s # * good_types_get_good_property_type: (skip) 1196s # * @object: A GoodTypes. 1196s # * 1196s # * Gets the value of the "GoodPropertyType" D-Bus property. 1196s # * 1196s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1196s # * 1196s # * 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. 1196s # * 1196s # * 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. 1196s # */ 1196s # GVariant * 1196s # good_types_get_good_property_type (GoodTypes *object) 1196s # { 1196s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1196s # 1196s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1196s # } 1196s # 1196s # /** 1196s # * good_types_dup_good_property_type: (skip) 1196s # * @object: A GoodTypes. 1196s # * 1196s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1196s # * 1196s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1196s # * 1196s # * 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(). 1196s # */ 1196s # GVariant * 1196s # good_types_dup_good_property_type (GoodTypes *object) 1196s # { 1196s # GVariant *value; 1196s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1196s # return value; 1196s # } 1196s # 1196s # /** 1196s # * good_types_set_good_property_type: (skip) 1196s # * @object: A GoodTypes. 1196s # * @value: The value to set. 1196s # * 1196s # * Sets the "GoodPropertyType" D-Bus property to @value. 1196s # * 1196s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1196s # */ 1196s # void 1196s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1196s # { 1196s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * GoodTypesProxy: 1196s # * 1196s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * GoodTypesProxyClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for GoodTypesProxy. 1196s # */ 1196s # 1196s # struct _GoodTypesProxyPrivate 1196s # { 1196s # GData *qdata; 1196s # }; 1196s # 1196s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1196s # G_ADD_PRIVATE (GoodTypesProxy) 1196s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1196s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # good_types_proxy_finalize (GObject *object) 1196s # { 1196s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1196s # g_datalist_clear (&proxy->priv->qdata); 1196s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_get_property (GObject *object, 1196s # guint prop_id, 1196s # GValue *value, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # GVariant *variant; 1196s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1196s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1196s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1196s # if (info->use_gvariant) 1196s # { 1196s # g_value_set_variant (value, variant); 1196s # } 1196s # else 1196s # { 1196s # if (variant != NULL) 1196s # g_dbus_gvariant_to_gvalue (variant, value); 1196s # } 1196s # if (variant != NULL) 1196s # g_variant_unref (variant); 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1196s # GAsyncResult *res, 1196s # gpointer user_data) 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info = user_data; 1196s # GError *error; 1196s # GVariant *_ret; 1196s # error = NULL; 1196s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1196s # if (!_ret) 1196s # { 1196s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1196s # info->parent_struct.name, 1196s # error->message, g_quark_to_string (error->domain), error->code); 1196s # g_error_free (error); 1196s # } 1196s # else 1196s # { 1196s # g_variant_unref (_ret); 1196s # } 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_set_property (GObject *object, 1196s # guint prop_id, 1196s # const GValue *value, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # GVariant *variant; 1196s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1196s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1196s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1196s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1196s # "org.freedesktop.DBus.Properties.Set", 1196s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1196s # g_variant_unref (variant); 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_g_signal (GDBusProxy *proxy, 1196s # const gchar *sender_name G_GNUC_UNUSED, 1196s # const gchar *signal_name, 1196s # GVariant *parameters) 1196s # { 1196s # _ExtendedGDBusSignalInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # gsize n; 1196s # guint signal_id; 1196s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1196s # if (info == NULL) 1196s # return; 1196s # num_params = g_variant_n_children (parameters); 1196s # paramv = g_new0 (GValue, num_params + 1); 1196s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1196s # g_value_set_object (¶mv[0], proxy); 1196s # g_variant_iter_init (&iter, parameters); 1196s # n = 1; 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1196s # g_signal_emitv (paramv, signal_id, 0, NULL); 1196s # for (n = 0; n < num_params + 1; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1196s # GVariant *changed_properties, 1196s # const gchar *const *invalidated_properties) 1196s # { 1196s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1196s # guint n; 1196s # const gchar *key; 1196s # GVariantIter *iter; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # g_variant_get (changed_properties, "a{sv}", &iter); 1196s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1196s # g_datalist_remove_data (&proxy->priv->qdata, key); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # g_variant_iter_free (iter); 1196s # for (n = 0; invalidated_properties[n] != NULL; n++) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1196s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # } 1196s # 1196s # static GVariant * 1196s # good_types_proxy_get_good_property_type (GoodTypes *object) 1196s # { 1196s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1196s # GVariant *variant; 1196s # GVariant *value = NULL; 1196s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1196s # value = variant; 1196s # if (variant != NULL) 1196s # g_variant_unref (variant); 1196s # return value; 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_init (GoodTypesProxy *proxy) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1196s # #else 1196s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1196s # #endif 1196s # 1196s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusProxyClass *proxy_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = good_types_proxy_finalize; 1196s # gobject_class->get_property = good_types_proxy_get_property; 1196s # gobject_class->set_property = good_types_proxy_set_property; 1196s # 1196s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1196s # proxy_class->g_signal = good_types_proxy_g_signal; 1196s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1196s # 1196s # good_types_override_properties (gobject_class, 1); 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # good_types_proxy_iface_init (GoodTypesIface *iface) 1196s # { 1196s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1196s # } 1196s # 1196s # /** 1196s # * good_types_proxy_new: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1196s # * 1196s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # good_types_proxy_new ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # 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); 1196s # } 1196s # 1196s # /** 1196s # * good_types_proxy_new_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with good_types_proxy_new(). 1196s # * 1196s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # GoodTypes * 1196s # good_types_proxy_new_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return GOOD_TYPES (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * good_types_proxy_new_sync: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # GoodTypes * 1196s # good_types_proxy_new_sync ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return GOOD_TYPES (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /** 1196s # * good_types_proxy_new_for_bus: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1196s # * 1196s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # good_types_proxy_new_for_bus ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # 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); 1196s # } 1196s # 1196s # /** 1196s # * good_types_proxy_new_for_bus_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1196s # * 1196s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # GoodTypes * 1196s # good_types_proxy_new_for_bus_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return GOOD_TYPES (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * good_types_proxy_new_for_bus_sync: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # GoodTypes * 1196s # good_types_proxy_new_for_bus_sync ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return GOOD_TYPES (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * GoodTypesSkeleton: 1196s # * 1196s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * GoodTypesSkeletonClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for GoodTypesSkeleton. 1196s # */ 1196s # 1196s # struct _GoodTypesSkeletonPrivate 1196s # { 1196s # GValue *properties; 1196s # GList *changed_properties; 1196s # GSource *changed_properties_idle_source; 1196s # GMainContext *context; 1196s # GMutex lock; 1196s # }; 1196s # 1196s # static void 1196s # _good_types_skeleton_handle_method_call ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name, 1196s # const gchar *method_name, 1196s # GVariant *parameters, 1196s # GDBusMethodInvocation *invocation, 1196s # gpointer user_data) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1196s # _ExtendedGDBusMethodInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # guint num_extra; 1196s # gsize n; 1196s # guint signal_id; 1196s # GValue return_value = G_VALUE_INIT; 1196s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1196s # g_assert (info != NULL); 1196s # num_params = g_variant_n_children (parameters); 1196s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1196s # n = 0; 1196s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1196s # g_value_set_object (¶mv[n++], skeleton); 1196s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1196s # g_value_set_object (¶mv[n++], invocation); 1196s # if (info->pass_fdlist) 1196s # { 1196s # #ifdef G_OS_UNIX 1196s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1196s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1196s # #else 1196s # g_assert_not_reached (); 1196s # #endif 1196s # } 1196s # g_variant_iter_init (&iter, parameters); 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1196s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1196s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1196s # if (!g_value_get_boolean (&return_value)) 1196s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1196s # g_value_unset (&return_value); 1196s # for (n = 0; n < num_params + num_extra; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static GVariant * 1196s # _good_types_skeleton_handle_get_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # GVariant *ret; 1196s # ret = NULL; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # g_value_init (&value, pspec->value_type); 1196s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1196s # g_value_unset (&value); 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _good_types_skeleton_handle_set_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GVariant *variant, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # gboolean ret; 1196s # ret = FALSE; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # if (info->use_gvariant) 1196s # g_value_set_variant (&value, variant); 1196s # else 1196s # g_dbus_gvariant_to_gvalue (variant, &value); 1196s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # g_value_unset (&value); 1196s # ret = TRUE; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1196s # { 1196s # _good_types_skeleton_handle_method_call, 1196s # _good_types_skeleton_handle_get_property, 1196s # _good_types_skeleton_handle_set_property, 1196s # {NULL} 1196s # }; 1196s # 1196s # static GDBusInterfaceInfo * 1196s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return good_types_interface_info (); 1196s # } 1196s # 1196s # static GDBusInterfaceVTable * 1196s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1196s # } 1196s # 1196s # static GVariant * 1196s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1196s # 1196s # GVariantBuilder builder; 1196s # guint n; 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1196s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #else 1196s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #endif 1196s # if (_good_types_interface_info.parent_struct.properties == NULL) 1196s # goto out; 1196s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1196s # { 1196s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1196s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1196s # { 1196s # GVariant *value; 1196s # 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); 1196s # if (value != NULL) 1196s # { 1196s # g_variant_take_ref (value); 1196s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1196s # g_variant_unref (value); 1196s # } 1196s # } 1196s # } 1196s # out: 1196s # return g_variant_builder_end (&builder); 1196s # } 1196s # 1196s # static gboolean _good_types_emit_changed (gpointer user_data); 1196s # 1196s # static void 1196s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1196s # gboolean emit_changed = FALSE; 1196s # 1196s # g_mutex_lock (&skeleton->priv->lock); 1196s # if (skeleton->priv->changed_properties_idle_source != NULL) 1196s # { 1196s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1196s # skeleton->priv->changed_properties_idle_source = NULL; 1196s # emit_changed = TRUE; 1196s # } 1196s # g_mutex_unlock (&skeleton->priv->lock); 1196s # 1196s # if (emit_changed) 1196s # _good_types_emit_changed (skeleton); 1196s # } 1196s # 1196s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_ADD_PRIVATE (GoodTypesSkeleton) 1196s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # good_types_skeleton_finalize (GObject *object) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1196s # guint n; 1196s # for (n = 0; n < 1; n++) 1196s # g_value_unset (&skeleton->priv->properties[n]); 1196s # g_free (skeleton->priv->properties); 1196s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1196s # if (skeleton->priv->changed_properties_idle_source != NULL) 1196s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1196s # g_main_context_unref (skeleton->priv->context); 1196s # g_mutex_clear (&skeleton->priv->lock); 1196s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # good_types_skeleton_get_property (GObject *object, 1196s # guint prop_id, 1196s # GValue *value, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1196s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1196s # g_mutex_lock (&skeleton->priv->lock); 1196s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1196s # g_mutex_unlock (&skeleton->priv->lock); 1196s # } 1196s # 1196s # static gboolean 1196s # _good_types_emit_changed (gpointer user_data) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1196s # GList *l; 1196s # GVariantBuilder builder; 1196s # GVariantBuilder invalidated_builder; 1196s # guint num_changes; 1196s # 1196s # g_mutex_lock (&skeleton->priv->lock); 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1196s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1196s # #else 1196s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1196s # #endif 1196s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1196s # { 1196s # ChangedProperty *cp = l->data; 1196s # GVariant *variant; 1196s # const GValue *cur_value; 1196s # 1196s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1196s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1196s # { 1196s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1196s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1196s # g_variant_unref (variant); 1196s # num_changes++; 1196s # } 1196s # } 1196s # if (num_changes > 0) 1196s # { 1196s # GList *connections, *ll; 1196s # GVariant *signal_variant; 1196s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1196s # &builder, &invalidated_builder)); 1196s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1196s # for (ll = connections; ll != NULL; ll = ll->next) 1196s # { 1196s # GDBusConnection *connection = ll->data; 1196s # 1196s # g_dbus_connection_emit_signal (connection, 1196s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1196s # "org.freedesktop.DBus.Properties", 1196s # "PropertiesChanged", 1196s # signal_variant, 1196s # NULL); 1196s # } 1196s # g_variant_unref (signal_variant); 1196s # g_list_free_full (connections, g_object_unref); 1196s # } 1196s # else 1196s # { 1196s # g_variant_builder_clear (&builder); 1196s # g_variant_builder_clear (&invalidated_builder); 1196s # } 1196s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1196s # skeleton->priv->changed_properties = NULL; 1196s # skeleton->priv->changed_properties_idle_source = NULL; 1196s # g_mutex_unlock (&skeleton->priv->lock); 1196s # return FALSE; 1196s # } 1196s # 1196s # static void 1196s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1196s # { 1196s # ChangedProperty *cp; 1196s # GList *l; 1196s # cp = NULL; 1196s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1196s # { 1196s # ChangedProperty *i_cp = l->data; 1196s # if (i_cp->info == info) 1196s # { 1196s # cp = i_cp; 1196s # break; 1196s # } 1196s # } 1196s # if (cp == NULL) 1196s # { 1196s # cp = g_new0 (ChangedProperty, 1); 1196s # cp->prop_id = prop_id; 1196s # cp->info = info; 1196s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1196s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1196s # g_value_copy (orig_value, &cp->orig_value); 1196s # } 1196s # } 1196s # 1196s # static void 1196s # good_types_skeleton_notify (GObject *object, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1196s # g_mutex_lock (&skeleton->priv->lock); 1196s # if (skeleton->priv->changed_properties != NULL && 1196s # skeleton->priv->changed_properties_idle_source == NULL) 1196s # { 1196s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1196s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1196s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1196s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1196s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1196s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1196s # } 1196s # g_mutex_unlock (&skeleton->priv->lock); 1196s # } 1196s # 1196s # static void 1196s # good_types_skeleton_set_property (GObject *object, 1196s # guint prop_id, 1196s # const GValue *value, 1196s # GParamSpec *pspec) 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1196s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1196s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1196s # g_mutex_lock (&skeleton->priv->lock); 1196s # g_object_freeze_notify (object); 1196s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1196s # { 1196s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1196s # info->emits_changed_signal) 1196s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1196s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1196s # g_object_notify_by_pspec (object, pspec); 1196s # } 1196s # g_mutex_unlock (&skeleton->priv->lock); 1196s # g_object_thaw_notify (object); 1196s # } 1196s # 1196s # static void 1196s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1196s # #else 1196s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1196s # #endif 1196s # 1196s # g_mutex_init (&skeleton->priv->lock); 1196s # skeleton->priv->context = g_main_context_ref_thread_default (); 1196s # skeleton->priv->properties = g_new0 (GValue, 1); 1196s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1196s # } 1196s # 1196s # static GVariant * 1196s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1196s # { 1196s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1196s # GVariant *value; 1196s # g_mutex_lock (&skeleton->priv->lock); 1196s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1196s # g_mutex_unlock (&skeleton->priv->lock); 1196s # return value; 1196s # } 1196s # 1196s # static void 1196s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusInterfaceSkeletonClass *skeleton_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = good_types_skeleton_finalize; 1196s # gobject_class->get_property = good_types_skeleton_get_property; 1196s # gobject_class->set_property = good_types_skeleton_set_property; 1196s # gobject_class->notify = good_types_skeleton_notify; 1196s # 1196s # 1196s # good_types_override_properties (gobject_class, 1); 1196s # 1196s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1196s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1196s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1196s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1196s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1196s # { 1196s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1196s # } 1196s # 1196s # /** 1196s # * good_types_skeleton_new: 1196s # * 1196s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1196s # * 1196s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1196s # */ 1196s # GoodTypes * 1196s # good_types_skeleton_new (void) 1196s # { 1196s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1196s # } 1196s ok 3 __main__.TestCodegen.test_empty_interface_body 1196s # tmpdir: /tmp/tmp6kcbwong 1196s # codegen: /usr/bin/gdbus-codegen 1196s # /tmp/tmp6kcbwong/tmp8519x203.xml: 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6kcbwong/tmp8519x203.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # Output: /* 1196s # * This file is generated by gdbus-codegen, do not modify it. 1196s # * 1196s # * The license of this code is the same as for the D-Bus interface description 1196s # * it was derived from. Note that it links to GLib, so must comply with the 1196s # * LGPL linking clauses. 1196s # */ 1196s # 1196s # #ifdef HAVE_CONFIG_H 1196s # # include "config.h" 1196s # #endif 1196s # 1196s # #include 1196s # #ifdef G_OS_UNIX 1196s # # include 1196s # #endif 1196s # 1196s # #ifdef G_ENABLE_DEBUG 1196s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1196s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1196s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1196s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1196s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1196s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1196s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1196s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1196s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1196s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1196s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1196s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1196s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1196s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1196s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1196s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1196s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1196s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1196s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1196s # #else /* !G_ENABLE_DEBUG */ 1196s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1196s # * Do not access GValues directly in your code. Instead, use the 1196s # * g_value_get_*() functions 1196s # */ 1196s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1196s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1196s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1196s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1196s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1196s # #endif /* !G_ENABLE_DEBUG */ 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusArgInfo parent_struct; 1196s # gboolean use_gvariant; 1196s # } _ExtendedGDBusArgInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusMethodInfo parent_struct; 1196s # const gchar *signal_name; 1196s # gboolean pass_fdlist; 1196s # } _ExtendedGDBusMethodInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusSignalInfo parent_struct; 1196s # const gchar *signal_name; 1196s # } _ExtendedGDBusSignalInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusPropertyInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # guint use_gvariant : 1; 1196s # guint emits_changed_signal : 1; 1196s # } _ExtendedGDBusPropertyInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusInterfaceInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # } _ExtendedGDBusInterfaceInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # guint prop_id; 1196s # GValue orig_value; /* the value before the change */ 1196s # } ChangedProperty; 1196s # 1196s # static void 1196s # _changed_property_free (ChangedProperty *data) 1196s # { 1196s # g_value_unset (&data->orig_value); 1196s # g_free (data); 1196s # } 1196s # 1196s # static gboolean 1196s # _g_strv_equal0 (gchar **a, gchar **b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # guint n; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # if (g_strv_length (a) != g_strv_length (b)) 1196s # goto out; 1196s # for (n = 0; a[n] != NULL; n++) 1196s # if (g_strcmp0 (a[n], b[n]) != 0) 1196s # goto out; 1196s # ret = TRUE; 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _g_variant_equal0 (GVariant *a, GVariant *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # ret = g_variant_equal (a, b); 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # G_GNUC_UNUSED static gboolean 1196s # _g_value_equal (const GValue *a, const GValue *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1196s # switch (G_VALUE_TYPE (a)) 1196s # { 1196s # case G_TYPE_BOOLEAN: 1196s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1196s # break; 1196s # case G_TYPE_UCHAR: 1196s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1196s # break; 1196s # case G_TYPE_INT: 1196s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1196s # break; 1196s # case G_TYPE_UINT: 1196s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1196s # break; 1196s # case G_TYPE_INT64: 1196s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1196s # break; 1196s # case G_TYPE_UINT64: 1196s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1196s # break; 1196s # case G_TYPE_DOUBLE: 1196s # { 1196s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1196s # gdouble da = g_value_get_double (a); 1196s # gdouble db = g_value_get_double (b); 1196s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1196s # } 1196s # break; 1196s # case G_TYPE_STRING: 1196s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1196s # break; 1196s # case G_TYPE_VARIANT: 1196s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1196s # break; 1196s # default: 1196s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1196s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1196s # else 1196s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1196s # break; 1196s # } 1196s # return ret; 1196s # } 1196s ok 4 __main__.TestCodegen.test_empty_interface_header 1196s # tmpdir: /tmp/tmpvjlqbcso 1196s # codegen: /usr/bin/gdbus-codegen 1196s # /tmp/tmpvjlqbcso/tmp5nmp_mgq.xml: 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvjlqbcso/tmp5nmp_mgq.xml', '--output', '-', '--header'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # Output: /* 1196s # * This file is generated by gdbus-codegen, do not modify it. 1196s # * 1196s # * The license of this code is the same as for the D-Bus interface description 1196s # * it was derived from. Note that it links to GLib, so must comply with the 1196s # * LGPL linking clauses. 1196s # */ 1196s # 1196s # #ifndef __STDOUT__ 1196s # #define __STDOUT__ 1196s # 1196s # #include 1196s # 1196s # G_BEGIN_DECLS 1196s # 1196s # 1196s # G_END_DECLS 1196s # 1196s # #endif /* __STDOUT__ */ 1196s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1196s # tmpdir: /tmp/tmprwbu3j4f 1196s # codegen: /usr/bin/gdbus-codegen 1196s # /tmp/tmprwbu3j4f/tmp47ptywsm.xml: 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprwbu3j4f/tmp47ptywsm.xml', '--output', '-', '--interface-info-body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # Output: /* 1196s # * This file is generated by gdbus-codegen, do not modify it. 1196s # * 1196s # * The license of this code is the same as for the D-Bus interface description 1196s # * it was derived from. Note that it links to GLib, so must comply with the 1196s # * LGPL linking clauses. 1196s # */ 1196s # 1196s # #ifdef HAVE_CONFIG_H 1196s # # include "config.h" 1196s # #endif 1196s # 1196s # #include 1196s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1196s # tmpdir: /tmp/tmpznrdpt5h 1196s # codegen: /usr/bin/gdbus-codegen 1196s # /tmp/tmpznrdpt5h/tmpg2qif714.xml: 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpznrdpt5h/tmpg2qif714.xml', '--output', '-', '--interface-info-header'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # Output: /* 1196s # * This file is generated by gdbus-codegen, do not modify it. 1196s # * 1196s # * The license of this code is the same as for the D-Bus interface description 1196s # * it was derived from. Note that it links to GLib, so must comply with the 1196s # * LGPL linking clauses. 1196s # */ 1196s # 1196s # #ifndef __STDOUT__ 1196s # #define __STDOUT__ 1196s # 1196s # #include 1196s # 1196s # G_BEGIN_DECLS 1196s # 1196s # 1196s # G_END_DECLS 1196s # 1196s # #endif /* __STDOUT__ */ 1196s ok 7 __main__.TestCodegen.test_generate_docbook 1196s # tmpdir: /tmp/tmpwm77zyju 1196s # codegen: /usr/bin/gdbus-codegen 1196s # /tmp/tmpwm77zyju/tmpundsfr2u.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwm77zyju/tmpundsfr2u.xml', '--generate-docbook', 'test'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # Output: 1196s ok 8 __main__.TestCodegen.test_generate_md 1196s # tmpdir: /tmp/tmpjnqufao4 1196s # codegen: /usr/bin/gdbus-codegen 1196s # /tmp/tmpjnqufao4/tmpokkc06j7.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjnqufao4/tmpokkc06j7.xml', '--generate-md', 'test'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # Output: 1196s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1196s # tmpdir: /tmp/tmps4bqhn6_ 1196s # codegen: /usr/bin/gdbus-codegen 1196s # /tmp/tmps4bqhn6_/tmpe2vehiw2.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4bqhn6_/tmpe2vehiw2.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # Output: /* 1196s # * This file is generated by gdbus-codegen, do not modify it. 1196s # * 1196s # * The license of this code is the same as for the D-Bus interface description 1196s # * it was derived from. Note that it links to GLib, so must comply with the 1196s # * LGPL linking clauses. 1196s # */ 1196s # 1196s # #ifdef HAVE_CONFIG_H 1196s # # include "config.h" 1196s # #endif 1196s # 1196s # #include 1196s # #ifdef G_OS_UNIX 1196s # # include 1196s # #endif 1196s # 1196s # #ifdef G_ENABLE_DEBUG 1196s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1196s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1196s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1196s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1196s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1196s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1196s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1196s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1196s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1196s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1196s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1196s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1196s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1196s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1196s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1196s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1196s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1196s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1196s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1196s # #else /* !G_ENABLE_DEBUG */ 1196s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1196s # * Do not access GValues directly in your code. Instead, use the 1196s # * g_value_get_*() functions 1196s # */ 1196s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1196s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1196s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1196s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1196s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1196s # #endif /* !G_ENABLE_DEBUG */ 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusArgInfo parent_struct; 1196s # gboolean use_gvariant; 1196s # } _ExtendedGDBusArgInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusMethodInfo parent_struct; 1196s # const gchar *signal_name; 1196s # gboolean pass_fdlist; 1196s # } _ExtendedGDBusMethodInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusSignalInfo parent_struct; 1196s # const gchar *signal_name; 1196s # } _ExtendedGDBusSignalInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusPropertyInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # guint use_gvariant : 1; 1196s # guint emits_changed_signal : 1; 1196s # } _ExtendedGDBusPropertyInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusInterfaceInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # } _ExtendedGDBusInterfaceInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # guint prop_id; 1196s # GValue orig_value; /* the value before the change */ 1196s # } ChangedProperty; 1196s # 1196s # static void 1196s # _changed_property_free (ChangedProperty *data) 1196s # { 1196s # g_value_unset (&data->orig_value); 1196s # g_free (data); 1196s # } 1196s # 1196s # static gboolean 1196s # _g_strv_equal0 (gchar **a, gchar **b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # guint n; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # if (g_strv_length (a) != g_strv_length (b)) 1196s # goto out; 1196s # for (n = 0; a[n] != NULL; n++) 1196s # if (g_strcmp0 (a[n], b[n]) != 0) 1196s # goto out; 1196s # ret = TRUE; 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _g_variant_equal0 (GVariant *a, GVariant *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # ret = g_variant_equal (a, b); 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # G_GNUC_UNUSED static gboolean 1196s # _g_value_equal (const GValue *a, const GValue *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1196s # switch (G_VALUE_TYPE (a)) 1196s # { 1196s # case G_TYPE_BOOLEAN: 1196s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1196s # break; 1196s # case G_TYPE_UCHAR: 1196s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1196s # break; 1196s # case G_TYPE_INT: 1196s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1196s # break; 1196s # case G_TYPE_UINT: 1196s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1196s # break; 1196s # case G_TYPE_INT64: 1196s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1196s # break; 1196s # case G_TYPE_UINT64: 1196s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1196s # break; 1196s # case G_TYPE_DOUBLE: 1196s # { 1196s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1196s # gdouble da = g_value_get_double (a); 1196s # gdouble db = g_value_get_double (b); 1196s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1196s # } 1196s # break; 1196s # case G_TYPE_STRING: 1196s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1196s # break; 1196s # case G_TYPE_VARIANT: 1196s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1196s # break; 1196s # default: 1196s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1196s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1196s # else 1196s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1196s # break; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static void 1196s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1196s # GClosure *closure, 1196s # GValue *return_value, 1196s # unsigned int n_param_values, 1196s # const GValue *param_values, 1196s # void *invocation_hint G_GNUC_UNUSED, 1196s # void *marshal_data) 1196s # { 1196s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1196s # (void *data1, 1196s # GDBusMethodInvocation *arg_method_invocation, 1196s # void *data2); 1196s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1196s # GCClosure *cc = (GCClosure*) closure; 1196s # void *data1, *data2; 1196s # gboolean v_return; 1196s # 1196s # g_return_if_fail (return_value != NULL); 1196s # g_return_if_fail (n_param_values == 2); 1196s # 1196s # if (G_CCLOSURE_SWAP_DATA (closure)) 1196s # { 1196s # data1 = closure->data; 1196s # data2 = g_value_peek_pointer (param_values + 0); 1196s # } 1196s # else 1196s # { 1196s # data1 = g_value_peek_pointer (param_values + 0); 1196s # data2 = closure->data; 1196s # } 1196s # 1196s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1196s # (marshal_data ? marshal_data : cc->callback); 1196s # 1196s # v_return = 1196s # callback (data1, 1196s # g_marshal_value_peek_object (param_values + 1), 1196s # data2); 1196s # 1196s # g_value_set_boolean (return_value, v_return); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ 1196s # * Code for interface org.project.CallableIface 1196s # * ------------------------------------------------------------------------ 1196s # */ 1196s # 1196s # /** 1196s # * SECTION:OrgProjectCallableIface 1196s # * @title: OrgProjectCallableIface 1196s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1196s # * 1196s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1196s # */ 1196s # 1196s # /* ---- Introspection data for org.project.CallableIface ---- */ 1196s # 1196s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "SimpleMethod", 1196s # NULL, 1196s # NULL, 1196s # NULL 1196s # }, 1196s # "handle-simple-method", 1196s # FALSE 1196s # }; 1196s # 1196s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1196s # { 1196s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "org.project.CallableIface", 1196s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1196s # NULL, 1196s # NULL, 1196s # NULL 1196s # }, 1196s # "org-project-callable-iface", 1196s # }; 1196s # 1196s # 1196s # /** 1196s # * org_project_callable_iface_interface_info: 1196s # * 1196s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1196s # * 1196s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1196s # */ 1196s # GDBusInterfaceInfo * 1196s # org_project_callable_iface_interface_info (void) 1196s # { 1196s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1196s # } 1196s # 1196s # /** 1196s # * org_project_callable_iface_override_properties: 1196s # * @klass: The class structure for a #GObject derived class. 1196s # * @property_id_begin: The property id to assign to the first overridden property. 1196s # * 1196s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1196s # * The properties are overridden in the order they are defined. 1196s # * 1196s # * Returns: The last property id. 1196s # */ 1196s # guint 1196s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1196s # { 1196s # return property_id_begin - 1; 1196s # } 1196s # 1196s # 1196s # inline static void 1196s # org_project_callable_iface_method_marshal_simple_method ( 1196s # GClosure *closure, 1196s # GValue *return_value, 1196s # unsigned int n_param_values, 1196s # const GValue *param_values, 1196s # void *invocation_hint, 1196s # void *marshal_data) 1196s # { 1196s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1196s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1196s # } 1196s # 1196s # 1196s # /** 1196s # * OrgProjectCallableIface: 1196s # * 1196s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectCallableIfaceIface: 1196s # * @parent_iface: The parent interface. 1196s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1196s # * 1196s # * Virtual table for the D-Bus interface org.project.CallableIface. 1196s # */ 1196s # 1196s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1196s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1196s # 1196s # static void 1196s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1196s # { 1196s # /* GObject signals for incoming D-Bus method calls: */ 1196s # /** 1196s # * OrgProjectCallableIface::handle-simple-method: 1196s # * @object: A #OrgProjectCallableIface. 1196s # * @invocation: A #GDBusMethodInvocation. 1196s # * 1196s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1196s # * 1196s # * 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. 1196s # * 1196s # * 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. 1196s # */ 1196s # g_signal_new ("handle-simple-method", 1196s # G_TYPE_FROM_INTERFACE (iface), 1196s # G_SIGNAL_RUN_LAST, 1196s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1196s # g_signal_accumulator_true_handled, 1196s # NULL, 1196s # org_project_callable_iface_method_marshal_simple_method, 1196s # G_TYPE_BOOLEAN, 1196s # 1, 1196s # G_TYPE_DBUS_METHOD_INVOCATION); 1196s # 1196s # } 1196s # 1196s # /** 1196s # * org_project_callable_iface_call_simple_method: 1196s # * @proxy: A #OrgProjectCallableIfaceProxy. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1196s # */ 1196s # void 1196s # org_project_callable_iface_call_simple_method ( 1196s # OrgProjectCallableIface *proxy, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1196s # "SimpleMethod", 1196s # g_variant_new ("()"), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # cancellable, 1196s # callback, 1196s # user_data); 1196s # } 1196s # 1196s # /** 1196s # * org_project_callable_iface_call_simple_method_finish: 1196s # * @proxy: A #OrgProjectCallableIfaceProxy. 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1196s # * @error: Return location for error or %NULL. 1196s # * 1196s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1196s # * 1196s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1196s # */ 1196s # gboolean 1196s # org_project_callable_iface_call_simple_method_finish ( 1196s # OrgProjectCallableIface *proxy, 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GVariant *_ret; 1196s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1196s # if (_ret == NULL) 1196s # goto _out; 1196s # g_variant_get (_ret, 1196s # "()"); 1196s # g_variant_unref (_ret); 1196s # _out: 1196s # return _ret != NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_callable_iface_call_simple_method_sync: 1196s # * @proxy: A #OrgProjectCallableIfaceProxy. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL. 1196s # * 1196s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1196s # * 1196s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1196s # */ 1196s # gboolean 1196s # org_project_callable_iface_call_simple_method_sync ( 1196s # OrgProjectCallableIface *proxy, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GVariant *_ret; 1196s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1196s # "SimpleMethod", 1196s # g_variant_new ("()"), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # cancellable, 1196s # error); 1196s # if (_ret == NULL) 1196s # goto _out; 1196s # g_variant_get (_ret, 1196s # "()"); 1196s # g_variant_unref (_ret); 1196s # _out: 1196s # return _ret != NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_callable_iface_complete_simple_method: 1196s # * @object: A #OrgProjectCallableIface. 1196s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1196s # * 1196s # * 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. 1196s # * 1196s # * This method will free @invocation, you cannot use it afterwards. 1196s # */ 1196s # void 1196s # org_project_callable_iface_complete_simple_method ( 1196s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1196s # GDBusMethodInvocation *invocation) 1196s # { 1196s # g_dbus_method_invocation_return_value (invocation, 1196s # g_variant_new ("()")); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * OrgProjectCallableIfaceProxy: 1196s # * 1196s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectCallableIfaceProxyClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for #OrgProjectCallableIfaceProxy. 1196s # */ 1196s # 1196s # struct _OrgProjectCallableIfaceProxyPrivate 1196s # { 1196s # GData *qdata; 1196s # }; 1196s # 1196s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1196s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # org_project_callable_iface_proxy_finalize (GObject *object) 1196s # { 1196s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1196s # g_datalist_clear (&proxy->priv->qdata); 1196s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1196s # guint prop_id G_GNUC_UNUSED, 1196s # GValue *value G_GNUC_UNUSED, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void 1196s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1196s # guint prop_id G_GNUC_UNUSED, 1196s # const GValue *value G_GNUC_UNUSED, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void 1196s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1196s # const gchar *sender_name G_GNUC_UNUSED, 1196s # const gchar *signal_name, 1196s # GVariant *parameters) 1196s # { 1196s # _ExtendedGDBusSignalInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # gsize n; 1196s # guint signal_id; 1196s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1196s # if (info == NULL) 1196s # return; 1196s # num_params = g_variant_n_children (parameters); 1196s # paramv = g_new0 (GValue, num_params + 1); 1196s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1196s # g_value_set_object (¶mv[0], proxy); 1196s # g_variant_iter_init (&iter, parameters); 1196s # n = 1; 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1196s # g_signal_emitv (paramv, signal_id, 0, NULL); 1196s # for (n = 0; n < num_params + 1; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static void 1196s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1196s # GVariant *changed_properties, 1196s # const gchar *const *invalidated_properties) 1196s # { 1196s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1196s # guint n; 1196s # const gchar *key; 1196s # GVariantIter *iter; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # g_variant_get (changed_properties, "a{sv}", &iter); 1196s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1196s # g_datalist_remove_data (&proxy->priv->qdata, key); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # g_variant_iter_free (iter); 1196s # for (n = 0; invalidated_properties[n] != NULL; n++) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1196s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # } 1196s # 1196s # static void 1196s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1196s # #else 1196s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1196s # #endif 1196s # 1196s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1196s # } 1196s # 1196s # static void 1196s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusProxyClass *proxy_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1196s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1196s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1196s # 1196s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1196s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1196s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # /** 1196s # * org_project_callable_iface_proxy_new: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # org_project_callable_iface_proxy_new ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # 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); 1196s # } 1196s # 1196s # /** 1196s # * org_project_callable_iface_proxy_new_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectCallableIface * 1196s # org_project_callable_iface_proxy_new_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_callable_iface_proxy_new_sync: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectCallableIface * 1196s # org_project_callable_iface_proxy_new_sync ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /** 1196s # * org_project_callable_iface_proxy_new_for_bus: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # org_project_callable_iface_proxy_new_for_bus ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # 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); 1196s # } 1196s # 1196s # /** 1196s # * org_project_callable_iface_proxy_new_for_bus_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectCallableIface * 1196s # org_project_callable_iface_proxy_new_for_bus_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_callable_iface_proxy_new_for_bus_sync: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectCallableIface * 1196s # org_project_callable_iface_proxy_new_for_bus_sync ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * OrgProjectCallableIfaceSkeleton: 1196s # * 1196s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectCallableIfaceSkeletonClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1196s # */ 1196s # 1196s # struct _OrgProjectCallableIfaceSkeletonPrivate 1196s # { 1196s # GValue *properties; 1196s # GList *changed_properties; 1196s # GSource *changed_properties_idle_source; 1196s # GMainContext *context; 1196s # GMutex lock; 1196s # }; 1196s # 1196s # static void 1196s # _org_project_callable_iface_skeleton_handle_method_call ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name, 1196s # const gchar *method_name, 1196s # GVariant *parameters, 1196s # GDBusMethodInvocation *invocation, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1196s # _ExtendedGDBusMethodInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # guint num_extra; 1196s # gsize n; 1196s # guint signal_id; 1196s # GValue return_value = G_VALUE_INIT; 1196s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1196s # g_assert (info != NULL); 1196s # num_params = g_variant_n_children (parameters); 1196s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1196s # n = 0; 1196s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1196s # g_value_set_object (¶mv[n++], skeleton); 1196s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1196s # g_value_set_object (¶mv[n++], invocation); 1196s # if (info->pass_fdlist) 1196s # { 1196s # #ifdef G_OS_UNIX 1196s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1196s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1196s # #else 1196s # g_assert_not_reached (); 1196s # #endif 1196s # } 1196s # g_variant_iter_init (&iter, parameters); 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1196s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1196s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1196s # if (!g_value_get_boolean (&return_value)) 1196s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1196s # g_value_unset (&return_value); 1196s # for (n = 0; n < num_params + num_extra; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static GVariant * 1196s # _org_project_callable_iface_skeleton_handle_get_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # GVariant *ret; 1196s # ret = NULL; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # g_value_init (&value, pspec->value_type); 1196s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1196s # g_value_unset (&value); 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _org_project_callable_iface_skeleton_handle_set_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GVariant *variant, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # gboolean ret; 1196s # ret = FALSE; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # if (info->use_gvariant) 1196s # g_value_set_variant (&value, variant); 1196s # else 1196s # g_dbus_gvariant_to_gvalue (variant, &value); 1196s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # g_value_unset (&value); 1196s # ret = TRUE; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1196s # { 1196s # _org_project_callable_iface_skeleton_handle_method_call, 1196s # _org_project_callable_iface_skeleton_handle_get_property, 1196s # _org_project_callable_iface_skeleton_handle_set_property, 1196s # {NULL} 1196s # }; 1196s # 1196s # static GDBusInterfaceInfo * 1196s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return org_project_callable_iface_interface_info (); 1196s # } 1196s # 1196s # static GDBusInterfaceVTable * 1196s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1196s # } 1196s # 1196s # static GVariant * 1196s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1196s # { 1196s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1196s # 1196s # GVariantBuilder builder; 1196s # guint n; 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1196s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #else 1196s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #endif 1196s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1196s # goto out; 1196s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1196s # { 1196s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1196s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1196s # { 1196s # GVariant *value; 1196s # 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); 1196s # if (value != NULL) 1196s # { 1196s # g_variant_take_ref (value); 1196s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1196s # g_variant_unref (value); 1196s # } 1196s # } 1196s # } 1196s # out: 1196s # return g_variant_builder_end (&builder); 1196s # } 1196s # 1196s # static void 1196s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # org_project_callable_iface_skeleton_finalize (GObject *object) 1196s # { 1196s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1196s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1196s # if (skeleton->priv->changed_properties_idle_source != NULL) 1196s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1196s # g_main_context_unref (skeleton->priv->context); 1196s # g_mutex_clear (&skeleton->priv->lock); 1196s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1196s # #else 1196s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1196s # #endif 1196s # 1196s # g_mutex_init (&skeleton->priv->lock); 1196s # skeleton->priv->context = g_main_context_ref_thread_default (); 1196s # } 1196s # 1196s # static void 1196s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusInterfaceSkeletonClass *skeleton_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1196s # 1196s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1196s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1196s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1196s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1196s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # /** 1196s # * org_project_callable_iface_skeleton_new: 1196s # * 1196s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1196s # */ 1196s # OrgProjectCallableIface * 1196s # org_project_callable_iface_skeleton_new (void) 1196s # { 1196s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ 1196s # * Code for interface org.project.OtherCallableIface 1196s # * ------------------------------------------------------------------------ 1196s # */ 1196s # 1196s # /** 1196s # * SECTION:OrgProjectOtherCallableIface 1196s # * @title: OrgProjectOtherCallableIface 1196s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1196s # * 1196s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1196s # */ 1196s # 1196s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1196s # 1196s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "SimpleMethod", 1196s # NULL, 1196s # NULL, 1196s # NULL 1196s # }, 1196s # "handle-simple-method", 1196s # FALSE 1196s # }; 1196s # 1196s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1196s # { 1196s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "org.project.OtherCallableIface", 1196s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1196s # NULL, 1196s # NULL, 1196s # NULL 1196s # }, 1196s # "org-project-other-callable-iface", 1196s # }; 1196s # 1196s # 1196s # /** 1196s # * org_project_other_callable_iface_interface_info: 1196s # * 1196s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1196s # * 1196s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1196s # */ 1196s # GDBusInterfaceInfo * 1196s # org_project_other_callable_iface_interface_info (void) 1196s # { 1196s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1196s # } 1196s # 1196s # /** 1196s # * org_project_other_callable_iface_override_properties: 1196s # * @klass: The class structure for a #GObject derived class. 1196s # * @property_id_begin: The property id to assign to the first overridden property. 1196s # * 1196s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1196s # * The properties are overridden in the order they are defined. 1196s # * 1196s # * Returns: The last property id. 1196s # */ 1196s # guint 1196s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1196s # { 1196s # return property_id_begin - 1; 1196s # } 1196s # 1196s # 1196s # inline static void 1196s # org_project_other_callable_iface_method_marshal_simple_method ( 1196s # GClosure *closure, 1196s # GValue *return_value, 1196s # unsigned int n_param_values, 1196s # const GValue *param_values, 1196s # void *invocation_hint, 1196s # void *marshal_data) 1196s # { 1196s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1196s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1196s # } 1196s # 1196s # 1196s # /** 1196s # * OrgProjectOtherCallableIface: 1196s # * 1196s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectOtherCallableIfaceIface: 1196s # * @parent_iface: The parent interface. 1196s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1196s # * 1196s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1196s # */ 1196s # 1196s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1196s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1196s # 1196s # static void 1196s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1196s # { 1196s # /* GObject signals for incoming D-Bus method calls: */ 1196s # /** 1196s # * OrgProjectOtherCallableIface::handle-simple-method: 1196s # * @object: A #OrgProjectOtherCallableIface. 1196s # * @invocation: A #GDBusMethodInvocation. 1196s # * 1196s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1196s # * 1196s # * 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. 1196s # * 1196s # * 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. 1196s # */ 1196s # g_signal_new ("handle-simple-method", 1196s # G_TYPE_FROM_INTERFACE (iface), 1196s # G_SIGNAL_RUN_LAST, 1196s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1196s # g_signal_accumulator_true_handled, 1196s # NULL, 1196s # org_project_other_callable_iface_method_marshal_simple_method, 1196s # G_TYPE_BOOLEAN, 1196s # 1, 1196s # G_TYPE_DBUS_METHOD_INVOCATION); 1196s # 1196s # } 1196s # 1196s # /** 1196s # * org_project_other_callable_iface_call_simple_method: 1196s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1196s # */ 1196s # void 1196s # org_project_other_callable_iface_call_simple_method ( 1196s # OrgProjectOtherCallableIface *proxy, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1196s # "SimpleMethod", 1196s # g_variant_new ("()"), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # cancellable, 1196s # callback, 1196s # user_data); 1196s # } 1196s # 1196s # /** 1196s # * org_project_other_callable_iface_call_simple_method_finish: 1196s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1196s # * @error: Return location for error or %NULL. 1196s # * 1196s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1196s # * 1196s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1196s # */ 1196s # gboolean 1196s # org_project_other_callable_iface_call_simple_method_finish ( 1196s # OrgProjectOtherCallableIface *proxy, 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GVariant *_ret; 1196s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1196s # if (_ret == NULL) 1196s # goto _out; 1196s # g_variant_get (_ret, 1196s # "()"); 1196s # g_variant_unref (_ret); 1196s # _out: 1196s # return _ret != NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_other_callable_iface_call_simple_method_sync: 1196s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL. 1196s # * 1196s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1196s # * 1196s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1196s # */ 1196s # gboolean 1196s # org_project_other_callable_iface_call_simple_method_sync ( 1196s # OrgProjectOtherCallableIface *proxy, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GVariant *_ret; 1196s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1196s # "SimpleMethod", 1196s # g_variant_new ("()"), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # cancellable, 1196s # error); 1196s # if (_ret == NULL) 1196s # goto _out; 1196s # g_variant_get (_ret, 1196s # "()"); 1196s # g_variant_unref (_ret); 1196s # _out: 1196s # return _ret != NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_other_callable_iface_complete_simple_method: 1196s # * @object: A #OrgProjectOtherCallableIface. 1196s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1196s # * 1196s # * 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. 1196s # * 1196s # * This method will free @invocation, you cannot use it afterwards. 1196s # */ 1196s # void 1196s # org_project_other_callable_iface_complete_simple_method ( 1196s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1196s # GDBusMethodInvocation *invocation) 1196s # { 1196s # g_dbus_method_invocation_return_value (invocation, 1196s # g_variant_new ("()")); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * OrgProjectOtherCallableIfaceProxy: 1196s # * 1196s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectOtherCallableIfaceProxyClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1196s # */ 1196s # 1196s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1196s # { 1196s # GData *qdata; 1196s # }; 1196s # 1196s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1196s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1196s # { 1196s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1196s # g_datalist_clear (&proxy->priv->qdata); 1196s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1196s # guint prop_id G_GNUC_UNUSED, 1196s # GValue *value G_GNUC_UNUSED, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void 1196s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1196s # guint prop_id G_GNUC_UNUSED, 1196s # const GValue *value G_GNUC_UNUSED, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void 1196s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1196s # const gchar *sender_name G_GNUC_UNUSED, 1196s # const gchar *signal_name, 1196s # GVariant *parameters) 1196s # { 1196s # _ExtendedGDBusSignalInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # gsize n; 1196s # guint signal_id; 1196s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1196s # if (info == NULL) 1196s # return; 1196s # num_params = g_variant_n_children (parameters); 1196s # paramv = g_new0 (GValue, num_params + 1); 1196s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1196s # g_value_set_object (¶mv[0], proxy); 1196s # g_variant_iter_init (&iter, parameters); 1196s # n = 1; 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1196s # g_signal_emitv (paramv, signal_id, 0, NULL); 1196s # for (n = 0; n < num_params + 1; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static void 1196s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1196s # GVariant *changed_properties, 1196s # const gchar *const *invalidated_properties) 1196s # { 1196s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1196s # guint n; 1196s # const gchar *key; 1196s # GVariantIter *iter; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # g_variant_get (changed_properties, "a{sv}", &iter); 1196s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1196s # g_datalist_remove_data (&proxy->priv->qdata, key); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # g_variant_iter_free (iter); 1196s # for (n = 0; invalidated_properties[n] != NULL; n++) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1196s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # } 1196s # 1196s # static void 1196s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1196s # #else 1196s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1196s # #endif 1196s # 1196s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1196s # } 1196s # 1196s # static void 1196s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusProxyClass *proxy_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1196s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1196s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1196s # 1196s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1196s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1196s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # /** 1196s # * org_project_other_callable_iface_proxy_new: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # org_project_other_callable_iface_proxy_new ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # 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); 1196s # } 1196s # 1196s # /** 1196s # * org_project_other_callable_iface_proxy_new_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectOtherCallableIface * 1196s # org_project_other_callable_iface_proxy_new_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_other_callable_iface_proxy_new_sync: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectOtherCallableIface * 1196s # org_project_other_callable_iface_proxy_new_sync ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /** 1196s # * org_project_other_callable_iface_proxy_new_for_bus: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # org_project_other_callable_iface_proxy_new_for_bus ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # 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); 1196s # } 1196s # 1196s # /** 1196s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectOtherCallableIface * 1196s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectOtherCallableIface * 1196s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * OrgProjectOtherCallableIfaceSkeleton: 1196s # * 1196s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectOtherCallableIfaceSkeletonClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1196s # */ 1196s # 1196s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1196s # { 1196s # GValue *properties; 1196s # GList *changed_properties; 1196s # GSource *changed_properties_idle_source; 1196s # GMainContext *context; 1196s # GMutex lock; 1196s # }; 1196s # 1196s # static void 1196s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name, 1196s # const gchar *method_name, 1196s # GVariant *parameters, 1196s # GDBusMethodInvocation *invocation, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1196s # _ExtendedGDBusMethodInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # guint num_extra; 1196s # gsize n; 1196s # guint signal_id; 1196s # GValue return_value = G_VALUE_INIT; 1196s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1196s # g_assert (info != NULL); 1196s # num_params = g_variant_n_children (parameters); 1196s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1196s # n = 0; 1196s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1196s # g_value_set_object (¶mv[n++], skeleton); 1196s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1196s # g_value_set_object (¶mv[n++], invocation); 1196s # if (info->pass_fdlist) 1196s # { 1196s # #ifdef G_OS_UNIX 1196s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1196s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1196s # #else 1196s # g_assert_not_reached (); 1196s # #endif 1196s # } 1196s # g_variant_iter_init (&iter, parameters); 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1196s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1196s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1196s # if (!g_value_get_boolean (&return_value)) 1196s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1196s # g_value_unset (&return_value); 1196s # for (n = 0; n < num_params + num_extra; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static GVariant * 1196s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # GVariant *ret; 1196s # ret = NULL; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # g_value_init (&value, pspec->value_type); 1196s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1196s # g_value_unset (&value); 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GVariant *variant, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # gboolean ret; 1196s # ret = FALSE; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # if (info->use_gvariant) 1196s # g_value_set_variant (&value, variant); 1196s # else 1196s # g_dbus_gvariant_to_gvalue (variant, &value); 1196s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # g_value_unset (&value); 1196s # ret = TRUE; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1196s # { 1196s # _org_project_other_callable_iface_skeleton_handle_method_call, 1196s # _org_project_other_callable_iface_skeleton_handle_get_property, 1196s # _org_project_other_callable_iface_skeleton_handle_set_property, 1196s # {NULL} 1196s # }; 1196s # 1196s # static GDBusInterfaceInfo * 1196s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return org_project_other_callable_iface_interface_info (); 1196s # } 1196s # 1196s # static GDBusInterfaceVTable * 1196s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1196s # } 1196s # 1196s # static GVariant * 1196s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1196s # { 1196s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1196s # 1196s # GVariantBuilder builder; 1196s # guint n; 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1196s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #else 1196s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #endif 1196s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1196s # goto out; 1196s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1196s # { 1196s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1196s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1196s # { 1196s # GVariant *value; 1196s # 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); 1196s # if (value != NULL) 1196s # { 1196s # g_variant_take_ref (value); 1196s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1196s # g_variant_unref (value); 1196s # } 1196s # } 1196s # } 1196s # out: 1196s # return g_variant_builder_end (&builder); 1196s # } 1196s # 1196s # static void 1196s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1196s # { 1196s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1196s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1196s # if (skeleton->priv->changed_properties_idle_source != NULL) 1196s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1196s # g_main_context_unref (skeleton->priv->context); 1196s # g_mutex_clear (&skeleton->priv->lock); 1196s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1196s # #else 1196s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1196s # #endif 1196s # 1196s # g_mutex_init (&skeleton->priv->lock); 1196s # skeleton->priv->context = g_main_context_ref_thread_default (); 1196s # } 1196s # 1196s # static void 1196s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusInterfaceSkeletonClass *skeleton_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1196s # 1196s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1196s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1196s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1196s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1196s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # /** 1196s # * org_project_other_callable_iface_skeleton_new: 1196s # * 1196s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1196s # */ 1196s # OrgProjectOtherCallableIface * 1196s # org_project_other_callable_iface_skeleton_new (void) 1196s # { 1196s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1196s # } 1196s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1196s # tmpdir: /tmp/tmpq19y46iw 1196s # codegen: /usr/bin/gdbus-codegen 1196s # /tmp/tmpq19y46iw/tmpzhhwu22o.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq19y46iw/tmpzhhwu22o.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # Output: /* 1196s # * This file is generated by gdbus-codegen, do not modify it. 1196s # * 1196s # * The license of this code is the same as for the D-Bus interface description 1196s # * it was derived from. Note that it links to GLib, so must comply with the 1196s # * LGPL linking clauses. 1196s # */ 1196s # 1196s # #ifdef HAVE_CONFIG_H 1196s # # include "config.h" 1196s # #endif 1196s # 1196s # #include 1196s # #ifdef G_OS_UNIX 1196s # # include 1196s # #endif 1196s # 1196s # #ifdef G_ENABLE_DEBUG 1196s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1196s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1196s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1196s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1196s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1196s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1196s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1196s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1196s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1196s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1196s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1196s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1196s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1196s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1196s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1196s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1196s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1196s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1196s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1196s # #else /* !G_ENABLE_DEBUG */ 1196s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1196s # * Do not access GValues directly in your code. Instead, use the 1196s # * g_value_get_*() functions 1196s # */ 1196s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1196s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1196s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1196s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1196s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1196s # #endif /* !G_ENABLE_DEBUG */ 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusArgInfo parent_struct; 1196s # gboolean use_gvariant; 1196s # } _ExtendedGDBusArgInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusMethodInfo parent_struct; 1196s # const gchar *signal_name; 1196s # gboolean pass_fdlist; 1196s # } _ExtendedGDBusMethodInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusSignalInfo parent_struct; 1196s # const gchar *signal_name; 1196s # } _ExtendedGDBusSignalInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusPropertyInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # guint use_gvariant : 1; 1196s # guint emits_changed_signal : 1; 1196s # } _ExtendedGDBusPropertyInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusInterfaceInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # } _ExtendedGDBusInterfaceInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # guint prop_id; 1196s # GValue orig_value; /* the value before the change */ 1196s # } ChangedProperty; 1196s # 1196s # static void 1196s # _changed_property_free (ChangedProperty *data) 1196s # { 1196s # g_value_unset (&data->orig_value); 1196s # g_free (data); 1196s # } 1196s # 1196s # static gboolean 1196s # _g_strv_equal0 (gchar **a, gchar **b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # guint n; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # if (g_strv_length (a) != g_strv_length (b)) 1196s # goto out; 1196s # for (n = 0; a[n] != NULL; n++) 1196s # if (g_strcmp0 (a[n], b[n]) != 0) 1196s # goto out; 1196s # ret = TRUE; 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _g_variant_equal0 (GVariant *a, GVariant *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # ret = g_variant_equal (a, b); 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # G_GNUC_UNUSED static gboolean 1196s # _g_value_equal (const GValue *a, const GValue *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1196s # switch (G_VALUE_TYPE (a)) 1196s # { 1196s # case G_TYPE_BOOLEAN: 1196s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1196s # break; 1196s # case G_TYPE_UCHAR: 1196s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1196s # break; 1196s # case G_TYPE_INT: 1196s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1196s # break; 1196s # case G_TYPE_UINT: 1196s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1196s # break; 1196s # case G_TYPE_INT64: 1196s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1196s # break; 1196s # case G_TYPE_UINT64: 1196s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1196s # break; 1196s # case G_TYPE_DOUBLE: 1196s # { 1196s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1196s # gdouble da = g_value_get_double (a); 1196s # gdouble db = g_value_get_double (b); 1196s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1196s # } 1196s # break; 1196s # case G_TYPE_STRING: 1196s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1196s # break; 1196s # case G_TYPE_VARIANT: 1196s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1196s # break; 1196s # default: 1196s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1196s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1196s # else 1196s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1196s # break; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static void 1196s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1196s # GClosure *closure, 1196s # GValue *return_value, 1196s # unsigned int n_param_values, 1196s # const GValue *param_values, 1196s # void *invocation_hint G_GNUC_UNUSED, 1196s # void *marshal_data) 1196s # { 1196s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1196s # (void *data1, 1196s # GDBusMethodInvocation *arg_method_invocation, 1196s # gboolean arg_arg_b, 1196s # void *data2); 1196s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1196s # GCClosure *cc = (GCClosure*) closure; 1196s # void *data1, *data2; 1196s # gboolean v_return; 1196s # 1196s # g_return_if_fail (return_value != NULL); 1196s # g_return_if_fail (n_param_values == 3); 1196s # 1196s # if (G_CCLOSURE_SWAP_DATA (closure)) 1196s # { 1196s # data1 = closure->data; 1196s # data2 = g_value_peek_pointer (param_values + 0); 1196s # } 1196s # else 1196s # { 1196s # data1 = g_value_peek_pointer (param_values + 0); 1196s # data2 = closure->data; 1196s # } 1196s # 1196s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1196s # (marshal_data ? marshal_data : cc->callback); 1196s # 1196s # v_return = 1196s # callback (data1, 1196s # g_marshal_value_peek_object (param_values + 1), 1196s # g_marshal_value_peek_boolean (param_values + 2), 1196s # data2); 1196s # 1196s # g_value_set_boolean (return_value, v_return); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ 1196s # * Code for interface org.project.UsefulInterface 1196s # * ------------------------------------------------------------------------ 1196s # */ 1196s # 1196s # /** 1196s # * SECTION:OrgProjectUsefulInterface 1196s # * @title: OrgProjectUsefulInterface 1196s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1196s # * 1196s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1196s # */ 1196s # 1196s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1196s # 1196s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "arg_b", 1196s # (gchar *) "b", 1196s # NULL 1196s # }, 1196s # FALSE 1196s # }; 1196s # 1196s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1196s # { 1196s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "SingleArgMethodB", 1196s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1196s # NULL, 1196s # NULL 1196s # }, 1196s # "handle-single-arg-method-b", 1196s # FALSE 1196s # }; 1196s # 1196s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1196s # { 1196s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "org.project.UsefulInterface", 1196s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1196s # NULL, 1196s # NULL, 1196s # NULL 1196s # }, 1196s # "org-project-useful-interface", 1196s # }; 1196s # 1196s # 1196s # /** 1196s # * org_project_useful_interface_interface_info: 1196s # * 1196s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1196s # * 1196s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1196s # */ 1196s # GDBusInterfaceInfo * 1196s # org_project_useful_interface_interface_info (void) 1196s # { 1196s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_override_properties: 1196s # * @klass: The class structure for a #GObject derived class. 1196s # * @property_id_begin: The property id to assign to the first overridden property. 1196s # * 1196s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1196s # * The properties are overridden in the order they are defined. 1196s # * 1196s # * Returns: The last property id. 1196s # */ 1196s # guint 1196s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1196s # { 1196s # return property_id_begin - 1; 1196s # } 1196s # 1196s # 1196s # inline static void 1196s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1196s # GClosure *closure, 1196s # GValue *return_value, 1196s # unsigned int n_param_values, 1196s # const GValue *param_values, 1196s # void *invocation_hint, 1196s # void *marshal_data) 1196s # { 1196s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1196s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1196s # } 1196s # 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterface: 1196s # * 1196s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceIface: 1196s # * @parent_iface: The parent interface. 1196s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1196s # * 1196s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1196s # */ 1196s # 1196s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1196s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1196s # 1196s # static void 1196s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1196s # { 1196s # /* GObject signals for incoming D-Bus method calls: */ 1196s # /** 1196s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1196s # * @object: A #OrgProjectUsefulInterface. 1196s # * @invocation: A #GDBusMethodInvocation. 1196s # * @arg_arg_b: Argument passed by remote caller. 1196s # * 1196s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1196s # * 1196s # * 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. 1196s # * 1196s # * 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. 1196s # */ 1196s # g_signal_new ("handle-single-arg-method-b", 1196s # G_TYPE_FROM_INTERFACE (iface), 1196s # G_SIGNAL_RUN_LAST, 1196s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1196s # g_signal_accumulator_true_handled, 1196s # NULL, 1196s # org_project_useful_interface_method_marshal_single_arg_method_b, 1196s # G_TYPE_BOOLEAN, 1196s # 2, 1196s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1196s # 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_b: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @arg_arg_b: Argument to pass with the method invocation. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1196s # */ 1196s # void 1196s # org_project_useful_interface_call_single_arg_method_b ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # gboolean arg_arg_b, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1196s # "SingleArgMethodB", 1196s # g_variant_new ("(b)", 1196s # arg_arg_b), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # cancellable, 1196s # callback, 1196s # user_data); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_b_finish: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1196s # * @error: Return location for error or %NULL. 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1196s # * 1196s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1196s # */ 1196s # gboolean 1196s # org_project_useful_interface_call_single_arg_method_b_finish ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GVariant *_ret; 1196s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1196s # if (_ret == NULL) 1196s # goto _out; 1196s # g_variant_get (_ret, 1196s # "()"); 1196s # g_variant_unref (_ret); 1196s # _out: 1196s # return _ret != NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_b_sync: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @arg_arg_b: Argument to pass with the method invocation. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL. 1196s # * 1196s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1196s # * 1196s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1196s # */ 1196s # gboolean 1196s # org_project_useful_interface_call_single_arg_method_b_sync ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # gboolean arg_arg_b, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GVariant *_ret; 1196s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1196s # "SingleArgMethodB", 1196s # g_variant_new ("(b)", 1196s # arg_arg_b), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # cancellable, 1196s # error); 1196s # if (_ret == NULL) 1196s # goto _out; 1196s # g_variant_get (_ret, 1196s # "()"); 1196s # g_variant_unref (_ret); 1196s # _out: 1196s # return _ret != NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_complete_single_arg_method_b: 1196s # * @object: A #OrgProjectUsefulInterface. 1196s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1196s # * 1196s # * 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. 1196s # * 1196s # * This method will free @invocation, you cannot use it afterwards. 1196s # */ 1196s # void 1196s # org_project_useful_interface_complete_single_arg_method_b ( 1196s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1196s # GDBusMethodInvocation *invocation) 1196s # { 1196s # g_dbus_method_invocation_return_value (invocation, 1196s # g_variant_new ("()")); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceProxy: 1196s # * 1196s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceProxyClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1196s # */ 1196s # 1196s # struct _OrgProjectUsefulInterfaceProxyPrivate 1196s # { 1196s # GData *qdata; 1196s # }; 1196s # 1196s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1196s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # org_project_useful_interface_proxy_finalize (GObject *object) 1196s # { 1196s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1196s # g_datalist_clear (&proxy->priv->qdata); 1196s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1196s # guint prop_id G_GNUC_UNUSED, 1196s # GValue *value G_GNUC_UNUSED, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1196s # guint prop_id G_GNUC_UNUSED, 1196s # const GValue *value G_GNUC_UNUSED, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1196s # const gchar *sender_name G_GNUC_UNUSED, 1196s # const gchar *signal_name, 1196s # GVariant *parameters) 1196s # { 1196s # _ExtendedGDBusSignalInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # gsize n; 1196s # guint signal_id; 1196s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1196s # if (info == NULL) 1196s # return; 1196s # num_params = g_variant_n_children (parameters); 1196s # paramv = g_new0 (GValue, num_params + 1); 1196s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_set_object (¶mv[0], proxy); 1196s # g_variant_iter_init (&iter, parameters); 1196s # n = 1; 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_signal_emitv (paramv, signal_id, 0, NULL); 1196s # for (n = 0; n < num_params + 1; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1196s # GVariant *changed_properties, 1196s # const gchar *const *invalidated_properties) 1196s # { 1196s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1196s # guint n; 1196s # const gchar *key; 1196s # GVariantIter *iter; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # g_variant_get (changed_properties, "a{sv}", &iter); 1196s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1196s # g_datalist_remove_data (&proxy->priv->qdata, key); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # g_variant_iter_free (iter); 1196s # for (n = 0; invalidated_properties[n] != NULL; n++) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1196s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1196s # #else 1196s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1196s # #endif 1196s # 1196s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusProxyClass *proxy_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1196s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1196s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1196s # 1196s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1196s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1196s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # org_project_useful_interface_proxy_new ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_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); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_sync: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_sync ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # org_project_useful_interface_proxy_new_for_bus ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_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); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_for_bus_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus_sync: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_for_bus_sync ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceSkeleton: 1196s # * 1196s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceSkeletonClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1196s # */ 1196s # 1196s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1196s # { 1196s # GValue *properties; 1196s # GList *changed_properties; 1196s # GSource *changed_properties_idle_source; 1196s # GMainContext *context; 1196s # GMutex lock; 1196s # }; 1196s # 1196s # static void 1196s # _org_project_useful_interface_skeleton_handle_method_call ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name, 1196s # const gchar *method_name, 1196s # GVariant *parameters, 1196s # GDBusMethodInvocation *invocation, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # _ExtendedGDBusMethodInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # guint num_extra; 1196s # gsize n; 1196s # guint signal_id; 1196s # GValue return_value = G_VALUE_INIT; 1196s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1196s # g_assert (info != NULL); 1196s # num_params = g_variant_n_children (parameters); 1196s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1196s # n = 0; 1196s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_set_object (¶mv[n++], skeleton); 1196s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1196s # g_value_set_object (¶mv[n++], invocation); 1196s # if (info->pass_fdlist) 1196s # { 1196s # #ifdef G_OS_UNIX 1196s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1196s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1196s # #else 1196s # g_assert_not_reached (); 1196s # #endif 1196s # } 1196s # g_variant_iter_init (&iter, parameters); 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1196s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1196s # if (!g_value_get_boolean (&return_value)) 1196s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1196s # g_value_unset (&return_value); 1196s # for (n = 0; n < num_params + num_extra; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static GVariant * 1196s # _org_project_useful_interface_skeleton_handle_get_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # GVariant *ret; 1196s # ret = NULL; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # g_value_init (&value, pspec->value_type); 1196s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1196s # g_value_unset (&value); 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _org_project_useful_interface_skeleton_handle_set_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GVariant *variant, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # gboolean ret; 1196s # ret = FALSE; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # if (info->use_gvariant) 1196s # g_value_set_variant (&value, variant); 1196s # else 1196s # g_dbus_gvariant_to_gvalue (variant, &value); 1196s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # g_value_unset (&value); 1196s # ret = TRUE; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1196s # { 1196s # _org_project_useful_interface_skeleton_handle_method_call, 1196s # _org_project_useful_interface_skeleton_handle_get_property, 1196s # _org_project_useful_interface_skeleton_handle_set_property, 1196s # {NULL} 1196s # }; 1196s # 1196s # static GDBusInterfaceInfo * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return org_project_useful_interface_interface_info (); 1196s # } 1196s # 1196s # static GDBusInterfaceVTable * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1196s # } 1196s # 1196s # static GVariant * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1196s # 1196s # GVariantBuilder builder; 1196s # guint n; 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1196s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #else 1196s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #endif 1196s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1196s # goto out; 1196s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1196s # { 1196s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1196s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1196s # { 1196s # GVariant *value; 1196s # 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); 1196s # if (value != NULL) 1196s # { 1196s # g_variant_take_ref (value); 1196s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1196s # g_variant_unref (value); 1196s # } 1196s # } 1196s # } 1196s # out: 1196s # return g_variant_builder_end (&builder); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # org_project_useful_interface_skeleton_finalize (GObject *object) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1196s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1196s # if (skeleton->priv->changed_properties_idle_source != NULL) 1196s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1196s # g_main_context_unref (skeleton->priv->context); 1196s # g_mutex_clear (&skeleton->priv->lock); 1196s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1196s # #else 1196s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1196s # #endif 1196s # 1196s # g_mutex_init (&skeleton->priv->lock); 1196s # skeleton->priv->context = g_main_context_ref_thread_default (); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusInterfaceSkeletonClass *skeleton_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1196s # 1196s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1196s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1196s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1196s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1196s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_skeleton_new: 1196s # * 1196s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_skeleton_new (void) 1196s # { 1196s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1196s # } 1196s # /tmp/tmpq19y46iw/tmp5mkaqfsl.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq19y46iw/tmp5mkaqfsl.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # Output: /* 1196s # * This file is generated by gdbus-codegen, do not modify it. 1196s # * 1196s # * The license of this code is the same as for the D-Bus interface description 1196s # * it was derived from. Note that it links to GLib, so must comply with the 1196s # * LGPL linking clauses. 1196s # */ 1196s # 1196s # #ifdef HAVE_CONFIG_H 1196s # # include "config.h" 1196s # #endif 1196s # 1196s # #include 1196s # #ifdef G_OS_UNIX 1196s # # include 1196s # #endif 1196s # 1196s # #ifdef G_ENABLE_DEBUG 1196s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1196s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1196s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1196s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1196s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1196s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1196s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1196s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1196s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1196s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1196s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1196s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1196s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1196s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1196s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1196s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1196s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1196s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1196s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1196s # #else /* !G_ENABLE_DEBUG */ 1196s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1196s # * Do not access GValues directly in your code. Instead, use the 1196s # * g_value_get_*() functions 1196s # */ 1196s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1196s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1196s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1196s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1196s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1196s # #endif /* !G_ENABLE_DEBUG */ 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusArgInfo parent_struct; 1196s # gboolean use_gvariant; 1196s # } _ExtendedGDBusArgInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusMethodInfo parent_struct; 1196s # const gchar *signal_name; 1196s # gboolean pass_fdlist; 1196s # } _ExtendedGDBusMethodInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusSignalInfo parent_struct; 1196s # const gchar *signal_name; 1196s # } _ExtendedGDBusSignalInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusPropertyInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # guint use_gvariant : 1; 1196s # guint emits_changed_signal : 1; 1196s # } _ExtendedGDBusPropertyInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusInterfaceInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # } _ExtendedGDBusInterfaceInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # guint prop_id; 1196s # GValue orig_value; /* the value before the change */ 1196s # } ChangedProperty; 1196s # 1196s # static void 1196s # _changed_property_free (ChangedProperty *data) 1196s # { 1196s # g_value_unset (&data->orig_value); 1196s # g_free (data); 1196s # } 1196s # 1196s # static gboolean 1196s # _g_strv_equal0 (gchar **a, gchar **b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # guint n; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # if (g_strv_length (a) != g_strv_length (b)) 1196s # goto out; 1196s # for (n = 0; a[n] != NULL; n++) 1196s # if (g_strcmp0 (a[n], b[n]) != 0) 1196s # goto out; 1196s # ret = TRUE; 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _g_variant_equal0 (GVariant *a, GVariant *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # ret = g_variant_equal (a, b); 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # G_GNUC_UNUSED static gboolean 1196s # _g_value_equal (const GValue *a, const GValue *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1196s # switch (G_VALUE_TYPE (a)) 1196s # { 1196s # case G_TYPE_BOOLEAN: 1196s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1196s # break; 1196s # case G_TYPE_UCHAR: 1196s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1196s # break; 1196s # case G_TYPE_INT: 1196s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1196s # break; 1196s # case G_TYPE_UINT: 1196s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1196s # break; 1196s # case G_TYPE_INT64: 1196s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1196s # break; 1196s # case G_TYPE_UINT64: 1196s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1196s # break; 1196s # case G_TYPE_DOUBLE: 1196s # { 1196s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1196s # gdouble da = g_value_get_double (a); 1196s # gdouble db = g_value_get_double (b); 1196s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1196s # } 1196s # break; 1196s # case G_TYPE_STRING: 1196s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1196s # break; 1196s # case G_TYPE_VARIANT: 1196s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1196s # break; 1196s # default: 1196s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1196s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1196s # else 1196s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1196s # break; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static void 1196s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1196s # GClosure *closure, 1196s # GValue *return_value, 1196s # unsigned int n_param_values, 1196s # const GValue *param_values, 1196s # void *invocation_hint G_GNUC_UNUSED, 1196s # void *marshal_data) 1196s # { 1196s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1196s # (void *data1, 1196s # GDBusMethodInvocation *arg_method_invocation, 1196s # guchar arg_arg_y, 1196s # void *data2); 1196s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1196s # GCClosure *cc = (GCClosure*) closure; 1196s # void *data1, *data2; 1196s # gboolean v_return; 1196s # 1196s # g_return_if_fail (return_value != NULL); 1196s # g_return_if_fail (n_param_values == 3); 1196s # 1196s # if (G_CCLOSURE_SWAP_DATA (closure)) 1196s # { 1196s # data1 = closure->data; 1196s # data2 = g_value_peek_pointer (param_values + 0); 1196s # } 1196s # else 1196s # { 1196s # data1 = g_value_peek_pointer (param_values + 0); 1196s # data2 = closure->data; 1196s # } 1196s # 1196s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1196s # (marshal_data ? marshal_data : cc->callback); 1196s # 1196s # v_return = 1196s # callback (data1, 1196s # g_marshal_value_peek_object (param_values + 1), 1196s # g_marshal_value_peek_uchar (param_values + 2), 1196s # data2); 1196s # 1196s # g_value_set_boolean (return_value, v_return); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ 1196s # * Code for interface org.project.UsefulInterface 1196s # * ------------------------------------------------------------------------ 1196s # */ 1196s # 1196s # /** 1196s # * SECTION:OrgProjectUsefulInterface 1196s # * @title: OrgProjectUsefulInterface 1196s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1196s # * 1196s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1196s # */ 1196s # 1196s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1196s # 1196s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "arg_y", 1196s # (gchar *) "y", 1196s # NULL 1196s # }, 1196s # FALSE 1196s # }; 1196s # 1196s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1196s # { 1196s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "SingleArgMethodY", 1196s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1196s # NULL, 1196s # NULL 1196s # }, 1196s # "handle-single-arg-method-y", 1196s # FALSE 1196s # }; 1196s # 1196s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1196s # { 1196s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "org.project.UsefulInterface", 1196s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1196s # NULL, 1196s # NULL, 1196s # NULL 1196s # }, 1196s # "org-project-useful-interface", 1196s # }; 1196s # 1196s # 1196s # /** 1196s # * org_project_useful_interface_interface_info: 1196s # * 1196s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1196s # * 1196s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1196s # */ 1196s # GDBusInterfaceInfo * 1196s # org_project_useful_interface_interface_info (void) 1196s # { 1196s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_override_properties: 1196s # * @klass: The class structure for a #GObject derived class. 1196s # * @property_id_begin: The property id to assign to the first overridden property. 1196s # * 1196s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1196s # * The properties are overridden in the order they are defined. 1196s # * 1196s # * Returns: The last property id. 1196s # */ 1196s # guint 1196s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1196s # { 1196s # return property_id_begin - 1; 1196s # } 1196s # 1196s # 1196s # inline static void 1196s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1196s # GClosure *closure, 1196s # GValue *return_value, 1196s # unsigned int n_param_values, 1196s # const GValue *param_values, 1196s # void *invocation_hint, 1196s # void *marshal_data) 1196s # { 1196s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1196s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1196s # } 1196s # 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterface: 1196s # * 1196s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceIface: 1196s # * @parent_iface: The parent interface. 1196s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1196s # * 1196s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1196s # */ 1196s # 1196s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1196s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1196s # 1196s # static void 1196s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1196s # { 1196s # /* GObject signals for incoming D-Bus method calls: */ 1196s # /** 1196s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1196s # * @object: A #OrgProjectUsefulInterface. 1196s # * @invocation: A #GDBusMethodInvocation. 1196s # * @arg_arg_y: Argument passed by remote caller. 1196s # * 1196s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1196s # * 1196s # * 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. 1196s # * 1196s # * 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. 1196s # */ 1196s # g_signal_new ("handle-single-arg-method-y", 1196s # G_TYPE_FROM_INTERFACE (iface), 1196s # G_SIGNAL_RUN_LAST, 1196s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1196s # g_signal_accumulator_true_handled, 1196s # NULL, 1196s # org_project_useful_interface_method_marshal_single_arg_method_y, 1196s # G_TYPE_BOOLEAN, 1196s # 2, 1196s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1196s # 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_y: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @arg_arg_y: Argument to pass with the method invocation. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1196s # */ 1196s # void 1196s # org_project_useful_interface_call_single_arg_method_y ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # guchar arg_arg_y, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1196s # "SingleArgMethodY", 1196s # g_variant_new ("(y)", 1196s # arg_arg_y), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # cancellable, 1196s # callback, 1196s # user_data); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_y_finish: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1196s # * @error: Return location for error or %NULL. 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1196s # * 1196s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1196s # */ 1196s # gboolean 1196s # org_project_useful_interface_call_single_arg_method_y_finish ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GVariant *_ret; 1196s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1196s # if (_ret == NULL) 1196s # goto _out; 1196s # g_variant_get (_ret, 1196s # "()"); 1196s # g_variant_unref (_ret); 1196s # _out: 1196s # return _ret != NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_y_sync: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @arg_arg_y: Argument to pass with the method invocation. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL. 1196s # * 1196s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1196s # * 1196s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1196s # */ 1196s # gboolean 1196s # org_project_useful_interface_call_single_arg_method_y_sync ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # guchar arg_arg_y, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GVariant *_ret; 1196s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1196s # "SingleArgMethodY", 1196s # g_variant_new ("(y)", 1196s # arg_arg_y), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # cancellable, 1196s # error); 1196s # if (_ret == NULL) 1196s # goto _out; 1196s # g_variant_get (_ret, 1196s # "()"); 1196s # g_variant_unref (_ret); 1196s # _out: 1196s # return _ret != NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_complete_single_arg_method_y: 1196s # * @object: A #OrgProjectUsefulInterface. 1196s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1196s # * 1196s # * 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. 1196s # * 1196s # * This method will free @invocation, you cannot use it afterwards. 1196s # */ 1196s # void 1196s # org_project_useful_interface_complete_single_arg_method_y ( 1196s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1196s # GDBusMethodInvocation *invocation) 1196s # { 1196s # g_dbus_method_invocation_return_value (invocation, 1196s # g_variant_new ("()")); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceProxy: 1196s # * 1196s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceProxyClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1196s # */ 1196s # 1196s # struct _OrgProjectUsefulInterfaceProxyPrivate 1196s # { 1196s # GData *qdata; 1196s # }; 1196s # 1196s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1196s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # org_project_useful_interface_proxy_finalize (GObject *object) 1196s # { 1196s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1196s # g_datalist_clear (&proxy->priv->qdata); 1196s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1196s # guint prop_id G_GNUC_UNUSED, 1196s # GValue *value G_GNUC_UNUSED, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1196s # guint prop_id G_GNUC_UNUSED, 1196s # const GValue *value G_GNUC_UNUSED, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1196s # const gchar *sender_name G_GNUC_UNUSED, 1196s # const gchar *signal_name, 1196s # GVariant *parameters) 1196s # { 1196s # _ExtendedGDBusSignalInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # gsize n; 1196s # guint signal_id; 1196s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1196s # if (info == NULL) 1196s # return; 1196s # num_params = g_variant_n_children (parameters); 1196s # paramv = g_new0 (GValue, num_params + 1); 1196s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_set_object (¶mv[0], proxy); 1196s # g_variant_iter_init (&iter, parameters); 1196s # n = 1; 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_signal_emitv (paramv, signal_id, 0, NULL); 1196s # for (n = 0; n < num_params + 1; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1196s # GVariant *changed_properties, 1196s # const gchar *const *invalidated_properties) 1196s # { 1196s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1196s # guint n; 1196s # const gchar *key; 1196s # GVariantIter *iter; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # g_variant_get (changed_properties, "a{sv}", &iter); 1196s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1196s # g_datalist_remove_data (&proxy->priv->qdata, key); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # g_variant_iter_free (iter); 1196s # for (n = 0; invalidated_properties[n] != NULL; n++) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1196s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1196s # #else 1196s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1196s # #endif 1196s # 1196s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusProxyClass *proxy_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1196s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1196s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1196s # 1196s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1196s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1196s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # org_project_useful_interface_proxy_new ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_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); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_sync: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_sync ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # org_project_useful_interface_proxy_new_for_bus ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_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); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_for_bus_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus_sync: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_for_bus_sync ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceSkeleton: 1196s # * 1196s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceSkeletonClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1196s # */ 1196s # 1196s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1196s # { 1196s # GValue *properties; 1196s # GList *changed_properties; 1196s # GSource *changed_properties_idle_source; 1196s # GMainContext *context; 1196s # GMutex lock; 1196s # }; 1196s # 1196s # static void 1196s # _org_project_useful_interface_skeleton_handle_method_call ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name, 1196s # const gchar *method_name, 1196s # GVariant *parameters, 1196s # GDBusMethodInvocation *invocation, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # _ExtendedGDBusMethodInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # guint num_extra; 1196s # gsize n; 1196s # guint signal_id; 1196s # GValue return_value = G_VALUE_INIT; 1196s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1196s # g_assert (info != NULL); 1196s # num_params = g_variant_n_children (parameters); 1196s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1196s # n = 0; 1196s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_set_object (¶mv[n++], skeleton); 1196s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1196s # g_value_set_object (¶mv[n++], invocation); 1196s # if (info->pass_fdlist) 1196s # { 1196s # #ifdef G_OS_UNIX 1196s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1196s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1196s # #else 1196s # g_assert_not_reached (); 1196s # #endif 1196s # } 1196s # g_variant_iter_init (&iter, parameters); 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1196s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1196s # if (!g_value_get_boolean (&return_value)) 1196s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1196s # g_value_unset (&return_value); 1196s # for (n = 0; n < num_params + num_extra; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static GVariant * 1196s # _org_project_useful_interface_skeleton_handle_get_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # GVariant *ret; 1196s # ret = NULL; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # g_value_init (&value, pspec->value_type); 1196s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1196s # g_value_unset (&value); 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _org_project_useful_interface_skeleton_handle_set_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GVariant *variant, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # gboolean ret; 1196s # ret = FALSE; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # if (info->use_gvariant) 1196s # g_value_set_variant (&value, variant); 1196s # else 1196s # g_dbus_gvariant_to_gvalue (variant, &value); 1196s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # g_value_unset (&value); 1196s # ret = TRUE; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1196s # { 1196s # _org_project_useful_interface_skeleton_handle_method_call, 1196s # _org_project_useful_interface_skeleton_handle_get_property, 1196s # _org_project_useful_interface_skeleton_handle_set_property, 1196s # {NULL} 1196s # }; 1196s # 1196s # static GDBusInterfaceInfo * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return org_project_useful_interface_interface_info (); 1196s # } 1196s # 1196s # static GDBusInterfaceVTable * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1196s # } 1196s # 1196s # static GVariant * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1196s # 1196s # GVariantBuilder builder; 1196s # guint n; 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1196s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #else 1196s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #endif 1196s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1196s # goto out; 1196s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1196s # { 1196s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1196s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1196s # { 1196s # GVariant *value; 1196s # 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); 1196s # if (value != NULL) 1196s # { 1196s # g_variant_take_ref (value); 1196s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1196s # g_variant_unref (value); 1196s # } 1196s # } 1196s # } 1196s # out: 1196s # return g_variant_builder_end (&builder); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # org_project_useful_interface_skeleton_finalize (GObject *object) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1196s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1196s # if (skeleton->priv->changed_properties_idle_source != NULL) 1196s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1196s # g_main_context_unref (skeleton->priv->context); 1196s # g_mutex_clear (&skeleton->priv->lock); 1196s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1196s # #else 1196s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1196s # #endif 1196s # 1196s # g_mutex_init (&skeleton->priv->lock); 1196s # skeleton->priv->context = g_main_context_ref_thread_default (); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusInterfaceSkeletonClass *skeleton_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1196s # 1196s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1196s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1196s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1196s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1196s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_skeleton_new: 1196s # * 1196s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_skeleton_new (void) 1196s # { 1196s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1196s # } 1196s # /tmp/tmpq19y46iw/tmp7wtf60y5.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq19y46iw/tmp7wtf60y5.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # Output: /* 1196s # * This file is generated by gdbus-codegen, do not modify it. 1196s # * 1196s # * The license of this code is the same as for the D-Bus interface description 1196s # * it was derived from. Note that it links to GLib, so must comply with the 1196s # * LGPL linking clauses. 1196s # */ 1196s # 1196s # #ifdef HAVE_CONFIG_H 1196s # # include "config.h" 1196s # #endif 1196s # 1196s # #include 1196s # #ifdef G_OS_UNIX 1196s # # include 1196s # #endif 1196s # 1196s # #ifdef G_ENABLE_DEBUG 1196s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1196s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1196s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1196s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1196s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1196s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1196s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1196s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1196s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1196s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1196s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1196s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1196s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1196s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1196s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1196s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1196s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1196s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1196s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1196s # #else /* !G_ENABLE_DEBUG */ 1196s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1196s # * Do not access GValues directly in your code. Instead, use the 1196s # * g_value_get_*() functions 1196s # */ 1196s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1196s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1196s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1196s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1196s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1196s # #endif /* !G_ENABLE_DEBUG */ 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusArgInfo parent_struct; 1196s # gboolean use_gvariant; 1196s # } _ExtendedGDBusArgInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusMethodInfo parent_struct; 1196s # const gchar *signal_name; 1196s # gboolean pass_fdlist; 1196s # } _ExtendedGDBusMethodInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusSignalInfo parent_struct; 1196s # const gchar *signal_name; 1196s # } _ExtendedGDBusSignalInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusPropertyInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # guint use_gvariant : 1; 1196s # guint emits_changed_signal : 1; 1196s # } _ExtendedGDBusPropertyInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusInterfaceInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # } _ExtendedGDBusInterfaceInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # guint prop_id; 1196s # GValue orig_value; /* the value before the change */ 1196s # } ChangedProperty; 1196s # 1196s # static void 1196s # _changed_property_free (ChangedProperty *data) 1196s # { 1196s # g_value_unset (&data->orig_value); 1196s # g_free (data); 1196s # } 1196s # 1196s # static gboolean 1196s # _g_strv_equal0 (gchar **a, gchar **b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # guint n; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # if (g_strv_length (a) != g_strv_length (b)) 1196s # goto out; 1196s # for (n = 0; a[n] != NULL; n++) 1196s # if (g_strcmp0 (a[n], b[n]) != 0) 1196s # goto out; 1196s # ret = TRUE; 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _g_variant_equal0 (GVariant *a, GVariant *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # ret = g_variant_equal (a, b); 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # G_GNUC_UNUSED static gboolean 1196s # _g_value_equal (const GValue *a, const GValue *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1196s # switch (G_VALUE_TYPE (a)) 1196s # { 1196s # case G_TYPE_BOOLEAN: 1196s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1196s # break; 1196s # case G_TYPE_UCHAR: 1196s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1196s # break; 1196s # case G_TYPE_INT: 1196s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1196s # break; 1196s # case G_TYPE_UINT: 1196s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1196s # break; 1196s # case G_TYPE_INT64: 1196s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1196s # break; 1196s # case G_TYPE_UINT64: 1196s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1196s # break; 1196s # case G_TYPE_DOUBLE: 1196s # { 1196s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1196s # gdouble da = g_value_get_double (a); 1196s # gdouble db = g_value_get_double (b); 1196s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1196s # } 1196s # break; 1196s # case G_TYPE_STRING: 1196s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1196s # break; 1196s # case G_TYPE_VARIANT: 1196s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1196s # break; 1196s # default: 1196s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1196s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1196s # else 1196s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1196s # break; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static void 1196s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1196s # GClosure *closure, 1196s # GValue *return_value, 1196s # unsigned int n_param_values, 1196s # const GValue *param_values, 1196s # void *invocation_hint G_GNUC_UNUSED, 1196s # void *marshal_data) 1196s # { 1196s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1196s # (void *data1, 1196s # GDBusMethodInvocation *arg_method_invocation, 1196s # gint16 arg_arg_n, 1196s # void *data2); 1196s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1196s # GCClosure *cc = (GCClosure*) closure; 1196s # void *data1, *data2; 1196s # gboolean v_return; 1196s # 1196s # g_return_if_fail (return_value != NULL); 1196s # g_return_if_fail (n_param_values == 3); 1196s # 1196s # if (G_CCLOSURE_SWAP_DATA (closure)) 1196s # { 1196s # data1 = closure->data; 1196s # data2 = g_value_peek_pointer (param_values + 0); 1196s # } 1196s # else 1196s # { 1196s # data1 = g_value_peek_pointer (param_values + 0); 1196s # data2 = closure->data; 1196s # } 1196s # 1196s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1196s # (marshal_data ? marshal_data : cc->callback); 1196s # 1196s # v_return = 1196s # callback (data1, 1196s # g_marshal_value_peek_object (param_values + 1), 1196s # g_marshal_value_peek_int (param_values + 2), 1196s # data2); 1196s # 1196s # g_value_set_boolean (return_value, v_return); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ 1196s # * Code for interface org.project.UsefulInterface 1196s # * ------------------------------------------------------------------------ 1196s # */ 1196s # 1196s # /** 1196s # * SECTION:OrgProjectUsefulInterface 1196s # * @title: OrgProjectUsefulInterface 1196s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1196s # * 1196s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1196s # */ 1196s # 1196s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1196s # 1196s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "arg_n", 1196s # (gchar *) "n", 1196s # NULL 1196s # }, 1196s # FALSE 1196s # }; 1196s # 1196s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1196s # { 1196s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "SingleArgMethodN", 1196s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1196s # NULL, 1196s # NULL 1196s # }, 1196s # "handle-single-arg-method-n", 1196s # FALSE 1196s # }; 1196s # 1196s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1196s # { 1196s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "org.project.UsefulInterface", 1196s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1196s # NULL, 1196s # NULL, 1196s # NULL 1196s # }, 1196s # "org-project-useful-interface", 1196s # }; 1196s # 1196s # 1196s # /** 1196s # * org_project_useful_interface_interface_info: 1196s # * 1196s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1196s # * 1196s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1196s # */ 1196s # GDBusInterfaceInfo * 1196s # org_project_useful_interface_interface_info (void) 1196s # { 1196s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_override_properties: 1196s # * @klass: The class structure for a #GObject derived class. 1196s # * @property_id_begin: The property id to assign to the first overridden property. 1196s # * 1196s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1196s # * The properties are overridden in the order they are defined. 1196s # * 1196s # * Returns: The last property id. 1196s # */ 1196s # guint 1196s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1196s # { 1196s # return property_id_begin - 1; 1196s # } 1196s # 1196s # 1196s # inline static void 1196s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1196s # GClosure *closure, 1196s # GValue *return_value, 1196s # unsigned int n_param_values, 1196s # const GValue *param_values, 1196s # void *invocation_hint, 1196s # void *marshal_data) 1196s # { 1196s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1196s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1196s # } 1196s # 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterface: 1196s # * 1196s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceIface: 1196s # * @parent_iface: The parent interface. 1196s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1196s # * 1196s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1196s # */ 1196s # 1196s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1196s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1196s # 1196s # static void 1196s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1196s # { 1196s # /* GObject signals for incoming D-Bus method calls: */ 1196s # /** 1196s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1196s # * @object: A #OrgProjectUsefulInterface. 1196s # * @invocation: A #GDBusMethodInvocation. 1196s # * @arg_arg_n: Argument passed by remote caller. 1196s # * 1196s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1196s # * 1196s # * 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. 1196s # * 1196s # * 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. 1196s # */ 1196s # g_signal_new ("handle-single-arg-method-n", 1196s # G_TYPE_FROM_INTERFACE (iface), 1196s # G_SIGNAL_RUN_LAST, 1196s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1196s # g_signal_accumulator_true_handled, 1196s # NULL, 1196s # org_project_useful_interface_method_marshal_single_arg_method_n, 1196s # G_TYPE_BOOLEAN, 1196s # 2, 1196s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1196s # 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_n: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @arg_arg_n: Argument to pass with the method invocation. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1196s # */ 1196s # void 1196s # org_project_useful_interface_call_single_arg_method_n ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # gint16 arg_arg_n, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1196s # "SingleArgMethodN", 1196s # g_variant_new ("(n)", 1196s # arg_arg_n), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # cancellable, 1196s # callback, 1196s # user_data); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_n_finish: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1196s # * @error: Return location for error or %NULL. 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1196s # * 1196s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1196s # */ 1196s # gboolean 1196s # org_project_useful_interface_call_single_arg_method_n_finish ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GVariant *_ret; 1196s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1196s # if (_ret == NULL) 1196s # goto _out; 1196s # g_variant_get (_ret, 1196s # "()"); 1196s # g_variant_unref (_ret); 1196s # _out: 1196s # return _ret != NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_n_sync: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @arg_arg_n: Argument to pass with the method invocation. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL. 1196s # * 1196s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1196s # * 1196s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1196s # */ 1196s # gboolean 1196s # org_project_useful_interface_call_single_arg_method_n_sync ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # gint16 arg_arg_n, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GVariant *_ret; 1196s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1196s # "SingleArgMethodN", 1196s # g_variant_new ("(n)", 1196s # arg_arg_n), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # cancellable, 1196s # error); 1196s # if (_ret == NULL) 1196s # goto _out; 1196s # g_variant_get (_ret, 1196s # "()"); 1196s # g_variant_unref (_ret); 1196s # _out: 1196s # return _ret != NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_complete_single_arg_method_n: 1196s # * @object: A #OrgProjectUsefulInterface. 1196s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1196s # * 1196s # * 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. 1196s # * 1196s # * This method will free @invocation, you cannot use it afterwards. 1196s # */ 1196s # void 1196s # org_project_useful_interface_complete_single_arg_method_n ( 1196s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1196s # GDBusMethodInvocation *invocation) 1196s # { 1196s # g_dbus_method_invocation_return_value (invocation, 1196s # g_variant_new ("()")); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceProxy: 1196s # * 1196s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceProxyClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1196s # */ 1196s # 1196s # struct _OrgProjectUsefulInterfaceProxyPrivate 1196s # { 1196s # GData *qdata; 1196s # }; 1196s # 1196s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1196s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # org_project_useful_interface_proxy_finalize (GObject *object) 1196s # { 1196s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1196s # g_datalist_clear (&proxy->priv->qdata); 1196s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1196s # guint prop_id G_GNUC_UNUSED, 1196s # GValue *value G_GNUC_UNUSED, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1196s # guint prop_id G_GNUC_UNUSED, 1196s # const GValue *value G_GNUC_UNUSED, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1196s # const gchar *sender_name G_GNUC_UNUSED, 1196s # const gchar *signal_name, 1196s # GVariant *parameters) 1196s # { 1196s # _ExtendedGDBusSignalInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # gsize n; 1196s # guint signal_id; 1196s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1196s # if (info == NULL) 1196s # return; 1196s # num_params = g_variant_n_children (parameters); 1196s # paramv = g_new0 (GValue, num_params + 1); 1196s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_set_object (¶mv[0], proxy); 1196s # g_variant_iter_init (&iter, parameters); 1196s # n = 1; 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_signal_emitv (paramv, signal_id, 0, NULL); 1196s # for (n = 0; n < num_params + 1; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1196s # GVariant *changed_properties, 1196s # const gchar *const *invalidated_properties) 1196s # { 1196s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1196s # guint n; 1196s # const gchar *key; 1196s # GVariantIter *iter; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # g_variant_get (changed_properties, "a{sv}", &iter); 1196s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1196s # g_datalist_remove_data (&proxy->priv->qdata, key); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # g_variant_iter_free (iter); 1196s # for (n = 0; invalidated_properties[n] != NULL; n++) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1196s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1196s # #else 1196s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1196s # #endif 1196s # 1196s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusProxyClass *proxy_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1196s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1196s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1196s # 1196s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1196s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1196s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # org_project_useful_interface_proxy_new ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_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); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_sync: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_sync ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # org_project_useful_interface_proxy_new_for_bus ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_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); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_for_bus_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus_sync: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_for_bus_sync ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceSkeleton: 1196s # * 1196s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceSkeletonClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1196s # */ 1196s # 1196s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1196s # { 1196s # GValue *properties; 1196s # GList *changed_properties; 1196s # GSource *changed_properties_idle_source; 1196s # GMainContext *context; 1196s # GMutex lock; 1196s # }; 1196s # 1196s # static void 1196s # _org_project_useful_interface_skeleton_handle_method_call ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name, 1196s # const gchar *method_name, 1196s # GVariant *parameters, 1196s # GDBusMethodInvocation *invocation, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # _ExtendedGDBusMethodInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # guint num_extra; 1196s # gsize n; 1196s # guint signal_id; 1196s # GValue return_value = G_VALUE_INIT; 1196s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1196s # g_assert (info != NULL); 1196s # num_params = g_variant_n_children (parameters); 1196s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1196s # n = 0; 1196s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_set_object (¶mv[n++], skeleton); 1196s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1196s # g_value_set_object (¶mv[n++], invocation); 1196s # if (info->pass_fdlist) 1196s # { 1196s # #ifdef G_OS_UNIX 1196s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1196s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1196s # #else 1196s # g_assert_not_reached (); 1196s # #endif 1196s # } 1196s # g_variant_iter_init (&iter, parameters); 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1196s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1196s # if (!g_value_get_boolean (&return_value)) 1196s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1196s # g_value_unset (&return_value); 1196s # for (n = 0; n < num_params + num_extra; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static GVariant * 1196s # _org_project_useful_interface_skeleton_handle_get_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # GVariant *ret; 1196s # ret = NULL; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # g_value_init (&value, pspec->value_type); 1196s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1196s # g_value_unset (&value); 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _org_project_useful_interface_skeleton_handle_set_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GVariant *variant, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # gboolean ret; 1196s # ret = FALSE; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # if (info->use_gvariant) 1196s # g_value_set_variant (&value, variant); 1196s # else 1196s # g_dbus_gvariant_to_gvalue (variant, &value); 1196s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # g_value_unset (&value); 1196s # ret = TRUE; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1196s # { 1196s # _org_project_useful_interface_skeleton_handle_method_call, 1196s # _org_project_useful_interface_skeleton_handle_get_property, 1196s # _org_project_useful_interface_skeleton_handle_set_property, 1196s # {NULL} 1196s # }; 1196s # 1196s # static GDBusInterfaceInfo * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return org_project_useful_interface_interface_info (); 1196s # } 1196s # 1196s # static GDBusInterfaceVTable * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1196s # } 1196s # 1196s # static GVariant * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1196s # 1196s # GVariantBuilder builder; 1196s # guint n; 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1196s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #else 1196s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #endif 1196s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1196s # goto out; 1196s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1196s # { 1196s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1196s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1196s # { 1196s # GVariant *value; 1196s # 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); 1196s # if (value != NULL) 1196s # { 1196s # g_variant_take_ref (value); 1196s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1196s # g_variant_unref (value); 1196s # } 1196s # } 1196s # } 1196s # out: 1196s # return g_variant_builder_end (&builder); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # org_project_useful_interface_skeleton_finalize (GObject *object) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1196s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1196s # if (skeleton->priv->changed_properties_idle_source != NULL) 1196s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1196s # g_main_context_unref (skeleton->priv->context); 1196s # g_mutex_clear (&skeleton->priv->lock); 1196s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1196s # #else 1196s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1196s # #endif 1196s # 1196s # g_mutex_init (&skeleton->priv->lock); 1196s # skeleton->priv->context = g_main_context_ref_thread_default (); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusInterfaceSkeletonClass *skeleton_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1196s # 1196s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1196s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1196s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1196s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1196s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_skeleton_new: 1196s # * 1196s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_skeleton_new (void) 1196s # { 1196s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1196s # } 1196s # /tmp/tmpq19y46iw/tmp3nff9j0z.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq19y46iw/tmp3nff9j0z.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # Output: /* 1196s # * This file is generated by gdbus-codegen, do not modify it. 1196s # * 1196s # * The license of this code is the same as for the D-Bus interface description 1196s # * it was derived from. Note that it links to GLib, so must comply with the 1196s # * LGPL linking clauses. 1196s # */ 1196s # 1196s # #ifdef HAVE_CONFIG_H 1196s # # include "config.h" 1196s # #endif 1196s # 1196s # #include 1196s # #ifdef G_OS_UNIX 1196s # # include 1196s # #endif 1196s # 1196s # #ifdef G_ENABLE_DEBUG 1196s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1196s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1196s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1196s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1196s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1196s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1196s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1196s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1196s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1196s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1196s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1196s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1196s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1196s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1196s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1196s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1196s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1196s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1196s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1196s # #else /* !G_ENABLE_DEBUG */ 1196s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1196s # * Do not access GValues directly in your code. Instead, use the 1196s # * g_value_get_*() functions 1196s # */ 1196s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1196s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1196s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1196s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1196s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1196s # #endif /* !G_ENABLE_DEBUG */ 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusArgInfo parent_struct; 1196s # gboolean use_gvariant; 1196s # } _ExtendedGDBusArgInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusMethodInfo parent_struct; 1196s # const gchar *signal_name; 1196s # gboolean pass_fdlist; 1196s # } _ExtendedGDBusMethodInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusSignalInfo parent_struct; 1196s # const gchar *signal_name; 1196s # } _ExtendedGDBusSignalInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusPropertyInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # guint use_gvariant : 1; 1196s # guint emits_changed_signal : 1; 1196s # } _ExtendedGDBusPropertyInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusInterfaceInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # } _ExtendedGDBusInterfaceInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # guint prop_id; 1196s # GValue orig_value; /* the value before the change */ 1196s # } ChangedProperty; 1196s # 1196s # static void 1196s # _changed_property_free (ChangedProperty *data) 1196s # { 1196s # g_value_unset (&data->orig_value); 1196s # g_free (data); 1196s # } 1196s # 1196s # static gboolean 1196s # _g_strv_equal0 (gchar **a, gchar **b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # guint n; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # if (g_strv_length (a) != g_strv_length (b)) 1196s # goto out; 1196s # for (n = 0; a[n] != NULL; n++) 1196s # if (g_strcmp0 (a[n], b[n]) != 0) 1196s # goto out; 1196s # ret = TRUE; 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _g_variant_equal0 (GVariant *a, GVariant *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # ret = g_variant_equal (a, b); 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # G_GNUC_UNUSED static gboolean 1196s # _g_value_equal (const GValue *a, const GValue *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1196s # switch (G_VALUE_TYPE (a)) 1196s # { 1196s # case G_TYPE_BOOLEAN: 1196s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1196s # break; 1196s # case G_TYPE_UCHAR: 1196s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1196s # break; 1196s # case G_TYPE_INT: 1196s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1196s # break; 1196s # case G_TYPE_UINT: 1196s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1196s # break; 1196s # case G_TYPE_INT64: 1196s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1196s # break; 1196s # case G_TYPE_UINT64: 1196s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1196s # break; 1196s # case G_TYPE_DOUBLE: 1196s # { 1196s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1196s # gdouble da = g_value_get_double (a); 1196s # gdouble db = g_value_get_double (b); 1196s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1196s # } 1196s # break; 1196s # case G_TYPE_STRING: 1196s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1196s # break; 1196s # case G_TYPE_VARIANT: 1196s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1196s # break; 1196s # default: 1196s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1196s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1196s # else 1196s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1196s # break; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static void 1196s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1196s # GClosure *closure, 1196s # GValue *return_value, 1196s # unsigned int n_param_values, 1196s # const GValue *param_values, 1196s # void *invocation_hint G_GNUC_UNUSED, 1196s # void *marshal_data) 1196s # { 1196s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1196s # (void *data1, 1196s # GDBusMethodInvocation *arg_method_invocation, 1196s # guint16 arg_arg_q, 1196s # void *data2); 1196s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1196s # GCClosure *cc = (GCClosure*) closure; 1196s # void *data1, *data2; 1196s # gboolean v_return; 1196s # 1196s # g_return_if_fail (return_value != NULL); 1196s # g_return_if_fail (n_param_values == 3); 1196s # 1196s # if (G_CCLOSURE_SWAP_DATA (closure)) 1196s # { 1196s # data1 = closure->data; 1196s # data2 = g_value_peek_pointer (param_values + 0); 1196s # } 1196s # else 1196s # { 1196s # data1 = g_value_peek_pointer (param_values + 0); 1196s # data2 = closure->data; 1196s # } 1196s # 1196s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1196s # (marshal_data ? marshal_data : cc->callback); 1196s # 1196s # v_return = 1196s # callback (data1, 1196s # g_marshal_value_peek_object (param_values + 1), 1196s # g_marshal_value_peek_uint (param_values + 2), 1196s # data2); 1196s # 1196s # g_value_set_boolean (return_value, v_return); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ 1196s # * Code for interface org.project.UsefulInterface 1196s # * ------------------------------------------------------------------------ 1196s # */ 1196s # 1196s # /** 1196s # * SECTION:OrgProjectUsefulInterface 1196s # * @title: OrgProjectUsefulInterface 1196s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1196s # * 1196s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1196s # */ 1196s # 1196s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1196s # 1196s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "arg_q", 1196s # (gchar *) "q", 1196s # NULL 1196s # }, 1196s # FALSE 1196s # }; 1196s # 1196s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1196s # { 1196s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "SingleArgMethodQ", 1196s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1196s # NULL, 1196s # NULL 1196s # }, 1196s # "handle-single-arg-method-q", 1196s # FALSE 1196s # }; 1196s # 1196s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1196s # { 1196s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "org.project.UsefulInterface", 1196s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1196s # NULL, 1196s # NULL, 1196s # NULL 1196s # }, 1196s # "org-project-useful-interface", 1196s # }; 1196s # 1196s # 1196s # /** 1196s # * org_project_useful_interface_interface_info: 1196s # * 1196s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1196s # * 1196s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1196s # */ 1196s # GDBusInterfaceInfo * 1196s # org_project_useful_interface_interface_info (void) 1196s # { 1196s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_override_properties: 1196s # * @klass: The class structure for a #GObject derived class. 1196s # * @property_id_begin: The property id to assign to the first overridden property. 1196s # * 1196s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1196s # * The properties are overridden in the order they are defined. 1196s # * 1196s # * Returns: The last property id. 1196s # */ 1196s # guint 1196s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1196s # { 1196s # return property_id_begin - 1; 1196s # } 1196s # 1196s # 1196s # inline static void 1196s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1196s # GClosure *closure, 1196s # GValue *return_value, 1196s # unsigned int n_param_values, 1196s # const GValue *param_values, 1196s # void *invocation_hint, 1196s # void *marshal_data) 1196s # { 1196s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1196s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1196s # } 1196s # 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterface: 1196s # * 1196s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceIface: 1196s # * @parent_iface: The parent interface. 1196s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1196s # * 1196s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1196s # */ 1196s # 1196s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1196s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1196s # 1196s # static void 1196s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1196s # { 1196s # /* GObject signals for incoming D-Bus method calls: */ 1196s # /** 1196s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1196s # * @object: A #OrgProjectUsefulInterface. 1196s # * @invocation: A #GDBusMethodInvocation. 1196s # * @arg_arg_q: Argument passed by remote caller. 1196s # * 1196s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1196s # * 1196s # * 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. 1196s # * 1196s # * 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. 1196s # */ 1196s # g_signal_new ("handle-single-arg-method-q", 1196s # G_TYPE_FROM_INTERFACE (iface), 1196s # G_SIGNAL_RUN_LAST, 1196s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1196s # g_signal_accumulator_true_handled, 1196s # NULL, 1196s # org_project_useful_interface_method_marshal_single_arg_method_q, 1196s # G_TYPE_BOOLEAN, 1196s # 2, 1196s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1196s # 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_q: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @arg_arg_q: Argument to pass with the method invocation. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1196s # */ 1196s # void 1196s # org_project_useful_interface_call_single_arg_method_q ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # guint16 arg_arg_q, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1196s # "SingleArgMethodQ", 1196s # g_variant_new ("(q)", 1196s # arg_arg_q), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # cancellable, 1196s # callback, 1196s # user_data); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_q_finish: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1196s # * @error: Return location for error or %NULL. 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1196s # * 1196s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1196s # */ 1196s # gboolean 1196s # org_project_useful_interface_call_single_arg_method_q_finish ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GVariant *_ret; 1196s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1196s # if (_ret == NULL) 1196s # goto _out; 1196s # g_variant_get (_ret, 1196s # "()"); 1196s # g_variant_unref (_ret); 1196s # _out: 1196s # return _ret != NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_q_sync: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @arg_arg_q: Argument to pass with the method invocation. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL. 1196s # * 1196s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1196s # * 1196s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1196s # */ 1196s # gboolean 1196s # org_project_useful_interface_call_single_arg_method_q_sync ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # guint16 arg_arg_q, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GVariant *_ret; 1196s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1196s # "SingleArgMethodQ", 1196s # g_variant_new ("(q)", 1196s # arg_arg_q), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # cancellable, 1196s # error); 1196s # if (_ret == NULL) 1196s # goto _out; 1196s # g_variant_get (_ret, 1196s # "()"); 1196s # g_variant_unref (_ret); 1196s # _out: 1196s # return _ret != NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_complete_single_arg_method_q: 1196s # * @object: A #OrgProjectUsefulInterface. 1196s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1196s # * 1196s # * 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. 1196s # * 1196s # * This method will free @invocation, you cannot use it afterwards. 1196s # */ 1196s # void 1196s # org_project_useful_interface_complete_single_arg_method_q ( 1196s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1196s # GDBusMethodInvocation *invocation) 1196s # { 1196s # g_dbus_method_invocation_return_value (invocation, 1196s # g_variant_new ("()")); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceProxy: 1196s # * 1196s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceProxyClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1196s # */ 1196s # 1196s # struct _OrgProjectUsefulInterfaceProxyPrivate 1196s # { 1196s # GData *qdata; 1196s # }; 1196s # 1196s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1196s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # org_project_useful_interface_proxy_finalize (GObject *object) 1196s # { 1196s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1196s # g_datalist_clear (&proxy->priv->qdata); 1196s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1196s # guint prop_id G_GNUC_UNUSED, 1196s # GValue *value G_GNUC_UNUSED, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1196s # guint prop_id G_GNUC_UNUSED, 1196s # const GValue *value G_GNUC_UNUSED, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1196s # const gchar *sender_name G_GNUC_UNUSED, 1196s # const gchar *signal_name, 1196s # GVariant *parameters) 1196s # { 1196s # _ExtendedGDBusSignalInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # gsize n; 1196s # guint signal_id; 1196s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1196s # if (info == NULL) 1196s # return; 1196s # num_params = g_variant_n_children (parameters); 1196s # paramv = g_new0 (GValue, num_params + 1); 1196s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_set_object (¶mv[0], proxy); 1196s # g_variant_iter_init (&iter, parameters); 1196s # n = 1; 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_signal_emitv (paramv, signal_id, 0, NULL); 1196s # for (n = 0; n < num_params + 1; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1196s # GVariant *changed_properties, 1196s # const gchar *const *invalidated_properties) 1196s # { 1196s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1196s # guint n; 1196s # const gchar *key; 1196s # GVariantIter *iter; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # g_variant_get (changed_properties, "a{sv}", &iter); 1196s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1196s # g_datalist_remove_data (&proxy->priv->qdata, key); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # g_variant_iter_free (iter); 1196s # for (n = 0; invalidated_properties[n] != NULL; n++) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1196s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1196s # #else 1196s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1196s # #endif 1196s # 1196s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusProxyClass *proxy_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1196s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1196s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1196s # 1196s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1196s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1196s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # org_project_useful_interface_proxy_new ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_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); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_sync: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_sync ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # org_project_useful_interface_proxy_new_for_bus ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_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); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_for_bus_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus_sync: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_for_bus_sync ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceSkeleton: 1196s # * 1196s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceSkeletonClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1196s # */ 1196s # 1196s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1196s # { 1196s # GValue *properties; 1196s # GList *changed_properties; 1196s # GSource *changed_properties_idle_source; 1196s # GMainContext *context; 1196s # GMutex lock; 1196s # }; 1196s # 1196s # static void 1196s # _org_project_useful_interface_skeleton_handle_method_call ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name, 1196s # const gchar *method_name, 1196s # GVariant *parameters, 1196s # GDBusMethodInvocation *invocation, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # _ExtendedGDBusMethodInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # guint num_extra; 1196s # gsize n; 1196s # guint signal_id; 1196s # GValue return_value = G_VALUE_INIT; 1196s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1196s # g_assert (info != NULL); 1196s # num_params = g_variant_n_children (parameters); 1196s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1196s # n = 0; 1196s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_set_object (¶mv[n++], skeleton); 1196s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1196s # g_value_set_object (¶mv[n++], invocation); 1196s # if (info->pass_fdlist) 1196s # { 1196s # #ifdef G_OS_UNIX 1196s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1196s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1196s # #else 1196s # g_assert_not_reached (); 1196s # #endif 1196s # } 1196s # g_variant_iter_init (&iter, parameters); 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1196s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1196s # if (!g_value_get_boolean (&return_value)) 1196s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1196s # g_value_unset (&return_value); 1196s # for (n = 0; n < num_params + num_extra; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static GVariant * 1196s # _org_project_useful_interface_skeleton_handle_get_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # GVariant *ret; 1196s # ret = NULL; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # g_value_init (&value, pspec->value_type); 1196s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1196s # g_value_unset (&value); 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _org_project_useful_interface_skeleton_handle_set_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GVariant *variant, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # gboolean ret; 1196s # ret = FALSE; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # if (info->use_gvariant) 1196s # g_value_set_variant (&value, variant); 1196s # else 1196s # g_dbus_gvariant_to_gvalue (variant, &value); 1196s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # g_value_unset (&value); 1196s # ret = TRUE; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1196s # { 1196s # _org_project_useful_interface_skeleton_handle_method_call, 1196s # _org_project_useful_interface_skeleton_handle_get_property, 1196s # _org_project_useful_interface_skeleton_handle_set_property, 1196s # {NULL} 1196s # }; 1196s # 1196s # static GDBusInterfaceInfo * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return org_project_useful_interface_interface_info (); 1196s # } 1196s # 1196s # static GDBusInterfaceVTable * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1196s # } 1196s # 1196s # static GVariant * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1196s # 1196s # GVariantBuilder builder; 1196s # guint n; 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1196s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #else 1196s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #endif 1196s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1196s # goto out; 1196s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1196s # { 1196s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1196s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1196s # { 1196s # GVariant *value; 1196s # 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); 1196s # if (value != NULL) 1196s # { 1196s # g_variant_take_ref (value); 1196s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1196s # g_variant_unref (value); 1196s # } 1196s # } 1196s # } 1196s # out: 1196s # return g_variant_builder_end (&builder); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # org_project_useful_interface_skeleton_finalize (GObject *object) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1196s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1196s # if (skeleton->priv->changed_properties_idle_source != NULL) 1196s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1196s # g_main_context_unref (skeleton->priv->context); 1196s # g_mutex_clear (&skeleton->priv->lock); 1196s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1196s # #else 1196s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1196s # #endif 1196s # 1196s # g_mutex_init (&skeleton->priv->lock); 1196s # skeleton->priv->context = g_main_context_ref_thread_default (); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusInterfaceSkeletonClass *skeleton_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1196s # 1196s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1196s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1196s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1196s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1196s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_skeleton_new: 1196s # * 1196s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_skeleton_new (void) 1196s # { 1196s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1196s # } 1196s # /tmp/tmpq19y46iw/tmp6l8kesfw.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq19y46iw/tmp6l8kesfw.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # Output: /* 1196s # * This file is generated by gdbus-codegen, do not modify it. 1196s # * 1196s # * The license of this code is the same as for the D-Bus interface description 1196s # * it was derived from. Note that it links to GLib, so must comply with the 1196s # * LGPL linking clauses. 1196s # */ 1196s # 1196s # #ifdef HAVE_CONFIG_H 1196s # # include "config.h" 1196s # #endif 1196s # 1196s # #include 1196s # #ifdef G_OS_UNIX 1196s # # include 1196s # #endif 1196s # 1196s # #ifdef G_ENABLE_DEBUG 1196s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1196s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1196s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1196s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1196s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1196s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1196s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1196s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1196s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1196s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1196s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1196s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1196s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1196s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1196s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1196s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1196s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1196s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1196s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1196s # #else /* !G_ENABLE_DEBUG */ 1196s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1196s # * Do not access GValues directly in your code. Instead, use the 1196s # * g_value_get_*() functions 1196s # */ 1196s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1196s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1196s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1196s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1196s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1196s # #endif /* !G_ENABLE_DEBUG */ 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusArgInfo parent_struct; 1196s # gboolean use_gvariant; 1196s # } _ExtendedGDBusArgInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusMethodInfo parent_struct; 1196s # const gchar *signal_name; 1196s # gboolean pass_fdlist; 1196s # } _ExtendedGDBusMethodInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusSignalInfo parent_struct; 1196s # const gchar *signal_name; 1196s # } _ExtendedGDBusSignalInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusPropertyInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # guint use_gvariant : 1; 1196s # guint emits_changed_signal : 1; 1196s # } _ExtendedGDBusPropertyInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusInterfaceInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # } _ExtendedGDBusInterfaceInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # guint prop_id; 1196s # GValue orig_value; /* the value before the change */ 1196s # } ChangedProperty; 1196s # 1196s # static void 1196s # _changed_property_free (ChangedProperty *data) 1196s # { 1196s # g_value_unset (&data->orig_value); 1196s # g_free (data); 1196s # } 1196s # 1196s # static gboolean 1196s # _g_strv_equal0 (gchar **a, gchar **b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # guint n; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # if (g_strv_length (a) != g_strv_length (b)) 1196s # goto out; 1196s # for (n = 0; a[n] != NULL; n++) 1196s # if (g_strcmp0 (a[n], b[n]) != 0) 1196s # goto out; 1196s # ret = TRUE; 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _g_variant_equal0 (GVariant *a, GVariant *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # ret = g_variant_equal (a, b); 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # G_GNUC_UNUSED static gboolean 1196s # _g_value_equal (const GValue *a, const GValue *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1196s # switch (G_VALUE_TYPE (a)) 1196s # { 1196s # case G_TYPE_BOOLEAN: 1196s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1196s # break; 1196s # case G_TYPE_UCHAR: 1196s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1196s # break; 1196s # case G_TYPE_INT: 1196s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1196s # break; 1196s # case G_TYPE_UINT: 1196s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1196s # break; 1196s # case G_TYPE_INT64: 1196s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1196s # break; 1196s # case G_TYPE_UINT64: 1196s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1196s # break; 1196s # case G_TYPE_DOUBLE: 1196s # { 1196s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1196s # gdouble da = g_value_get_double (a); 1196s # gdouble db = g_value_get_double (b); 1196s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1196s # } 1196s # break; 1196s # case G_TYPE_STRING: 1196s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1196s # break; 1196s # case G_TYPE_VARIANT: 1196s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1196s # break; 1196s # default: 1196s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1196s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1196s # else 1196s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1196s # break; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static void 1196s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1196s # GClosure *closure, 1196s # GValue *return_value, 1196s # unsigned int n_param_values, 1196s # const GValue *param_values, 1196s # void *invocation_hint G_GNUC_UNUSED, 1196s # void *marshal_data) 1196s # { 1196s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1196s # (void *data1, 1196s # GDBusMethodInvocation *arg_method_invocation, 1196s # gint arg_arg_i, 1196s # void *data2); 1196s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1196s # GCClosure *cc = (GCClosure*) closure; 1196s # void *data1, *data2; 1196s # gboolean v_return; 1196s # 1196s # g_return_if_fail (return_value != NULL); 1196s # g_return_if_fail (n_param_values == 3); 1196s # 1196s # if (G_CCLOSURE_SWAP_DATA (closure)) 1196s # { 1196s # data1 = closure->data; 1196s # data2 = g_value_peek_pointer (param_values + 0); 1196s # } 1196s # else 1196s # { 1196s # data1 = g_value_peek_pointer (param_values + 0); 1196s # data2 = closure->data; 1196s # } 1196s # 1196s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1196s # (marshal_data ? marshal_data : cc->callback); 1196s # 1196s # v_return = 1196s # callback (data1, 1196s # g_marshal_value_peek_object (param_values + 1), 1196s # g_marshal_value_peek_int (param_values + 2), 1196s # data2); 1196s # 1196s # g_value_set_boolean (return_value, v_return); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ 1196s # * Code for interface org.project.UsefulInterface 1196s # * ------------------------------------------------------------------------ 1196s # */ 1196s # 1196s # /** 1196s # * SECTION:OrgProjectUsefulInterface 1196s # * @title: OrgProjectUsefulInterface 1196s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1196s # * 1196s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1196s # */ 1196s # 1196s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1196s # 1196s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "arg_i", 1196s # (gchar *) "i", 1196s # NULL 1196s # }, 1196s # FALSE 1196s # }; 1196s # 1196s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1196s # { 1196s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "SingleArgMethodI", 1196s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1196s # NULL, 1196s # NULL 1196s # }, 1196s # "handle-single-arg-method-i", 1196s # FALSE 1196s # }; 1196s # 1196s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1196s # { 1196s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "org.project.UsefulInterface", 1196s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1196s # NULL, 1196s # NULL, 1196s # NULL 1196s # }, 1196s # "org-project-useful-interface", 1196s # }; 1196s # 1196s # 1196s # /** 1196s # * org_project_useful_interface_interface_info: 1196s # * 1196s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1196s # * 1196s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1196s # */ 1196s # GDBusInterfaceInfo * 1196s # org_project_useful_interface_interface_info (void) 1196s # { 1196s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_override_properties: 1196s # * @klass: The class structure for a #GObject derived class. 1196s # * @property_id_begin: The property id to assign to the first overridden property. 1196s # * 1196s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1196s # * The properties are overridden in the order they are defined. 1196s # * 1196s # * Returns: The last property id. 1196s # */ 1196s # guint 1196s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1196s # { 1196s # return property_id_begin - 1; 1196s # } 1196s # 1196s # 1196s # inline static void 1196s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1196s # GClosure *closure, 1196s # GValue *return_value, 1196s # unsigned int n_param_values, 1196s # const GValue *param_values, 1196s # void *invocation_hint, 1196s # void *marshal_data) 1196s # { 1196s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1196s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1196s # } 1196s # 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterface: 1196s # * 1196s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceIface: 1196s # * @parent_iface: The parent interface. 1196s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1196s # * 1196s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1196s # */ 1196s # 1196s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1196s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1196s # 1196s # static void 1196s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1196s # { 1196s # /* GObject signals for incoming D-Bus method calls: */ 1196s # /** 1196s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1196s # * @object: A #OrgProjectUsefulInterface. 1196s # * @invocation: A #GDBusMethodInvocation. 1196s # * @arg_arg_i: Argument passed by remote caller. 1196s # * 1196s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1196s # * 1196s # * 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. 1196s # * 1196s # * 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. 1196s # */ 1196s # g_signal_new ("handle-single-arg-method-i", 1196s # G_TYPE_FROM_INTERFACE (iface), 1196s # G_SIGNAL_RUN_LAST, 1196s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1196s # g_signal_accumulator_true_handled, 1196s # NULL, 1196s # org_project_useful_interface_method_marshal_single_arg_method_i, 1196s # G_TYPE_BOOLEAN, 1196s # 2, 1196s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1196s # 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_i: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @arg_arg_i: Argument to pass with the method invocation. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1196s # */ 1196s # void 1196s # org_project_useful_interface_call_single_arg_method_i ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # gint arg_arg_i, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1196s # "SingleArgMethodI", 1196s # g_variant_new ("(i)", 1196s # arg_arg_i), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # cancellable, 1196s # callback, 1196s # user_data); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_i_finish: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1196s # * @error: Return location for error or %NULL. 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1196s # * 1196s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1196s # */ 1196s # gboolean 1196s # org_project_useful_interface_call_single_arg_method_i_finish ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GVariant *_ret; 1196s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1196s # if (_ret == NULL) 1196s # goto _out; 1196s # g_variant_get (_ret, 1196s # "()"); 1196s # g_variant_unref (_ret); 1196s # _out: 1196s # return _ret != NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_i_sync: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @arg_arg_i: Argument to pass with the method invocation. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL. 1196s # * 1196s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1196s # * 1196s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1196s # */ 1196s # gboolean 1196s # org_project_useful_interface_call_single_arg_method_i_sync ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # gint arg_arg_i, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GVariant *_ret; 1196s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1196s # "SingleArgMethodI", 1196s # g_variant_new ("(i)", 1196s # arg_arg_i), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # cancellable, 1196s # error); 1196s # if (_ret == NULL) 1196s # goto _out; 1196s # g_variant_get (_ret, 1196s # "()"); 1196s # g_variant_unref (_ret); 1196s # _out: 1196s # return _ret != NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_complete_single_arg_method_i: 1196s # * @object: A #OrgProjectUsefulInterface. 1196s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1196s # * 1196s # * 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. 1196s # * 1196s # * This method will free @invocation, you cannot use it afterwards. 1196s # */ 1196s # void 1196s # org_project_useful_interface_complete_single_arg_method_i ( 1196s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1196s # GDBusMethodInvocation *invocation) 1196s # { 1196s # g_dbus_method_invocation_return_value (invocation, 1196s # g_variant_new ("()")); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceProxy: 1196s # * 1196s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceProxyClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1196s # */ 1196s # 1196s # struct _OrgProjectUsefulInterfaceProxyPrivate 1196s # { 1196s # GData *qdata; 1196s # }; 1196s # 1196s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1196s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # org_project_useful_interface_proxy_finalize (GObject *object) 1196s # { 1196s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1196s # g_datalist_clear (&proxy->priv->qdata); 1196s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1196s # guint prop_id G_GNUC_UNUSED, 1196s # GValue *value G_GNUC_UNUSED, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1196s # guint prop_id G_GNUC_UNUSED, 1196s # const GValue *value G_GNUC_UNUSED, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1196s # const gchar *sender_name G_GNUC_UNUSED, 1196s # const gchar *signal_name, 1196s # GVariant *parameters) 1196s # { 1196s # _ExtendedGDBusSignalInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # gsize n; 1196s # guint signal_id; 1196s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1196s # if (info == NULL) 1196s # return; 1196s # num_params = g_variant_n_children (parameters); 1196s # paramv = g_new0 (GValue, num_params + 1); 1196s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_set_object (¶mv[0], proxy); 1196s # g_variant_iter_init (&iter, parameters); 1196s # n = 1; 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_signal_emitv (paramv, signal_id, 0, NULL); 1196s # for (n = 0; n < num_params + 1; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1196s # GVariant *changed_properties, 1196s # const gchar *const *invalidated_properties) 1196s # { 1196s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1196s # guint n; 1196s # const gchar *key; 1196s # GVariantIter *iter; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # g_variant_get (changed_properties, "a{sv}", &iter); 1196s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1196s # g_datalist_remove_data (&proxy->priv->qdata, key); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # g_variant_iter_free (iter); 1196s # for (n = 0; invalidated_properties[n] != NULL; n++) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1196s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1196s # #else 1196s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1196s # #endif 1196s # 1196s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusProxyClass *proxy_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1196s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1196s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1196s # 1196s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1196s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1196s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # org_project_useful_interface_proxy_new ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_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); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_sync: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_sync ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # org_project_useful_interface_proxy_new_for_bus ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_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); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_for_bus_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus_sync: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_for_bus_sync ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceSkeleton: 1196s # * 1196s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceSkeletonClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1196s # */ 1196s # 1196s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1196s # { 1196s # GValue *properties; 1196s # GList *changed_properties; 1196s # GSource *changed_properties_idle_source; 1196s # GMainContext *context; 1196s # GMutex lock; 1196s # }; 1196s # 1196s # static void 1196s # _org_project_useful_interface_skeleton_handle_method_call ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name, 1196s # const gchar *method_name, 1196s # GVariant *parameters, 1196s # GDBusMethodInvocation *invocation, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # _ExtendedGDBusMethodInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # guint num_extra; 1196s # gsize n; 1196s # guint signal_id; 1196s # GValue return_value = G_VALUE_INIT; 1196s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1196s # g_assert (info != NULL); 1196s # num_params = g_variant_n_children (parameters); 1196s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1196s # n = 0; 1196s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_set_object (¶mv[n++], skeleton); 1196s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1196s # g_value_set_object (¶mv[n++], invocation); 1196s # if (info->pass_fdlist) 1196s # { 1196s # #ifdef G_OS_UNIX 1196s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1196s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1196s # #else 1196s # g_assert_not_reached (); 1196s # #endif 1196s # } 1196s # g_variant_iter_init (&iter, parameters); 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1196s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1196s # if (!g_value_get_boolean (&return_value)) 1196s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1196s # g_value_unset (&return_value); 1196s # for (n = 0; n < num_params + num_extra; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static GVariant * 1196s # _org_project_useful_interface_skeleton_handle_get_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # GVariant *ret; 1196s # ret = NULL; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # g_value_init (&value, pspec->value_type); 1196s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1196s # g_value_unset (&value); 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _org_project_useful_interface_skeleton_handle_set_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GVariant *variant, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # gboolean ret; 1196s # ret = FALSE; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # if (info->use_gvariant) 1196s # g_value_set_variant (&value, variant); 1196s # else 1196s # g_dbus_gvariant_to_gvalue (variant, &value); 1196s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # g_value_unset (&value); 1196s # ret = TRUE; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1196s # { 1196s # _org_project_useful_interface_skeleton_handle_method_call, 1196s # _org_project_useful_interface_skeleton_handle_get_property, 1196s # _org_project_useful_interface_skeleton_handle_set_property, 1196s # {NULL} 1196s # }; 1196s # 1196s # static GDBusInterfaceInfo * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return org_project_useful_interface_interface_info (); 1196s # } 1196s # 1196s # static GDBusInterfaceVTable * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1196s # } 1196s # 1196s # static GVariant * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1196s # 1196s # GVariantBuilder builder; 1196s # guint n; 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1196s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #else 1196s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #endif 1196s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1196s # goto out; 1196s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1196s # { 1196s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1196s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1196s # { 1196s # GVariant *value; 1196s # 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); 1196s # if (value != NULL) 1196s # { 1196s # g_variant_take_ref (value); 1196s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1196s # g_variant_unref (value); 1196s # } 1196s # } 1196s # } 1196s # out: 1196s # return g_variant_builder_end (&builder); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # org_project_useful_interface_skeleton_finalize (GObject *object) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1196s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1196s # if (skeleton->priv->changed_properties_idle_source != NULL) 1196s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1196s # g_main_context_unref (skeleton->priv->context); 1196s # g_mutex_clear (&skeleton->priv->lock); 1196s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1196s # #else 1196s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1196s # #endif 1196s # 1196s # g_mutex_init (&skeleton->priv->lock); 1196s # skeleton->priv->context = g_main_context_ref_thread_default (); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusInterfaceSkeletonClass *skeleton_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1196s # 1196s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1196s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1196s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1196s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1196s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_skeleton_new: 1196s # * 1196s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_skeleton_new (void) 1196s # { 1196s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1196s # } 1196s # /tmp/tmpq19y46iw/tmpydugipcn.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq19y46iw/tmpydugipcn.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # Output: /* 1196s # * This file is generated by gdbus-codegen, do not modify it. 1196s # * 1196s # * The license of this code is the same as for the D-Bus interface description 1196s # * it was derived from. Note that it links to GLib, so must comply with the 1196s # * LGPL linking clauses. 1196s # */ 1196s # 1196s # #ifdef HAVE_CONFIG_H 1196s # # include "config.h" 1196s # #endif 1196s # 1196s # #include 1196s # #ifdef G_OS_UNIX 1196s # # include 1196s # #endif 1196s # 1196s # #ifdef G_ENABLE_DEBUG 1196s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1196s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1196s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1196s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1196s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1196s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1196s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1196s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1196s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1196s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1196s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1196s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1196s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1196s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1196s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1196s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1196s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1196s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1196s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1196s # #else /* !G_ENABLE_DEBUG */ 1196s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1196s # * Do not access GValues directly in your code. Instead, use the 1196s # * g_value_get_*() functions 1196s # */ 1196s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1196s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1196s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1196s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1196s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1196s # #endif /* !G_ENABLE_DEBUG */ 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusArgInfo parent_struct; 1196s # gboolean use_gvariant; 1196s # } _ExtendedGDBusArgInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusMethodInfo parent_struct; 1196s # const gchar *signal_name; 1196s # gboolean pass_fdlist; 1196s # } _ExtendedGDBusMethodInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusSignalInfo parent_struct; 1196s # const gchar *signal_name; 1196s # } _ExtendedGDBusSignalInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusPropertyInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # guint use_gvariant : 1; 1196s # guint emits_changed_signal : 1; 1196s # } _ExtendedGDBusPropertyInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusInterfaceInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # } _ExtendedGDBusInterfaceInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # guint prop_id; 1196s # GValue orig_value; /* the value before the change */ 1196s # } ChangedProperty; 1196s # 1196s # static void 1196s # _changed_property_free (ChangedProperty *data) 1196s # { 1196s # g_value_unset (&data->orig_value); 1196s # g_free (data); 1196s # } 1196s # 1196s # static gboolean 1196s # _g_strv_equal0 (gchar **a, gchar **b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # guint n; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # if (g_strv_length (a) != g_strv_length (b)) 1196s # goto out; 1196s # for (n = 0; a[n] != NULL; n++) 1196s # if (g_strcmp0 (a[n], b[n]) != 0) 1196s # goto out; 1196s # ret = TRUE; 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _g_variant_equal0 (GVariant *a, GVariant *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # ret = g_variant_equal (a, b); 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # G_GNUC_UNUSED static gboolean 1196s # _g_value_equal (const GValue *a, const GValue *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1196s # switch (G_VALUE_TYPE (a)) 1196s # { 1196s # case G_TYPE_BOOLEAN: 1196s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1196s # break; 1196s # case G_TYPE_UCHAR: 1196s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1196s # break; 1196s # case G_TYPE_INT: 1196s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1196s # break; 1196s # case G_TYPE_UINT: 1196s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1196s # break; 1196s # case G_TYPE_INT64: 1196s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1196s # break; 1196s # case G_TYPE_UINT64: 1196s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1196s # break; 1196s # case G_TYPE_DOUBLE: 1196s # { 1196s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1196s # gdouble da = g_value_get_double (a); 1196s # gdouble db = g_value_get_double (b); 1196s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1196s # } 1196s # break; 1196s # case G_TYPE_STRING: 1196s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1196s # break; 1196s # case G_TYPE_VARIANT: 1196s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1196s # break; 1196s # default: 1196s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1196s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1196s # else 1196s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1196s # break; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static void 1196s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1196s # GClosure *closure, 1196s # GValue *return_value, 1196s # unsigned int n_param_values, 1196s # const GValue *param_values, 1196s # void *invocation_hint G_GNUC_UNUSED, 1196s # void *marshal_data) 1196s # { 1196s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1196s # (void *data1, 1196s # GDBusMethodInvocation *arg_method_invocation, 1196s # guint arg_arg_u, 1196s # void *data2); 1196s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1196s # GCClosure *cc = (GCClosure*) closure; 1196s # void *data1, *data2; 1196s # gboolean v_return; 1196s # 1196s # g_return_if_fail (return_value != NULL); 1196s # g_return_if_fail (n_param_values == 3); 1196s # 1196s # if (G_CCLOSURE_SWAP_DATA (closure)) 1196s # { 1196s # data1 = closure->data; 1196s # data2 = g_value_peek_pointer (param_values + 0); 1196s # } 1196s # else 1196s # { 1196s # data1 = g_value_peek_pointer (param_values + 0); 1196s # data2 = closure->data; 1196s # } 1196s # 1196s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1196s # (marshal_data ? marshal_data : cc->callback); 1196s # 1196s # v_return = 1196s # callback (data1, 1196s # g_marshal_value_peek_object (param_values + 1), 1196s # g_marshal_value_peek_uint (param_values + 2), 1196s # data2); 1196s # 1196s # g_value_set_boolean (return_value, v_return); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ 1196s # * Code for interface org.project.UsefulInterface 1196s # * ------------------------------------------------------------------------ 1196s # */ 1196s # 1196s # /** 1196s # * SECTION:OrgProjectUsefulInterface 1196s # * @title: OrgProjectUsefulInterface 1196s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1196s # * 1196s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1196s # */ 1196s # 1196s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1196s # 1196s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "arg_u", 1196s # (gchar *) "u", 1196s # NULL 1196s # }, 1196s # FALSE 1196s # }; 1196s # 1196s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1196s # { 1196s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "SingleArgMethodU", 1196s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1196s # NULL, 1196s # NULL 1196s # }, 1196s # "handle-single-arg-method-u", 1196s # FALSE 1196s # }; 1196s # 1196s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1196s # { 1196s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "org.project.UsefulInterface", 1196s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1196s # NULL, 1196s # NULL, 1196s # NULL 1196s # }, 1196s # "org-project-useful-interface", 1196s # }; 1196s # 1196s # 1196s # /** 1196s # * org_project_useful_interface_interface_info: 1196s # * 1196s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1196s # * 1196s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1196s # */ 1196s # GDBusInterfaceInfo * 1196s # org_project_useful_interface_interface_info (void) 1196s # { 1196s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_override_properties: 1196s # * @klass: The class structure for a #GObject derived class. 1196s # * @property_id_begin: The property id to assign to the first overridden property. 1196s # * 1196s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1196s # * The properties are overridden in the order they are defined. 1196s # * 1196s # * Returns: The last property id. 1196s # */ 1196s # guint 1196s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1196s # { 1196s # return property_id_begin - 1; 1196s # } 1196s # 1196s # 1196s # inline static void 1196s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1196s # GClosure *closure, 1196s # GValue *return_value, 1196s # unsigned int n_param_values, 1196s # const GValue *param_values, 1196s # void *invocation_hint, 1196s # void *marshal_data) 1196s # { 1196s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1196s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1196s # } 1196s # 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterface: 1196s # * 1196s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceIface: 1196s # * @parent_iface: The parent interface. 1196s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1196s # * 1196s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1196s # */ 1196s # 1196s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1196s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1196s # 1196s # static void 1196s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1196s # { 1196s # /* GObject signals for incoming D-Bus method calls: */ 1196s # /** 1196s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1196s # * @object: A #OrgProjectUsefulInterface. 1196s # * @invocation: A #GDBusMethodInvocation. 1196s # * @arg_arg_u: Argument passed by remote caller. 1196s # * 1196s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1196s # * 1196s # * 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. 1196s # * 1196s # * 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. 1196s # */ 1196s # g_signal_new ("handle-single-arg-method-u", 1196s # G_TYPE_FROM_INTERFACE (iface), 1196s # G_SIGNAL_RUN_LAST, 1196s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1196s # g_signal_accumulator_true_handled, 1196s # NULL, 1196s # org_project_useful_interface_method_marshal_single_arg_method_u, 1196s # G_TYPE_BOOLEAN, 1196s # 2, 1196s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1196s # 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_u: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @arg_arg_u: Argument to pass with the method invocation. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1196s # */ 1196s # void 1196s # org_project_useful_interface_call_single_arg_method_u ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # guint arg_arg_u, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1196s # "SingleArgMethodU", 1196s # g_variant_new ("(u)", 1196s # arg_arg_u), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # cancellable, 1196s # callback, 1196s # user_data); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_u_finish: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1196s # * @error: Return location for error or %NULL. 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1196s # * 1196s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1196s # */ 1196s # gboolean 1196s # org_project_useful_interface_call_single_arg_method_u_finish ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GVariant *_ret; 1196s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1196s # if (_ret == NULL) 1196s # goto _out; 1196s # g_variant_get (_ret, 1196s # "()"); 1196s # g_variant_unref (_ret); 1196s # _out: 1196s # return _ret != NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_u_sync: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @arg_arg_u: Argument to pass with the method invocation. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL. 1196s # * 1196s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1196s # * 1196s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1196s # */ 1196s # gboolean 1196s # org_project_useful_interface_call_single_arg_method_u_sync ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # guint arg_arg_u, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GVariant *_ret; 1196s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1196s # "SingleArgMethodU", 1196s # g_variant_new ("(u)", 1196s # arg_arg_u), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # cancellable, 1196s # error); 1196s # if (_ret == NULL) 1196s # goto _out; 1196s # g_variant_get (_ret, 1196s # "()"); 1196s # g_variant_unref (_ret); 1196s # _out: 1196s # return _ret != NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_complete_single_arg_method_u: 1196s # * @object: A #OrgProjectUsefulInterface. 1196s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1196s # * 1196s # * 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. 1196s # * 1196s # * This method will free @invocation, you cannot use it afterwards. 1196s # */ 1196s # void 1196s # org_project_useful_interface_complete_single_arg_method_u ( 1196s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1196s # GDBusMethodInvocation *invocation) 1196s # { 1196s # g_dbus_method_invocation_return_value (invocation, 1196s # g_variant_new ("()")); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceProxy: 1196s # * 1196s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceProxyClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1196s # */ 1196s # 1196s # struct _OrgProjectUsefulInterfaceProxyPrivate 1196s # { 1196s # GData *qdata; 1196s # }; 1196s # 1196s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1196s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # org_project_useful_interface_proxy_finalize (GObject *object) 1196s # { 1196s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1196s # g_datalist_clear (&proxy->priv->qdata); 1196s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1196s # guint prop_id G_GNUC_UNUSED, 1196s # GValue *value G_GNUC_UNUSED, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1196s # guint prop_id G_GNUC_UNUSED, 1196s # const GValue *value G_GNUC_UNUSED, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1196s # const gchar *sender_name G_GNUC_UNUSED, 1196s # const gchar *signal_name, 1196s # GVariant *parameters) 1196s # { 1196s # _ExtendedGDBusSignalInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # gsize n; 1196s # guint signal_id; 1196s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1196s # if (info == NULL) 1196s # return; 1196s # num_params = g_variant_n_children (parameters); 1196s # paramv = g_new0 (GValue, num_params + 1); 1196s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_set_object (¶mv[0], proxy); 1196s # g_variant_iter_init (&iter, parameters); 1196s # n = 1; 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_signal_emitv (paramv, signal_id, 0, NULL); 1196s # for (n = 0; n < num_params + 1; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1196s # GVariant *changed_properties, 1196s # const gchar *const *invalidated_properties) 1196s # { 1196s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1196s # guint n; 1196s # const gchar *key; 1196s # GVariantIter *iter; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # g_variant_get (changed_properties, "a{sv}", &iter); 1196s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1196s # g_datalist_remove_data (&proxy->priv->qdata, key); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # g_variant_iter_free (iter); 1196s # for (n = 0; invalidated_properties[n] != NULL; n++) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1196s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1196s # #else 1196s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1196s # #endif 1196s # 1196s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusProxyClass *proxy_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1196s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1196s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1196s # 1196s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1196s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1196s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # org_project_useful_interface_proxy_new ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_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); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_sync: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_sync ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # org_project_useful_interface_proxy_new_for_bus ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_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); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_for_bus_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus_sync: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_for_bus_sync ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceSkeleton: 1196s # * 1196s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceSkeletonClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1196s # */ 1196s # 1196s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1196s # { 1196s # GValue *properties; 1196s # GList *changed_properties; 1196s # GSource *changed_properties_idle_source; 1196s # GMainContext *context; 1196s # GMutex lock; 1196s # }; 1196s # 1196s # static void 1196s # _org_project_useful_interface_skeleton_handle_method_call ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name, 1196s # const gchar *method_name, 1196s # GVariant *parameters, 1196s # GDBusMethodInvocation *invocation, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # _ExtendedGDBusMethodInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # guint num_extra; 1196s # gsize n; 1196s # guint signal_id; 1196s # GValue return_value = G_VALUE_INIT; 1196s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1196s # g_assert (info != NULL); 1196s # num_params = g_variant_n_children (parameters); 1196s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1196s # n = 0; 1196s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_set_object (¶mv[n++], skeleton); 1196s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1196s # g_value_set_object (¶mv[n++], invocation); 1196s # if (info->pass_fdlist) 1196s # { 1196s # #ifdef G_OS_UNIX 1196s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1196s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1196s # #else 1196s # g_assert_not_reached (); 1196s # #endif 1196s # } 1196s # g_variant_iter_init (&iter, parameters); 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1196s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1196s # if (!g_value_get_boolean (&return_value)) 1196s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1196s # g_value_unset (&return_value); 1196s # for (n = 0; n < num_params + num_extra; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static GVariant * 1196s # _org_project_useful_interface_skeleton_handle_get_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # GVariant *ret; 1196s # ret = NULL; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # g_value_init (&value, pspec->value_type); 1196s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1196s # g_value_unset (&value); 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _org_project_useful_interface_skeleton_handle_set_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GVariant *variant, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # gboolean ret; 1196s # ret = FALSE; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # if (info->use_gvariant) 1196s # g_value_set_variant (&value, variant); 1196s # else 1196s # g_dbus_gvariant_to_gvalue (variant, &value); 1196s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # g_value_unset (&value); 1196s # ret = TRUE; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1196s # { 1196s # _org_project_useful_interface_skeleton_handle_method_call, 1196s # _org_project_useful_interface_skeleton_handle_get_property, 1196s # _org_project_useful_interface_skeleton_handle_set_property, 1196s # {NULL} 1196s # }; 1196s # 1196s # static GDBusInterfaceInfo * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return org_project_useful_interface_interface_info (); 1196s # } 1196s # 1196s # static GDBusInterfaceVTable * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1196s # } 1196s # 1196s # static GVariant * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1196s # 1196s # GVariantBuilder builder; 1196s # guint n; 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1196s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #else 1196s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #endif 1196s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1196s # goto out; 1196s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1196s # { 1196s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1196s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1196s # { 1196s # GVariant *value; 1196s # 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); 1196s # if (value != NULL) 1196s # { 1196s # g_variant_take_ref (value); 1196s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1196s # g_variant_unref (value); 1196s # } 1196s # } 1196s # } 1196s # out: 1196s # return g_variant_builder_end (&builder); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # org_project_useful_interface_skeleton_finalize (GObject *object) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1196s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1196s # if (skeleton->priv->changed_properties_idle_source != NULL) 1196s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1196s # g_main_context_unref (skeleton->priv->context); 1196s # g_mutex_clear (&skeleton->priv->lock); 1196s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1196s # #else 1196s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1196s # #endif 1196s # 1196s # g_mutex_init (&skeleton->priv->lock); 1196s # skeleton->priv->context = g_main_context_ref_thread_default (); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusInterfaceSkeletonClass *skeleton_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1196s # 1196s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1196s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1196s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1196s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1196s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_skeleton_new: 1196s # * 1196s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_skeleton_new (void) 1196s # { 1196s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1196s # } 1196s # /tmp/tmpq19y46iw/tmp_93b5ozf.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq19y46iw/tmp_93b5ozf.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # Output: /* 1196s # * This file is generated by gdbus-codegen, do not modify it. 1196s # * 1196s # * The license of this code is the same as for the D-Bus interface description 1196s # * it was derived from. Note that it links to GLib, so must comply with the 1196s # * LGPL linking clauses. 1196s # */ 1196s # 1196s # #ifdef HAVE_CONFIG_H 1196s # # include "config.h" 1196s # #endif 1196s # 1196s # #include 1196s # #ifdef G_OS_UNIX 1196s # # include 1196s # #endif 1196s # 1196s # #ifdef G_ENABLE_DEBUG 1196s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1196s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1196s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1196s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1196s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1196s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1196s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1196s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1196s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1196s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1196s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1196s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1196s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1196s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1196s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1196s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1196s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1196s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1196s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1196s # #else /* !G_ENABLE_DEBUG */ 1196s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1196s # * Do not access GValues directly in your code. Instead, use the 1196s # * g_value_get_*() functions 1196s # */ 1196s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1196s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1196s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1196s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1196s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1196s # #endif /* !G_ENABLE_DEBUG */ 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusArgInfo parent_struct; 1196s # gboolean use_gvariant; 1196s # } _ExtendedGDBusArgInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusMethodInfo parent_struct; 1196s # const gchar *signal_name; 1196s # gboolean pass_fdlist; 1196s # } _ExtendedGDBusMethodInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusSignalInfo parent_struct; 1196s # const gchar *signal_name; 1196s # } _ExtendedGDBusSignalInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusPropertyInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # guint use_gvariant : 1; 1196s # guint emits_changed_signal : 1; 1196s # } _ExtendedGDBusPropertyInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusInterfaceInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # } _ExtendedGDBusInterfaceInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # guint prop_id; 1196s # GValue orig_value; /* the value before the change */ 1196s # } ChangedProperty; 1196s # 1196s # static void 1196s # _changed_property_free (ChangedProperty *data) 1196s # { 1196s # g_value_unset (&data->orig_value); 1196s # g_free (data); 1196s # } 1196s # 1196s # static gboolean 1196s # _g_strv_equal0 (gchar **a, gchar **b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # guint n; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # if (g_strv_length (a) != g_strv_length (b)) 1196s # goto out; 1196s # for (n = 0; a[n] != NULL; n++) 1196s # if (g_strcmp0 (a[n], b[n]) != 0) 1196s # goto out; 1196s # ret = TRUE; 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _g_variant_equal0 (GVariant *a, GVariant *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # ret = g_variant_equal (a, b); 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # G_GNUC_UNUSED static gboolean 1196s # _g_value_equal (const GValue *a, const GValue *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1196s # switch (G_VALUE_TYPE (a)) 1196s # { 1196s # case G_TYPE_BOOLEAN: 1196s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1196s # break; 1196s # case G_TYPE_UCHAR: 1196s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1196s # break; 1196s # case G_TYPE_INT: 1196s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1196s # break; 1196s # case G_TYPE_UINT: 1196s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1196s # break; 1196s # case G_TYPE_INT64: 1196s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1196s # break; 1196s # case G_TYPE_UINT64: 1196s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1196s # break; 1196s # case G_TYPE_DOUBLE: 1196s # { 1196s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1196s # gdouble da = g_value_get_double (a); 1196s # gdouble db = g_value_get_double (b); 1196s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1196s # } 1196s # break; 1196s # case G_TYPE_STRING: 1196s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1196s # break; 1196s # case G_TYPE_VARIANT: 1196s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1196s # break; 1196s # default: 1196s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1196s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1196s # else 1196s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1196s # break; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static void 1196s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1196s # GClosure *closure, 1196s # GValue *return_value, 1196s # unsigned int n_param_values, 1196s # const GValue *param_values, 1196s # void *invocation_hint G_GNUC_UNUSED, 1196s # void *marshal_data) 1196s # { 1196s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1196s # (void *data1, 1196s # GDBusMethodInvocation *arg_method_invocation, 1196s # gint64 arg_arg_x, 1196s # void *data2); 1196s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1196s # GCClosure *cc = (GCClosure*) closure; 1196s # void *data1, *data2; 1196s # gboolean v_return; 1196s # 1196s # g_return_if_fail (return_value != NULL); 1196s # g_return_if_fail (n_param_values == 3); 1196s # 1196s # if (G_CCLOSURE_SWAP_DATA (closure)) 1196s # { 1196s # data1 = closure->data; 1196s # data2 = g_value_peek_pointer (param_values + 0); 1196s # } 1196s # else 1196s # { 1196s # data1 = g_value_peek_pointer (param_values + 0); 1196s # data2 = closure->data; 1196s # } 1196s # 1196s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1196s # (marshal_data ? marshal_data : cc->callback); 1196s # 1196s # v_return = 1196s # callback (data1, 1196s # g_marshal_value_peek_object (param_values + 1), 1196s # g_marshal_value_peek_int64 (param_values + 2), 1196s # data2); 1196s # 1196s # g_value_set_boolean (return_value, v_return); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ 1196s # * Code for interface org.project.UsefulInterface 1196s # * ------------------------------------------------------------------------ 1196s # */ 1196s # 1196s # /** 1196s # * SECTION:OrgProjectUsefulInterface 1196s # * @title: OrgProjectUsefulInterface 1196s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1196s # * 1196s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1196s # */ 1196s # 1196s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1196s # 1196s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "arg_x", 1196s # (gchar *) "x", 1196s # NULL 1196s # }, 1196s # FALSE 1196s # }; 1196s # 1196s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1196s # { 1196s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "SingleArgMethodX", 1196s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1196s # NULL, 1196s # NULL 1196s # }, 1196s # "handle-single-arg-method-x", 1196s # FALSE 1196s # }; 1196s # 1196s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1196s # { 1196s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "org.project.UsefulInterface", 1196s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1196s # NULL, 1196s # NULL, 1196s # NULL 1196s # }, 1196s # "org-project-useful-interface", 1196s # }; 1196s # 1196s # 1196s # /** 1196s # * org_project_useful_interface_interface_info: 1196s # * 1196s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1196s # * 1196s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1196s # */ 1196s # GDBusInterfaceInfo * 1196s # org_project_useful_interface_interface_info (void) 1196s # { 1196s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_override_properties: 1196s # * @klass: The class structure for a #GObject derived class. 1196s # * @property_id_begin: The property id to assign to the first overridden property. 1196s # * 1196s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1196s # * The properties are overridden in the order they are defined. 1196s # * 1196s # * Returns: The last property id. 1196s # */ 1196s # guint 1196s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1196s # { 1196s # return property_id_begin - 1; 1196s # } 1196s # 1196s # 1196s # inline static void 1196s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1196s # GClosure *closure, 1196s # GValue *return_value, 1196s # unsigned int n_param_values, 1196s # const GValue *param_values, 1196s # void *invocation_hint, 1196s # void *marshal_data) 1196s # { 1196s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1196s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1196s # } 1196s # 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterface: 1196s # * 1196s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceIface: 1196s # * @parent_iface: The parent interface. 1196s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1196s # * 1196s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1196s # */ 1196s # 1196s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1196s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1196s # 1196s # static void 1196s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1196s # { 1196s # /* GObject signals for incoming D-Bus method calls: */ 1196s # /** 1196s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1196s # * @object: A #OrgProjectUsefulInterface. 1196s # * @invocation: A #GDBusMethodInvocation. 1196s # * @arg_arg_x: Argument passed by remote caller. 1196s # * 1196s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1196s # * 1196s # * 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. 1196s # * 1196s # * 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. 1196s # */ 1196s # g_signal_new ("handle-single-arg-method-x", 1196s # G_TYPE_FROM_INTERFACE (iface), 1196s # G_SIGNAL_RUN_LAST, 1196s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1196s # g_signal_accumulator_true_handled, 1196s # NULL, 1196s # org_project_useful_interface_method_marshal_single_arg_method_x, 1196s # G_TYPE_BOOLEAN, 1196s # 2, 1196s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1196s # 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_x: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @arg_arg_x: Argument to pass with the method invocation. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1196s # */ 1196s # void 1196s # org_project_useful_interface_call_single_arg_method_x ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # gint64 arg_arg_x, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1196s # "SingleArgMethodX", 1196s # g_variant_new ("(x)", 1196s # arg_arg_x), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # cancellable, 1196s # callback, 1196s # user_data); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_x_finish: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1196s # * @error: Return location for error or %NULL. 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1196s # * 1196s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1196s # */ 1196s # gboolean 1196s # org_project_useful_interface_call_single_arg_method_x_finish ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GVariant *_ret; 1196s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1196s # if (_ret == NULL) 1196s # goto _out; 1196s # g_variant_get (_ret, 1196s # "()"); 1196s # g_variant_unref (_ret); 1196s # _out: 1196s # return _ret != NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_x_sync: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @arg_arg_x: Argument to pass with the method invocation. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL. 1196s # * 1196s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1196s # * 1196s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1196s # */ 1196s # gboolean 1196s # org_project_useful_interface_call_single_arg_method_x_sync ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # gint64 arg_arg_x, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GVariant *_ret; 1196s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1196s # "SingleArgMethodX", 1196s # g_variant_new ("(x)", 1196s # arg_arg_x), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # cancellable, 1196s # error); 1196s # if (_ret == NULL) 1196s # goto _out; 1196s # g_variant_get (_ret, 1196s # "()"); 1196s # g_variant_unref (_ret); 1196s # _out: 1196s # return _ret != NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_complete_single_arg_method_x: 1196s # * @object: A #OrgProjectUsefulInterface. 1196s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1196s # * 1196s # * 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. 1196s # * 1196s # * This method will free @invocation, you cannot use it afterwards. 1196s # */ 1196s # void 1196s # org_project_useful_interface_complete_single_arg_method_x ( 1196s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1196s # GDBusMethodInvocation *invocation) 1196s # { 1196s # g_dbus_method_invocation_return_value (invocation, 1196s # g_variant_new ("()")); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceProxy: 1196s # * 1196s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceProxyClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1196s # */ 1196s # 1196s # struct _OrgProjectUsefulInterfaceProxyPrivate 1196s # { 1196s # GData *qdata; 1196s # }; 1196s # 1196s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1196s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # org_project_useful_interface_proxy_finalize (GObject *object) 1196s # { 1196s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1196s # g_datalist_clear (&proxy->priv->qdata); 1196s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1196s # guint prop_id G_GNUC_UNUSED, 1196s # GValue *value G_GNUC_UNUSED, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1196s # guint prop_id G_GNUC_UNUSED, 1196s # const GValue *value G_GNUC_UNUSED, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1196s # const gchar *sender_name G_GNUC_UNUSED, 1196s # const gchar *signal_name, 1196s # GVariant *parameters) 1196s # { 1196s # _ExtendedGDBusSignalInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # gsize n; 1196s # guint signal_id; 1196s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1196s # if (info == NULL) 1196s # return; 1196s # num_params = g_variant_n_children (parameters); 1196s # paramv = g_new0 (GValue, num_params + 1); 1196s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_set_object (¶mv[0], proxy); 1196s # g_variant_iter_init (&iter, parameters); 1196s # n = 1; 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_signal_emitv (paramv, signal_id, 0, NULL); 1196s # for (n = 0; n < num_params + 1; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1196s # GVariant *changed_properties, 1196s # const gchar *const *invalidated_properties) 1196s # { 1196s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1196s # guint n; 1196s # const gchar *key; 1196s # GVariantIter *iter; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # g_variant_get (changed_properties, "a{sv}", &iter); 1196s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1196s # g_datalist_remove_data (&proxy->priv->qdata, key); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # g_variant_iter_free (iter); 1196s # for (n = 0; invalidated_properties[n] != NULL; n++) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1196s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1196s # #else 1196s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1196s # #endif 1196s # 1196s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusProxyClass *proxy_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1196s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1196s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1196s # 1196s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1196s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1196s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # org_project_useful_interface_proxy_new ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_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); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_sync: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_sync ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # org_project_useful_interface_proxy_new_for_bus ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_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); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_for_bus_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus_sync: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_for_bus_sync ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceSkeleton: 1196s # * 1196s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceSkeletonClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1196s # */ 1196s # 1196s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1196s # { 1196s # GValue *properties; 1196s # GList *changed_properties; 1196s # GSource *changed_properties_idle_source; 1196s # GMainContext *context; 1196s # GMutex lock; 1196s # }; 1196s # 1196s # static void 1196s # _org_project_useful_interface_skeleton_handle_method_call ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name, 1196s # const gchar *method_name, 1196s # GVariant *parameters, 1196s # GDBusMethodInvocation *invocation, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # _ExtendedGDBusMethodInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # guint num_extra; 1196s # gsize n; 1196s # guint signal_id; 1196s # GValue return_value = G_VALUE_INIT; 1196s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1196s # g_assert (info != NULL); 1196s # num_params = g_variant_n_children (parameters); 1196s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1196s # n = 0; 1196s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_set_object (¶mv[n++], skeleton); 1196s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1196s # g_value_set_object (¶mv[n++], invocation); 1196s # if (info->pass_fdlist) 1196s # { 1196s # #ifdef G_OS_UNIX 1196s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1196s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1196s # #else 1196s # g_assert_not_reached (); 1196s # #endif 1196s # } 1196s # g_variant_iter_init (&iter, parameters); 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1196s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1196s # if (!g_value_get_boolean (&return_value)) 1196s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1196s # g_value_unset (&return_value); 1196s # for (n = 0; n < num_params + num_extra; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static GVariant * 1196s # _org_project_useful_interface_skeleton_handle_get_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # GVariant *ret; 1196s # ret = NULL; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # g_value_init (&value, pspec->value_type); 1196s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1196s # g_value_unset (&value); 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _org_project_useful_interface_skeleton_handle_set_property ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name G_GNUC_UNUSED, 1196s # const gchar *property_name, 1196s # GVariant *variant, 1196s # GError **error, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # GValue value = G_VALUE_INIT; 1196s # GParamSpec *pspec; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # gboolean ret; 1196s # ret = FALSE; 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1196s # g_assert (info != NULL); 1196s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1196s # if (pspec == NULL) 1196s # { 1196s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1196s # } 1196s # else 1196s # { 1196s # if (info->use_gvariant) 1196s # g_value_set_variant (&value, variant); 1196s # else 1196s # g_dbus_gvariant_to_gvalue (variant, &value); 1196s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1196s # g_value_unset (&value); 1196s # ret = TRUE; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1196s # { 1196s # _org_project_useful_interface_skeleton_handle_method_call, 1196s # _org_project_useful_interface_skeleton_handle_get_property, 1196s # _org_project_useful_interface_skeleton_handle_set_property, 1196s # {NULL} 1196s # }; 1196s # 1196s # static GDBusInterfaceInfo * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return org_project_useful_interface_interface_info (); 1196s # } 1196s # 1196s # static GDBusInterfaceVTable * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1196s # { 1196s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1196s # } 1196s # 1196s # static GVariant * 1196s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1196s # 1196s # GVariantBuilder builder; 1196s # guint n; 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1196s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #else 1196s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1196s # #endif 1196s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1196s # goto out; 1196s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1196s # { 1196s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1196s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1196s # { 1196s # GVariant *value; 1196s # 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); 1196s # if (value != NULL) 1196s # { 1196s # g_variant_take_ref (value); 1196s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1196s # g_variant_unref (value); 1196s # } 1196s # } 1196s # } 1196s # out: 1196s # return g_variant_builder_end (&builder); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # org_project_useful_interface_skeleton_finalize (GObject *object) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1196s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1196s # if (skeleton->priv->changed_properties_idle_source != NULL) 1196s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1196s # g_main_context_unref (skeleton->priv->context); 1196s # g_mutex_clear (&skeleton->priv->lock); 1196s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1196s # #else 1196s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1196s # #endif 1196s # 1196s # g_mutex_init (&skeleton->priv->lock); 1196s # skeleton->priv->context = g_main_context_ref_thread_default (); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusInterfaceSkeletonClass *skeleton_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1196s # 1196s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1196s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1196s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1196s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1196s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_skeleton_new: 1196s # * 1196s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_skeleton_new (void) 1196s # { 1196s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1196s # } 1196s # /tmp/tmpq19y46iw/tmprx_swqb_.xml: 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # 1196s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq19y46iw/tmprx_swqb_.xml', '--output', '-', '--body'] 1196s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1196s # Output: /* 1196s # * This file is generated by gdbus-codegen, do not modify it. 1196s # * 1196s # * The license of this code is the same as for the D-Bus interface description 1196s # * it was derived from. Note that it links to GLib, so must comply with the 1196s # * LGPL linking clauses. 1196s # */ 1196s # 1196s # #ifdef HAVE_CONFIG_H 1196s # # include "config.h" 1196s # #endif 1196s # 1196s # #include 1196s # #ifdef G_OS_UNIX 1196s # # include 1196s # #endif 1196s # 1196s # #ifdef G_ENABLE_DEBUG 1196s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1196s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1196s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1196s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1196s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1196s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1196s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1196s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1196s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1196s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1196s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1196s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1196s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1196s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1196s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1196s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1196s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1196s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1196s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1196s # #else /* !G_ENABLE_DEBUG */ 1196s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1196s # * Do not access GValues directly in your code. Instead, use the 1196s # * g_value_get_*() functions 1196s # */ 1196s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1196s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1196s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1196s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1196s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1196s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1196s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1196s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1196s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1196s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1196s # #endif /* !G_ENABLE_DEBUG */ 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusArgInfo parent_struct; 1196s # gboolean use_gvariant; 1196s # } _ExtendedGDBusArgInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusMethodInfo parent_struct; 1196s # const gchar *signal_name; 1196s # gboolean pass_fdlist; 1196s # } _ExtendedGDBusMethodInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusSignalInfo parent_struct; 1196s # const gchar *signal_name; 1196s # } _ExtendedGDBusSignalInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusPropertyInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # guint use_gvariant : 1; 1196s # guint emits_changed_signal : 1; 1196s # } _ExtendedGDBusPropertyInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # GDBusInterfaceInfo parent_struct; 1196s # const gchar *hyphen_name; 1196s # } _ExtendedGDBusInterfaceInfo; 1196s # 1196s # typedef struct 1196s # { 1196s # const _ExtendedGDBusPropertyInfo *info; 1196s # guint prop_id; 1196s # GValue orig_value; /* the value before the change */ 1196s # } ChangedProperty; 1196s # 1196s # static void 1196s # _changed_property_free (ChangedProperty *data) 1196s # { 1196s # g_value_unset (&data->orig_value); 1196s # g_free (data); 1196s # } 1196s # 1196s # static gboolean 1196s # _g_strv_equal0 (gchar **a, gchar **b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # guint n; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # if (g_strv_length (a) != g_strv_length (b)) 1196s # goto out; 1196s # for (n = 0; a[n] != NULL; n++) 1196s # if (g_strcmp0 (a[n], b[n]) != 0) 1196s # goto out; 1196s # ret = TRUE; 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # static gboolean 1196s # _g_variant_equal0 (GVariant *a, GVariant *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # if (a == NULL && b == NULL) 1196s # { 1196s # ret = TRUE; 1196s # goto out; 1196s # } 1196s # if (a == NULL || b == NULL) 1196s # goto out; 1196s # ret = g_variant_equal (a, b); 1196s # out: 1196s # return ret; 1196s # } 1196s # 1196s # G_GNUC_UNUSED static gboolean 1196s # _g_value_equal (const GValue *a, const GValue *b) 1196s # { 1196s # gboolean ret = FALSE; 1196s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1196s # switch (G_VALUE_TYPE (a)) 1196s # { 1196s # case G_TYPE_BOOLEAN: 1196s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1196s # break; 1196s # case G_TYPE_UCHAR: 1196s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1196s # break; 1196s # case G_TYPE_INT: 1196s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1196s # break; 1196s # case G_TYPE_UINT: 1196s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1196s # break; 1196s # case G_TYPE_INT64: 1196s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1196s # break; 1196s # case G_TYPE_UINT64: 1196s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1196s # break; 1196s # case G_TYPE_DOUBLE: 1196s # { 1196s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1196s # gdouble da = g_value_get_double (a); 1196s # gdouble db = g_value_get_double (b); 1196s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1196s # } 1196s # break; 1196s # case G_TYPE_STRING: 1196s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1196s # break; 1196s # case G_TYPE_VARIANT: 1196s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1196s # break; 1196s # default: 1196s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1196s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1196s # else 1196s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1196s # break; 1196s # } 1196s # return ret; 1196s # } 1196s # 1196s # static void 1196s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1196s # GClosure *closure, 1196s # GValue *return_value, 1196s # unsigned int n_param_values, 1196s # const GValue *param_values, 1196s # void *invocation_hint G_GNUC_UNUSED, 1196s # void *marshal_data) 1196s # { 1196s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1196s # (void *data1, 1196s # GDBusMethodInvocation *arg_method_invocation, 1196s # guint64 arg_arg_t, 1196s # void *data2); 1196s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1196s # GCClosure *cc = (GCClosure*) closure; 1196s # void *data1, *data2; 1196s # gboolean v_return; 1196s # 1196s # g_return_if_fail (return_value != NULL); 1196s # g_return_if_fail (n_param_values == 3); 1196s # 1196s # if (G_CCLOSURE_SWAP_DATA (closure)) 1196s # { 1196s # data1 = closure->data; 1196s # data2 = g_value_peek_pointer (param_values + 0); 1196s # } 1196s # else 1196s # { 1196s # data1 = g_value_peek_pointer (param_values + 0); 1196s # data2 = closure->data; 1196s # } 1196s # 1196s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1196s # (marshal_data ? marshal_data : cc->callback); 1196s # 1196s # v_return = 1196s # callback (data1, 1196s # g_marshal_value_peek_object (param_values + 1), 1196s # g_marshal_value_peek_uint64 (param_values + 2), 1196s # data2); 1196s # 1196s # g_value_set_boolean (return_value, v_return); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ 1196s # * Code for interface org.project.UsefulInterface 1196s # * ------------------------------------------------------------------------ 1196s # */ 1196s # 1196s # /** 1196s # * SECTION:OrgProjectUsefulInterface 1196s # * @title: OrgProjectUsefulInterface 1196s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1196s # * 1196s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1196s # */ 1196s # 1196s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1196s # 1196s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "arg_t", 1196s # (gchar *) "t", 1196s # NULL 1196s # }, 1196s # FALSE 1196s # }; 1196s # 1196s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1196s # { 1196s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "SingleArgMethodT", 1196s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1196s # NULL, 1196s # NULL 1196s # }, 1196s # "handle-single-arg-method-t", 1196s # FALSE 1196s # }; 1196s # 1196s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1196s # { 1196s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1196s # NULL 1196s # }; 1196s # 1196s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1196s # { 1196s # { 1196s # -1, 1196s # (gchar *) "org.project.UsefulInterface", 1196s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1196s # NULL, 1196s # NULL, 1196s # NULL 1196s # }, 1196s # "org-project-useful-interface", 1196s # }; 1196s # 1196s # 1196s # /** 1196s # * org_project_useful_interface_interface_info: 1196s # * 1196s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1196s # * 1196s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1196s # */ 1196s # GDBusInterfaceInfo * 1196s # org_project_useful_interface_interface_info (void) 1196s # { 1196s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_override_properties: 1196s # * @klass: The class structure for a #GObject derived class. 1196s # * @property_id_begin: The property id to assign to the first overridden property. 1196s # * 1196s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1196s # * The properties are overridden in the order they are defined. 1196s # * 1196s # * Returns: The last property id. 1196s # */ 1196s # guint 1196s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1196s # { 1196s # return property_id_begin - 1; 1196s # } 1196s # 1196s # 1196s # inline static void 1196s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1196s # GClosure *closure, 1196s # GValue *return_value, 1196s # unsigned int n_param_values, 1196s # const GValue *param_values, 1196s # void *invocation_hint, 1196s # void *marshal_data) 1196s # { 1196s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1196s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1196s # } 1196s # 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterface: 1196s # * 1196s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceIface: 1196s # * @parent_iface: The parent interface. 1196s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1196s # * 1196s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1196s # */ 1196s # 1196s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1196s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1196s # 1196s # static void 1196s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1196s # { 1196s # /* GObject signals for incoming D-Bus method calls: */ 1196s # /** 1196s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1196s # * @object: A #OrgProjectUsefulInterface. 1196s # * @invocation: A #GDBusMethodInvocation. 1196s # * @arg_arg_t: Argument passed by remote caller. 1196s # * 1196s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1196s # * 1196s # * 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. 1196s # * 1196s # * 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. 1196s # */ 1196s # g_signal_new ("handle-single-arg-method-t", 1196s # G_TYPE_FROM_INTERFACE (iface), 1196s # G_SIGNAL_RUN_LAST, 1196s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1196s # g_signal_accumulator_true_handled, 1196s # NULL, 1196s # org_project_useful_interface_method_marshal_single_arg_method_t, 1196s # G_TYPE_BOOLEAN, 1196s # 2, 1196s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1196s # 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_t: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @arg_arg_t: Argument to pass with the method invocation. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1196s # */ 1196s # void 1196s # org_project_useful_interface_call_single_arg_method_t ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # guint64 arg_arg_t, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1196s # "SingleArgMethodT", 1196s # g_variant_new ("(t)", 1196s # arg_arg_t), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # cancellable, 1196s # callback, 1196s # user_data); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_t_finish: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1196s # * @error: Return location for error or %NULL. 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1196s # * 1196s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1196s # */ 1196s # gboolean 1196s # org_project_useful_interface_call_single_arg_method_t_finish ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GVariant *_ret; 1196s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1196s # if (_ret == NULL) 1196s # goto _out; 1196s # g_variant_get (_ret, 1196s # "()"); 1196s # g_variant_unref (_ret); 1196s # _out: 1196s # return _ret != NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_call_single_arg_method_t_sync: 1196s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1196s # * @arg_arg_t: Argument to pass with the method invocation. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL. 1196s # * 1196s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1196s # * 1196s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1196s # */ 1196s # gboolean 1196s # org_project_useful_interface_call_single_arg_method_t_sync ( 1196s # OrgProjectUsefulInterface *proxy, 1196s # guint64 arg_arg_t, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GVariant *_ret; 1196s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1196s # "SingleArgMethodT", 1196s # g_variant_new ("(t)", 1196s # arg_arg_t), 1196s # G_DBUS_CALL_FLAGS_NONE, 1196s # -1, 1196s # cancellable, 1196s # error); 1196s # if (_ret == NULL) 1196s # goto _out; 1196s # g_variant_get (_ret, 1196s # "()"); 1196s # g_variant_unref (_ret); 1196s # _out: 1196s # return _ret != NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_complete_single_arg_method_t: 1196s # * @object: A #OrgProjectUsefulInterface. 1196s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1196s # * 1196s # * 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. 1196s # * 1196s # * This method will free @invocation, you cannot use it afterwards. 1196s # */ 1196s # void 1196s # org_project_useful_interface_complete_single_arg_method_t ( 1196s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1196s # GDBusMethodInvocation *invocation) 1196s # { 1196s # g_dbus_method_invocation_return_value (invocation, 1196s # g_variant_new ("()")); 1196s # } 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceProxy: 1196s # * 1196s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceProxyClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1196s # */ 1196s # 1196s # struct _OrgProjectUsefulInterfaceProxyPrivate 1196s # { 1196s # GData *qdata; 1196s # }; 1196s # 1196s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1196s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1196s # 1196s # #else 1196s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1196s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1196s # 1196s # #endif 1196s # static void 1196s # org_project_useful_interface_proxy_finalize (GObject *object) 1196s # { 1196s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1196s # g_datalist_clear (&proxy->priv->qdata); 1196s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1196s # guint prop_id G_GNUC_UNUSED, 1196s # GValue *value G_GNUC_UNUSED, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1196s # guint prop_id G_GNUC_UNUSED, 1196s # const GValue *value G_GNUC_UNUSED, 1196s # GParamSpec *pspec G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1196s # const gchar *sender_name G_GNUC_UNUSED, 1196s # const gchar *signal_name, 1196s # GVariant *parameters) 1196s # { 1196s # _ExtendedGDBusSignalInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # gsize n; 1196s # guint signal_id; 1196s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1196s # if (info == NULL) 1196s # return; 1196s # num_params = g_variant_n_children (parameters); 1196s # paramv = g_new0 (GValue, num_params + 1); 1196s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_set_object (¶mv[0], proxy); 1196s # g_variant_iter_init (&iter, parameters); 1196s # n = 1; 1196s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1196s # { 1196s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1196s # if (arg_info->use_gvariant) 1196s # { 1196s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1196s # g_value_set_variant (¶mv[n], child); 1196s # n++; 1196s # } 1196s # else 1196s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1196s # g_variant_unref (child); 1196s # } 1196s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_signal_emitv (paramv, signal_id, 0, NULL); 1196s # for (n = 0; n < num_params + 1; n++) 1196s # g_value_unset (¶mv[n]); 1196s # g_free (paramv); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1196s # GVariant *changed_properties, 1196s # const gchar *const *invalidated_properties) 1196s # { 1196s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1196s # guint n; 1196s # const gchar *key; 1196s # GVariantIter *iter; 1196s # _ExtendedGDBusPropertyInfo *info; 1196s # g_variant_get (changed_properties, "a{sv}", &iter); 1196s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1196s # g_datalist_remove_data (&proxy->priv->qdata, key); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # g_variant_iter_free (iter); 1196s # for (n = 0; invalidated_properties[n] != NULL; n++) 1196s # { 1196s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1196s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1196s # if (info != NULL) 1196s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1196s # } 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1196s # { 1196s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1196s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1196s # #else 1196s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1196s # #endif 1196s # 1196s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1196s # { 1196s # GObjectClass *gobject_class; 1196s # GDBusProxyClass *proxy_class; 1196s # 1196s # gobject_class = G_OBJECT_CLASS (klass); 1196s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1196s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1196s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1196s # 1196s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1196s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1196s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1196s # 1196s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1196s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1196s # #endif 1196s # } 1196s # 1196s # static void 1196s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1196s # { 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # org_project_useful_interface_proxy_new ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_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); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_sync: 1196s # * @connection: A #GDBusConnection. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_sync ( 1196s # GDBusConnection *connection, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1196s # * @user_data: User data to pass to @callback. 1196s # * 1196s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1196s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1196s # */ 1196s # void 1196s # org_project_useful_interface_proxy_new_for_bus ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GAsyncReadyCallback callback, 1196s # gpointer user_data) 1196s # { 1196s # g_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); 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus_finish: 1196s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_for_bus_finish ( 1196s # GAsyncResult *res, 1196s # GError **error) 1196s # { 1196s # GObject *ret; 1196s # GObject *source_object; 1196s # source_object = g_async_result_get_source_object (res); 1196s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1196s # g_object_unref (source_object); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # /** 1196s # * org_project_useful_interface_proxy_new_for_bus_sync: 1196s # * @bus_type: A #GBusType. 1196s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1196s # * @name: A bus name (well-known or unique). 1196s # * @object_path: An object path. 1196s # * @cancellable: (nullable): A #GCancellable or %NULL. 1196s # * @error: Return location for error or %NULL 1196s # * 1196s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1196s # * 1196s # * The calling thread is blocked until a reply is received. 1196s # * 1196s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1196s # * 1196s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1196s # */ 1196s # OrgProjectUsefulInterface * 1196s # org_project_useful_interface_proxy_new_for_bus_sync ( 1196s # GBusType bus_type, 1196s # GDBusProxyFlags flags, 1196s # const gchar *name, 1196s # const gchar *object_path, 1196s # GCancellable *cancellable, 1196s # GError **error) 1196s # { 1196s # GInitable *ret; 1196s # 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); 1196s # if (ret != NULL) 1196s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1196s # else 1196s # return NULL; 1196s # } 1196s # 1196s # 1196s # /* ------------------------------------------------------------------------ */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceSkeleton: 1196s # * 1196s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1196s # */ 1196s # 1196s # /** 1196s # * OrgProjectUsefulInterfaceSkeletonClass: 1196s # * @parent_class: The parent class. 1196s # * 1196s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1196s # */ 1196s # 1196s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1196s # { 1196s # GValue *properties; 1196s # GList *changed_properties; 1196s # GSource *changed_properties_idle_source; 1196s # GMainContext *context; 1196s # GMutex lock; 1196s # }; 1196s # 1196s # static void 1196s # _org_project_useful_interface_skeleton_handle_method_call ( 1196s # GDBusConnection *connection G_GNUC_UNUSED, 1196s # const gchar *sender G_GNUC_UNUSED, 1196s # const gchar *object_path G_GNUC_UNUSED, 1196s # const gchar *interface_name, 1196s # const gchar *method_name, 1196s # GVariant *parameters, 1196s # GDBusMethodInvocation *invocation, 1196s # gpointer user_data) 1196s # { 1196s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1196s # _ExtendedGDBusMethodInfo *info; 1196s # GVariantIter iter; 1196s # GVariant *child; 1196s # GValue *paramv; 1196s # gsize num_params; 1196s # guint num_extra; 1196s # gsize n; 1196s # guint signal_id; 1196s # GValue return_value = G_VALUE_INIT; 1196s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1196s # g_assert (info != NULL); 1196s # num_params = g_variant_n_children (parameters); 1196s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1196s # n = 0; 1196s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1196s # g_value_set_object (¶mv[n++], skeleton); 1196s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1196s # g_value_set_object (¶mv[n++], invocation); 1196s # if (info->pass_fdlist) 1196s # { 1196s # #ifdef G_OS_UNIX 1196s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpq19y46iw/tmpy1wvph8a.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq19y46iw/tmpy1wvph8a.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # gdouble arg_arg_d, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 3); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # g_marshal_value_peek_double (param_values + 2), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_d", 1197s # (gchar *) "d", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodD", 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-d", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * @arg_arg_d: Argument passed by remote caller. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-d", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_d, 1197s # G_TYPE_BOOLEAN, 1197s # 2, 1197s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_d: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @arg_arg_d: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_d ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gdouble arg_arg_d, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodD", 1197s # g_variant_new ("(d)", 1197s # arg_arg_d), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_d_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_d_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_d_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @arg_arg_d: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_d_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gdouble arg_arg_d, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodD", 1197s # g_variant_new ("(d)", 1197s # arg_arg_d), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_d: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_d ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("()")); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpq19y46iw/tmpu_yo4cul.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq19y46iw/tmpu_yo4cul.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # const gchar *arg_arg_s, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 3); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # g_marshal_value_peek_string (param_values + 2), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_s", 1197s # (gchar *) "s", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodS", 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-s", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * @arg_arg_s: Argument passed by remote caller. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-s", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_s, 1197s # G_TYPE_BOOLEAN, 1197s # 2, 1197s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_s: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @arg_arg_s: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_s ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # const gchar *arg_arg_s, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodS", 1197s # g_variant_new ("(s)", 1197s # arg_arg_s), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_s_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_s_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_s_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @arg_arg_s: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_s_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # const gchar *arg_arg_s, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodS", 1197s # g_variant_new ("(s)", 1197s # arg_arg_s), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_s: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_s ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("()")); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpq19y46iw/tmpbkcbrgiz.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq19y46iw/tmpbkcbrgiz.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # const gchar *arg_arg_o, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 3); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # g_marshal_value_peek_string (param_values + 2), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_o", 1197s # (gchar *) "o", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodO", 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-o", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * @arg_arg_o: Argument passed by remote caller. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-o", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_o, 1197s # G_TYPE_BOOLEAN, 1197s # 2, 1197s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_o: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @arg_arg_o: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_o ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # const gchar *arg_arg_o, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodO", 1197s # g_variant_new ("(o)", 1197s # arg_arg_o), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_o_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_o_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_o_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @arg_arg_o: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_o_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # const gchar *arg_arg_o, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodO", 1197s # g_variant_new ("(o)", 1197s # arg_arg_o), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_o: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_o ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("()")); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpq19y46iw/tmpja7fvb2o.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq19y46iw/tmpja7fvb2o.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # const gchar *arg_arg_g, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 3); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # g_marshal_value_peek_string (param_values + 2), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_g", 1197s # (gchar *) "g", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodG", 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-g", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * @arg_arg_g: Argument passed by remote caller. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-g", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_g, 1197s # G_TYPE_BOOLEAN, 1197s # 2, 1197s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_g: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @arg_arg_g: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_g ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # const gchar *arg_arg_g, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodG", 1197s # g_variant_new ("(g)", 1197s # arg_arg_g), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_g_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_g_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_g_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @arg_arg_g: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_g_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # const gchar *arg_arg_g, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodG", 1197s # g_variant_new ("(g)", 1197s # arg_arg_g), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_g: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_g ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("()")); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpq19y46iw/tmpbxkvjj5x.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq19y46iw/tmpbxkvjj5x.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # GVariant *arg_arg_h, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 3); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # g_marshal_value_peek_variant (param_values + 2), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_h", 1197s # (gchar *) "h", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodH", 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-h", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * @arg_arg_h: Argument passed by remote caller. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-h", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_h, 1197s # G_TYPE_BOOLEAN, 1197s # 2, 1197s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_h: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @arg_arg_h: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_h ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GVariant *arg_arg_h, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodH", 1197s # g_variant_new ("(@h)", 1197s # arg_arg_h), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_h_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_h_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_h_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @arg_arg_h: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_h_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GVariant *arg_arg_h, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodH", 1197s # g_variant_new ("(@h)", 1197s # arg_arg_h), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_h: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_h ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("()")); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpq19y46iw/tmpsggoh3ou.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq19y46iw/tmpsggoh3ou.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # const gchar *arg_arg_ay, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 3); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # g_marshal_value_peek_string (param_values + 2), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_ay", 1197s # (gchar *) "ay", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodAy", 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-ay", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * @arg_arg_ay: Argument passed by remote caller. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-ay", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1197s # G_TYPE_BOOLEAN, 1197s # 2, 1197s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_ay: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @arg_arg_ay: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_ay ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # const gchar *arg_arg_ay, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodAy", 1197s # g_variant_new ("(^ay)", 1197s # arg_arg_ay), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @arg_arg_ay: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # const gchar *arg_arg_ay, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodAy", 1197s # g_variant_new ("(^ay)", 1197s # arg_arg_ay), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_ay: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_ay ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("()")); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpq19y46iw/tmpkzi1eu_t.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq19y46iw/tmpkzi1eu_t.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # const gchar *const *arg_arg_as, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 3); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # g_marshal_value_peek_boxed (param_values + 2), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_as", 1197s # (gchar *) "as", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodAs", 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-as", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * @arg_arg_as: Argument passed by remote caller. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-as", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_as, 1197s # G_TYPE_BOOLEAN, 1197s # 2, 1197s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_as: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @arg_arg_as: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_as ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # const gchar *const *arg_arg_as, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodAs", 1197s # g_variant_new ("(^as)", 1197s # arg_arg_as), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_as_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_as_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_as_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @arg_arg_as: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_as_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # const gchar *const *arg_arg_as, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodAs", 1197s # g_variant_new ("(^as)", 1197s # arg_arg_as), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_as: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_as ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("()")); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpq19y46iw/tmpvecv3_uq.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq19y46iw/tmpvecv3_uq.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # const gchar *const *arg_arg_ao, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 3); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # g_marshal_value_peek_boxed (param_values + 2), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_ao", 1197s # (gchar *) "ao", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodAo", 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-ao", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * @arg_arg_ao: Argument passed by remote caller. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-ao", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1197s # G_TYPE_BOOLEAN, 1197s # 2, 1197s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_ao: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @arg_arg_ao: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_ao ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # const gchar *const *arg_arg_ao, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodAo", 1197s # g_variant_new ("(^ao)", 1197s # arg_arg_ao), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @arg_arg_ao: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # const gchar *const *arg_arg_ao, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodAo", 1197s # g_variant_new ("(^ao)", 1197s # arg_arg_ao), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_ao: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_ao ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("()")); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpq19y46iw/tmp1y_khmv8.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq19y46iw/tmp1y_khmv8.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # const gchar *const *arg_arg_aay, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 3); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # g_marshal_value_peek_boxed (param_values + 2), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_aay", 1197s # (gchar *) "aay", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodAay", 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-aay", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * @arg_arg_aay: Argument passed by remote caller. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-aay", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1197s # G_TYPE_BOOLEAN, 1197s # 2, 1197s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_aay: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @arg_arg_aay: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_aay ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # const gchar *const *arg_arg_aay, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodAay", 1197s # g_variant_new ("(^aay)", 1197s # arg_arg_aay), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @arg_arg_aay: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # const gchar *const *arg_arg_aay, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodAay", 1197s # g_variant_new ("(^aay)", 1197s # arg_arg_aay), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_aay: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_aay ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("()")); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpq19y46iw/tmpaazf7ufo.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq19y46iw/tmpaazf7ufo.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # GVariant *arg_arg_asv, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 3); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # g_marshal_value_peek_variant (param_values + 2), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_asv", 1197s # (gchar *) "a{sv}", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodAsv", 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-asv", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * @arg_arg_asv: Argument passed by remote caller. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-asv", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1197s # G_TYPE_BOOLEAN, 1197s # 2, 1197s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_asv: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @arg_arg_asv: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_asv ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GVariant *arg_arg_asv, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodAsv", 1197s # g_variant_new ("(@a{sv})", 1197s # arg_arg_asv), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @arg_arg_asv: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GVariant *arg_arg_asv, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodAsv", 1197s # g_variant_new ("(@a{sv})", 1197s # arg_arg_asv), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_asv: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_asv ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("()")); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1197s # tmpdir: /tmp/tmpnf5gjl0h 1197s # codegen: /usr/bin/gdbus-codegen 1197s # /tmp/tmpnf5gjl0h/tmpn4xrybbh.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnf5gjl0h/tmpn4xrybbh.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_b", 1197s # (gchar *) "b", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodB", 1197s # NULL, 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-b", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-b", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_b, 1197s # G_TYPE_BOOLEAN, 1197s # 1, 1197s # G_TYPE_DBUS_METHOD_INVOCATION); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_b: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_b ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodB", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_b_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_b_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gboolean *out_arg_b, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(b)", 1197s # out_arg_b); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_b_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_b_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gboolean *out_arg_b, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodB", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(b)", 1197s # out_arg_b); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_b: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * @arg_b: Parameter to return. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_b ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation, 1197s # gboolean arg_b) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("(b)", 1197s # arg_b)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpnf5gjl0h/tmpksocn2j1.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnf5gjl0h/tmpksocn2j1.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_y", 1197s # (gchar *) "y", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodY", 1197s # NULL, 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-y", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-y", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_y, 1197s # G_TYPE_BOOLEAN, 1197s # 1, 1197s # G_TYPE_DBUS_METHOD_INVOCATION); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_y: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_y ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodY", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_y_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_y_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # guchar *out_arg_y, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(y)", 1197s # out_arg_y); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_y_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_y_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # guchar *out_arg_y, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodY", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(y)", 1197s # out_arg_y); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_y: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * @arg_y: Parameter to return. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_y ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation, 1197s # guchar arg_y) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("(y)", 1197s # arg_y)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpnf5gjl0h/tmpan4z0bmr.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnf5gjl0h/tmpan4z0bmr.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_n", 1197s # (gchar *) "n", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodN", 1197s # NULL, 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-n", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-n", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_n, 1197s # G_TYPE_BOOLEAN, 1197s # 1, 1197s # G_TYPE_DBUS_METHOD_INVOCATION); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_n: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_n ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodN", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_n_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_n_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gint16 *out_arg_n, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(n)", 1197s # out_arg_n); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_n_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_n_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gint16 *out_arg_n, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodN", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(n)", 1197s # out_arg_n); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_n: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * @arg_n: Parameter to return. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_n ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation, 1197s # gint16 arg_n) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("(n)", 1197s # arg_n)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpnf5gjl0h/tmp2hq5vw22.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnf5gjl0h/tmp2hq5vw22.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_q", 1197s # (gchar *) "q", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodQ", 1197s # NULL, 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-q", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-q", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_q, 1197s # G_TYPE_BOOLEAN, 1197s # 1, 1197s # G_TYPE_DBUS_METHOD_INVOCATION); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_q: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_q ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodQ", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_q_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_q_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # guint16 *out_arg_q, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(q)", 1197s # out_arg_q); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_q_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_q_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # guint16 *out_arg_q, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodQ", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(q)", 1197s # out_arg_q); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_q: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * @arg_q: Parameter to return. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_q ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation, 1197s # guint16 arg_q) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("(q)", 1197s # arg_q)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpnf5gjl0h/tmpaaalr5i1.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnf5gjl0h/tmpaaalr5i1.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_i", 1197s # (gchar *) "i", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodI", 1197s # NULL, 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-i", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-i", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_i, 1197s # G_TYPE_BOOLEAN, 1197s # 1, 1197s # G_TYPE_DBUS_METHOD_INVOCATION); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_i: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_i ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodI", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_i_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_i_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gint *out_arg_i, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(i)", 1197s # out_arg_i); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_i_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_i_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gint *out_arg_i, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodI", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(i)", 1197s # out_arg_i); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_i: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * @arg_i: Parameter to return. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_i ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation, 1197s # gint arg_i) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("(i)", 1197s # arg_i)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpnf5gjl0h/tmpidhdxz7l.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnf5gjl0h/tmpidhdxz7l.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_u", 1197s # (gchar *) "u", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodU", 1197s # NULL, 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-u", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-u", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_u, 1197s # G_TYPE_BOOLEAN, 1197s # 1, 1197s # G_TYPE_DBUS_METHOD_INVOCATION); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_u: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_u ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodU", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_u_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_u_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # guint *out_arg_u, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(u)", 1197s # out_arg_u); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_u_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_u_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # guint *out_arg_u, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodU", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(u)", 1197s # out_arg_u); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_u: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * @arg_u: Parameter to return. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_u ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation, 1197s # guint arg_u) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("(u)", 1197s # arg_u)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpnf5gjl0h/tmpu1qn9cwg.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnf5gjl0h/tmpu1qn9cwg.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_x", 1197s # (gchar *) "x", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodX", 1197s # NULL, 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-x", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-x", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_x, 1197s # G_TYPE_BOOLEAN, 1197s # 1, 1197s # G_TYPE_DBUS_METHOD_INVOCATION); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_x: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_x ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodX", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_x_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_x_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gint64 *out_arg_x, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(x)", 1197s # out_arg_x); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_x_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_x_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gint64 *out_arg_x, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodX", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(x)", 1197s # out_arg_x); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_x: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * @arg_x: Parameter to return. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_x ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation, 1197s # gint64 arg_x) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("(x)", 1197s # arg_x)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpnf5gjl0h/tmpt4b29brk.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnf5gjl0h/tmpt4b29brk.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_t", 1197s # (gchar *) "t", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodT", 1197s # NULL, 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-t", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-t", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_t, 1197s # G_TYPE_BOOLEAN, 1197s # 1, 1197s # G_TYPE_DBUS_METHOD_INVOCATION); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_t: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_t ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodT", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_t_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_t_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # guint64 *out_arg_t, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(t)", 1197s # out_arg_t); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_t_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_t_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # guint64 *out_arg_t, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodT", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(t)", 1197s # out_arg_t); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_t: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * @arg_t: Parameter to return. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_t ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation, 1197s # guint64 arg_t) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("(t)", 1197s # arg_t)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpnf5gjl0h/tmpjr1umcy_.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnf5gjl0h/tmpjr1umcy_.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_d", 1197s # (gchar *) "d", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodD", 1197s # NULL, 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-d", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-d", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_d, 1197s # G_TYPE_BOOLEAN, 1197s # 1, 1197s # G_TYPE_DBUS_METHOD_INVOCATION); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_d: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_d ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodD", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_d_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_d_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gdouble *out_arg_d, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(d)", 1197s # out_arg_d); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_d_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_d_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gdouble *out_arg_d, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodD", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(d)", 1197s # out_arg_d); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_d: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * @arg_d: Parameter to return. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_d ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation, 1197s # gdouble arg_d) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("(d)", 1197s # arg_d)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpnf5gjl0h/tmp8ozwg5ct.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnf5gjl0h/tmp8ozwg5ct.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_s", 1197s # (gchar *) "s", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodS", 1197s # NULL, 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-s", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-s", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_s, 1197s # G_TYPE_BOOLEAN, 1197s # 1, 1197s # G_TYPE_DBUS_METHOD_INVOCATION); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_s: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_s ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodS", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_s_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_s_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gchar **out_arg_s, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(s)", 1197s # out_arg_s); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_s_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_s_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gchar **out_arg_s, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodS", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(s)", 1197s # out_arg_s); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_s: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * @arg_s: Parameter to return. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_s ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation, 1197s # const gchar *arg_s) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("(s)", 1197s # arg_s)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpnf5gjl0h/tmpmlbpuoua.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnf5gjl0h/tmpmlbpuoua.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_o", 1197s # (gchar *) "o", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodO", 1197s # NULL, 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-o", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-o", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_o, 1197s # G_TYPE_BOOLEAN, 1197s # 1, 1197s # G_TYPE_DBUS_METHOD_INVOCATION); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_o: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_o ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodO", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_o_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_o_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gchar **out_arg_o, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(o)", 1197s # out_arg_o); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_o_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_o_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gchar **out_arg_o, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodO", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(o)", 1197s # out_arg_o); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_o: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * @arg_o: Parameter to return. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_o ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation, 1197s # const gchar *arg_o) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("(o)", 1197s # arg_o)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpnf5gjl0h/tmp95m7vd9h.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnf5gjl0h/tmp95m7vd9h.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_g", 1197s # (gchar *) "g", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodG", 1197s # NULL, 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-g", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-g", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_g, 1197s # G_TYPE_BOOLEAN, 1197s # 1, 1197s # G_TYPE_DBUS_METHOD_INVOCATION); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_g: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_g ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodG", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_g_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_g_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gchar **out_arg_g, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(g)", 1197s # out_arg_g); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_g_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_g_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gchar **out_arg_g, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodG", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(g)", 1197s # out_arg_g); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_g: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * @arg_g: Parameter to return. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_g ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation, 1197s # const gchar *arg_g) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("(g)", 1197s # arg_g)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpnf5gjl0h/tmpsh2oyoj6.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnf5gjl0h/tmpsh2oyoj6.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_h", 1197s # (gchar *) "h", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodH", 1197s # NULL, 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-h", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-h", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_h, 1197s # G_TYPE_BOOLEAN, 1197s # 1, 1197s # G_TYPE_DBUS_METHOD_INVOCATION); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_h: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_h ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodH", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_h_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_h_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GVariant **out_arg_h, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(@h)", 1197s # out_arg_h); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_h_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_h_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GVariant **out_arg_h, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodH", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(@h)", 1197s # out_arg_h); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_h: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * @arg_h: Parameter to return. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_h ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation, 1197s # GVariant *arg_h) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("(@h)", 1197s # arg_h)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpnf5gjl0h/tmp1so0h53r.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnf5gjl0h/tmp1so0h53r.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_ay", 1197s # (gchar *) "ay", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodAy", 1197s # NULL, 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-ay", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-ay", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1197s # G_TYPE_BOOLEAN, 1197s # 1, 1197s # G_TYPE_DBUS_METHOD_INVOCATION); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_ay: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_ay ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodAy", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gchar **out_arg_ay, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(^ay)", 1197s # out_arg_ay); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gchar **out_arg_ay, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodAy", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(^ay)", 1197s # out_arg_ay); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_ay: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * @arg_ay: Parameter to return. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_ay ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation, 1197s # const gchar *arg_ay) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("(^ay)", 1197s # arg_ay)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpnf5gjl0h/tmpbgf9nh2_.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnf5gjl0h/tmpbgf9nh2_.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_as", 1197s # (gchar *) "as", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodAs", 1197s # NULL, 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-as", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-as", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_as, 1197s # G_TYPE_BOOLEAN, 1197s # 1, 1197s # G_TYPE_DBUS_METHOD_INVOCATION); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_as: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_as ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodAs", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_as_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_as_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gchar ***out_arg_as, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(^as)", 1197s # out_arg_as); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_as_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_as_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gchar ***out_arg_as, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodAs", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(^as)", 1197s # out_arg_as); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_as: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * @arg_as: Parameter to return. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_as ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation, 1197s # const gchar *const *arg_as) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("(^as)", 1197s # arg_as)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpnf5gjl0h/tmp7cr3w9um.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnf5gjl0h/tmp7cr3w9um.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_ao", 1197s # (gchar *) "ao", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodAo", 1197s # NULL, 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-ao", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-ao", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1197s # G_TYPE_BOOLEAN, 1197s # 1, 1197s # G_TYPE_DBUS_METHOD_INVOCATION); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_ao: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_ao ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodAo", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gchar ***out_arg_ao, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(^ao)", 1197s # out_arg_ao); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gchar ***out_arg_ao, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodAo", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(^ao)", 1197s # out_arg_ao); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_ao: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * @arg_ao: Parameter to return. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_ao ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation, 1197s # const gchar *const *arg_ao) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("(^ao)", 1197s # arg_ao)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpnf5gjl0h/tmp1lhtrf66.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnf5gjl0h/tmp1lhtrf66.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_aay", 1197s # (gchar *) "aay", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodAay", 1197s # NULL, 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-aay", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-aay", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1197s # G_TYPE_BOOLEAN, 1197s # 1, 1197s # G_TYPE_DBUS_METHOD_INVOCATION); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_aay: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_aay ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodAay", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gchar ***out_arg_aay, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(^aay)", 1197s # out_arg_aay); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # gchar ***out_arg_aay, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodAay", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(^aay)", 1197s # out_arg_aay); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_aay: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * @arg_aay: Parameter to return. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_aay ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation, 1197s # const gchar *const *arg_aay) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("(^aay)", 1197s # arg_aay)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # /tmp/tmpnf5gjl0h/tmpxm2w3zbe.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnf5gjl0h/tmpxm2w3zbe.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "arg_asv", 1197s # (gchar *) "a{sv}", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgMethodAsv", 1197s # NULL, 1197s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "handle-single-arg-method-asv", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-single-arg-method-asv", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1197s # G_TYPE_BOOLEAN, 1197s # 1, 1197s # G_TYPE_DBUS_METHOD_INVOCATION); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_asv: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_useful_interface_call_single_arg_method_asv ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodAsv", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GVariant **out_arg_asv, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(@a{sv})", 1197s # out_arg_asv); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1197s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1197s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1197s # OrgProjectUsefulInterface *proxy, 1197s # GVariant **out_arg_asv, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SingleArgMethodAsv", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(@a{sv})", 1197s # out_arg_asv); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_complete_single_arg_method_asv: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * @arg_asv: Parameter to return. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_useful_interface_complete_single_arg_method_asv ( 1197s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation, 1197s # GVariant *arg_asv) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("(@a{sv})", 1197s # arg_asv)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1197s # tmpdir: /tmp/tmpd5hmsicq 1197s # codegen: /usr/bin/gdbus-codegen 1197s # /tmp/tmpd5hmsicq/tmpy1r2nznd.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd5hmsicq/tmpy1r2nznd.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # gboolean arg_an_b, 1197s # guchar arg_an_y, 1197s # gint16 arg_an_n, 1197s # guint16 arg_an_q, 1197s # gint arg_an_i, 1197s # guint arg_an_u, 1197s # gint64 arg_an_x, 1197s # guint64 arg_an_t, 1197s # gdouble arg_an_d, 1197s # const gchar *arg_an_s, 1197s # const gchar *arg_an_o, 1197s # const gchar *arg_an_g, 1197s # GVariant *arg_an_h, 1197s # const gchar *arg_an_ay, 1197s # const gchar *const *arg_an_as, 1197s # const gchar *const *arg_an_ao, 1197s # const gchar *const *arg_an_aay, 1197s # GVariant *arg_an_asv, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 20); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # g_marshal_value_peek_boolean (param_values + 2), 1197s # g_marshal_value_peek_uchar (param_values + 3), 1197s # g_marshal_value_peek_int (param_values + 4), 1197s # g_marshal_value_peek_uint (param_values + 5), 1197s # g_marshal_value_peek_int (param_values + 6), 1197s # g_marshal_value_peek_uint (param_values + 7), 1197s # g_marshal_value_peek_int64 (param_values + 8), 1197s # g_marshal_value_peek_uint64 (param_values + 9), 1197s # g_marshal_value_peek_double (param_values + 10), 1197s # g_marshal_value_peek_string (param_values + 11), 1197s # g_marshal_value_peek_string (param_values + 12), 1197s # g_marshal_value_peek_string (param_values + 13), 1197s # g_marshal_value_peek_variant (param_values + 14), 1197s # g_marshal_value_peek_string (param_values + 15), 1197s # g_marshal_value_peek_boxed (param_values + 16), 1197s # g_marshal_value_peek_boxed (param_values + 17), 1197s # g_marshal_value_peek_boxed (param_values + 18), 1197s # g_marshal_value_peek_variant (param_values + 19), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.CallableIface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectCallableIface 1197s # * @title: OrgProjectCallableIface 1197s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.CallableIface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_b", 1197s # (gchar *) "b", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_y", 1197s # (gchar *) "y", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_n", 1197s # (gchar *) "n", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_q", 1197s # (gchar *) "q", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_i", 1197s # (gchar *) "i", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_u", 1197s # (gchar *) "u", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_x", 1197s # (gchar *) "x", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_t", 1197s # (gchar *) "t", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_d", 1197s # (gchar *) "d", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_s", 1197s # (gchar *) "s", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_o", 1197s # (gchar *) "o", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_g", 1197s # (gchar *) "g", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_h", 1197s # (gchar *) "h", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_ay", 1197s # (gchar *) "ay", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_as", 1197s # (gchar *) "as", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_ao", 1197s # (gchar *) "ao", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_aay", 1197s # (gchar *) "aay", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_asv", 1197s # (gchar *) "a{sv}", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1197s # { 1197s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "MethodWithManyArgs", 1197s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "handle-method-with-many-args", 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_b", 1197s # (gchar *) "b", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_y", 1197s # (gchar *) "y", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_n", 1197s # (gchar *) "n", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_q", 1197s # (gchar *) "q", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_i", 1197s # (gchar *) "i", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_u", 1197s # (gchar *) "u", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_x", 1197s # (gchar *) "x", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_t", 1197s # (gchar *) "t", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_d", 1197s # (gchar *) "d", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_s", 1197s # (gchar *) "s", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_o", 1197s # (gchar *) "o", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_g", 1197s # (gchar *) "g", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_h", 1197s # (gchar *) "h", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_ay", 1197s # (gchar *) "ay", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_as", 1197s # (gchar *) "as", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_ao", 1197s # (gchar *) "ao", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_aay", 1197s # (gchar *) "aay", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_asv", 1197s # (gchar *) "a{sv}", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1197s # { 1197s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1197s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1197s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1197s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1197s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1197s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1197s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1197s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1197s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1197s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1197s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1197s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1197s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1197s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1197s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1197s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1197s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1197s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SameMethodWithManyArgs", 1197s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "handle-same-method-with-many-args", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1197s # { 1197s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1197s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.CallableIface", 1197s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-callable-iface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_callable_iface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_callable_iface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_callable_iface_method_marshal_method_with_many_args ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _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, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # inline static void 1197s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _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, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectCallableIface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectCallableIfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1197s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.CallableIface. 1197s # */ 1197s # 1197s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectCallableIface::handle-method-with-many-args: 1197s # * @object: A #OrgProjectCallableIface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * @arg_an_b: Argument passed by remote caller. 1197s # * @arg_an_y: Argument passed by remote caller. 1197s # * @arg_an_n: Argument passed by remote caller. 1197s # * @arg_an_q: Argument passed by remote caller. 1197s # * @arg_an_i: Argument passed by remote caller. 1197s # * @arg_an_u: Argument passed by remote caller. 1197s # * @arg_an_x: Argument passed by remote caller. 1197s # * @arg_an_t: Argument passed by remote caller. 1197s # * @arg_an_d: Argument passed by remote caller. 1197s # * @arg_an_s: Argument passed by remote caller. 1197s # * @arg_an_o: Argument passed by remote caller. 1197s # * @arg_an_g: Argument passed by remote caller. 1197s # * @arg_an_h: Argument passed by remote caller. 1197s # * @arg_an_ay: Argument passed by remote caller. 1197s # * @arg_an_as: Argument passed by remote caller. 1197s # * @arg_an_ao: Argument passed by remote caller. 1197s # * @arg_an_aay: Argument passed by remote caller. 1197s # * @arg_an_asv: Argument passed by remote caller. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-method-with-many-args", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_callable_iface_method_marshal_method_with_many_args, 1197s # G_TYPE_BOOLEAN, 1197s # 19, 1197s # 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); 1197s # 1197s # /** 1197s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1197s # * @object: A #OrgProjectCallableIface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * @arg_an_b: Argument passed by remote caller. 1197s # * @arg_an_y: Argument passed by remote caller. 1197s # * @arg_an_n: Argument passed by remote caller. 1197s # * @arg_an_q: Argument passed by remote caller. 1197s # * @arg_an_i: Argument passed by remote caller. 1197s # * @arg_an_u: Argument passed by remote caller. 1197s # * @arg_an_x: Argument passed by remote caller. 1197s # * @arg_an_t: Argument passed by remote caller. 1197s # * @arg_an_d: Argument passed by remote caller. 1197s # * @arg_an_s: Argument passed by remote caller. 1197s # * @arg_an_o: Argument passed by remote caller. 1197s # * @arg_an_g: Argument passed by remote caller. 1197s # * @arg_an_h: Argument passed by remote caller. 1197s # * @arg_an_ay: Argument passed by remote caller. 1197s # * @arg_an_as: Argument passed by remote caller. 1197s # * @arg_an_ao: Argument passed by remote caller. 1197s # * @arg_an_aay: Argument passed by remote caller. 1197s # * @arg_an_asv: Argument passed by remote caller. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-same-method-with-many-args", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1197s # G_TYPE_BOOLEAN, 1197s # 19, 1197s # 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); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_call_method_with_many_args: 1197s # * @proxy: A #OrgProjectCallableIfaceProxy. 1197s # * @arg_an_b: Argument to pass with the method invocation. 1197s # * @arg_an_y: Argument to pass with the method invocation. 1197s # * @arg_an_n: Argument to pass with the method invocation. 1197s # * @arg_an_q: Argument to pass with the method invocation. 1197s # * @arg_an_i: Argument to pass with the method invocation. 1197s # * @arg_an_u: Argument to pass with the method invocation. 1197s # * @arg_an_x: Argument to pass with the method invocation. 1197s # * @arg_an_t: Argument to pass with the method invocation. 1197s # * @arg_an_d: Argument to pass with the method invocation. 1197s # * @arg_an_s: Argument to pass with the method invocation. 1197s # * @arg_an_o: Argument to pass with the method invocation. 1197s # * @arg_an_g: Argument to pass with the method invocation. 1197s # * @arg_an_h: Argument to pass with the method invocation. 1197s # * @arg_an_ay: Argument to pass with the method invocation. 1197s # * @arg_an_as: Argument to pass with the method invocation. 1197s # * @arg_an_ao: Argument to pass with the method invocation. 1197s # * @arg_an_aay: Argument to pass with the method invocation. 1197s # * @arg_an_asv: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_callable_iface_call_method_with_many_args ( 1197s # OrgProjectCallableIface *proxy, 1197s # gboolean arg_an_b, 1197s # guchar arg_an_y, 1197s # gint16 arg_an_n, 1197s # guint16 arg_an_q, 1197s # gint arg_an_i, 1197s # guint arg_an_u, 1197s # gint64 arg_an_x, 1197s # guint64 arg_an_t, 1197s # gdouble arg_an_d, 1197s # const gchar *arg_an_s, 1197s # const gchar *arg_an_o, 1197s # const gchar *arg_an_g, 1197s # GVariant *arg_an_h, 1197s # const gchar *arg_an_ay, 1197s # const gchar *const *arg_an_as, 1197s # const gchar *const *arg_an_ao, 1197s # const gchar *const *arg_an_aay, 1197s # GVariant *arg_an_asv, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "MethodWithManyArgs", 1197s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1197s # arg_an_b, 1197s # arg_an_y, 1197s # arg_an_n, 1197s # arg_an_q, 1197s # arg_an_i, 1197s # arg_an_u, 1197s # arg_an_x, 1197s # arg_an_t, 1197s # arg_an_d, 1197s # arg_an_s, 1197s # arg_an_o, 1197s # arg_an_g, 1197s # arg_an_h, 1197s # arg_an_ay, 1197s # arg_an_as, 1197s # arg_an_ao, 1197s # arg_an_aay, 1197s # arg_an_asv), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_call_method_with_many_args_finish: 1197s # * @proxy: A #OrgProjectCallableIfaceProxy. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_callable_iface_call_method_with_many_args_finish ( 1197s # OrgProjectCallableIface *proxy, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_call_method_with_many_args_sync: 1197s # * @proxy: A #OrgProjectCallableIfaceProxy. 1197s # * @arg_an_b: Argument to pass with the method invocation. 1197s # * @arg_an_y: Argument to pass with the method invocation. 1197s # * @arg_an_n: Argument to pass with the method invocation. 1197s # * @arg_an_q: Argument to pass with the method invocation. 1197s # * @arg_an_i: Argument to pass with the method invocation. 1197s # * @arg_an_u: Argument to pass with the method invocation. 1197s # * @arg_an_x: Argument to pass with the method invocation. 1197s # * @arg_an_t: Argument to pass with the method invocation. 1197s # * @arg_an_d: Argument to pass with the method invocation. 1197s # * @arg_an_s: Argument to pass with the method invocation. 1197s # * @arg_an_o: Argument to pass with the method invocation. 1197s # * @arg_an_g: Argument to pass with the method invocation. 1197s # * @arg_an_h: Argument to pass with the method invocation. 1197s # * @arg_an_ay: Argument to pass with the method invocation. 1197s # * @arg_an_as: Argument to pass with the method invocation. 1197s # * @arg_an_ao: Argument to pass with the method invocation. 1197s # * @arg_an_aay: Argument to pass with the method invocation. 1197s # * @arg_an_asv: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_callable_iface_call_method_with_many_args_sync ( 1197s # OrgProjectCallableIface *proxy, 1197s # gboolean arg_an_b, 1197s # guchar arg_an_y, 1197s # gint16 arg_an_n, 1197s # guint16 arg_an_q, 1197s # gint arg_an_i, 1197s # guint arg_an_u, 1197s # gint64 arg_an_x, 1197s # guint64 arg_an_t, 1197s # gdouble arg_an_d, 1197s # const gchar *arg_an_s, 1197s # const gchar *arg_an_o, 1197s # const gchar *arg_an_g, 1197s # GVariant *arg_an_h, 1197s # const gchar *arg_an_ay, 1197s # const gchar *const *arg_an_as, 1197s # const gchar *const *arg_an_ao, 1197s # const gchar *const *arg_an_aay, 1197s # GVariant *arg_an_asv, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "MethodWithManyArgs", 1197s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1197s # arg_an_b, 1197s # arg_an_y, 1197s # arg_an_n, 1197s # arg_an_q, 1197s # arg_an_i, 1197s # arg_an_u, 1197s # arg_an_x, 1197s # arg_an_t, 1197s # arg_an_d, 1197s # arg_an_s, 1197s # arg_an_o, 1197s # arg_an_g, 1197s # arg_an_h, 1197s # arg_an_ay, 1197s # arg_an_as, 1197s # arg_an_ao, 1197s # arg_an_aay, 1197s # arg_an_asv), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_call_same_method_with_many_args: 1197s # * @proxy: A #OrgProjectCallableIfaceProxy. 1197s # * @arg_an_b: Argument to pass with the method invocation. 1197s # * @arg_an_y: Argument to pass with the method invocation. 1197s # * @arg_an_n: Argument to pass with the method invocation. 1197s # * @arg_an_q: Argument to pass with the method invocation. 1197s # * @arg_an_i: Argument to pass with the method invocation. 1197s # * @arg_an_u: Argument to pass with the method invocation. 1197s # * @arg_an_x: Argument to pass with the method invocation. 1197s # * @arg_an_t: Argument to pass with the method invocation. 1197s # * @arg_an_d: Argument to pass with the method invocation. 1197s # * @arg_an_s: Argument to pass with the method invocation. 1197s # * @arg_an_o: Argument to pass with the method invocation. 1197s # * @arg_an_g: Argument to pass with the method invocation. 1197s # * @arg_an_h: Argument to pass with the method invocation. 1197s # * @arg_an_ay: Argument to pass with the method invocation. 1197s # * @arg_an_as: Argument to pass with the method invocation. 1197s # * @arg_an_ao: Argument to pass with the method invocation. 1197s # * @arg_an_aay: Argument to pass with the method invocation. 1197s # * @arg_an_asv: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_callable_iface_call_same_method_with_many_args ( 1197s # OrgProjectCallableIface *proxy, 1197s # gboolean arg_an_b, 1197s # guchar arg_an_y, 1197s # gint16 arg_an_n, 1197s # guint16 arg_an_q, 1197s # gint arg_an_i, 1197s # guint arg_an_u, 1197s # gint64 arg_an_x, 1197s # guint64 arg_an_t, 1197s # gdouble arg_an_d, 1197s # const gchar *arg_an_s, 1197s # const gchar *arg_an_o, 1197s # const gchar *arg_an_g, 1197s # GVariant *arg_an_h, 1197s # const gchar *arg_an_ay, 1197s # const gchar *const *arg_an_as, 1197s # const gchar *const *arg_an_ao, 1197s # const gchar *const *arg_an_aay, 1197s # GVariant *arg_an_asv, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "SameMethodWithManyArgs", 1197s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1197s # arg_an_b, 1197s # arg_an_y, 1197s # arg_an_n, 1197s # arg_an_q, 1197s # arg_an_i, 1197s # arg_an_u, 1197s # arg_an_x, 1197s # arg_an_t, 1197s # arg_an_d, 1197s # arg_an_s, 1197s # arg_an_o, 1197s # arg_an_g, 1197s # arg_an_h, 1197s # arg_an_ay, 1197s # arg_an_as, 1197s # arg_an_ao, 1197s # arg_an_aay, 1197s # arg_an_asv), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1197s # * @proxy: A #OrgProjectCallableIfaceProxy. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1197s # OrgProjectCallableIface *proxy, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1197s # * @proxy: A #OrgProjectCallableIfaceProxy. 1197s # * @arg_an_b: Argument to pass with the method invocation. 1197s # * @arg_an_y: Argument to pass with the method invocation. 1197s # * @arg_an_n: Argument to pass with the method invocation. 1197s # * @arg_an_q: Argument to pass with the method invocation. 1197s # * @arg_an_i: Argument to pass with the method invocation. 1197s # * @arg_an_u: Argument to pass with the method invocation. 1197s # * @arg_an_x: Argument to pass with the method invocation. 1197s # * @arg_an_t: Argument to pass with the method invocation. 1197s # * @arg_an_d: Argument to pass with the method invocation. 1197s # * @arg_an_s: Argument to pass with the method invocation. 1197s # * @arg_an_o: Argument to pass with the method invocation. 1197s # * @arg_an_g: Argument to pass with the method invocation. 1197s # * @arg_an_h: Argument to pass with the method invocation. 1197s # * @arg_an_ay: Argument to pass with the method invocation. 1197s # * @arg_an_as: Argument to pass with the method invocation. 1197s # * @arg_an_ao: Argument to pass with the method invocation. 1197s # * @arg_an_aay: Argument to pass with the method invocation. 1197s # * @arg_an_asv: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1197s # OrgProjectCallableIface *proxy, 1197s # gboolean arg_an_b, 1197s # guchar arg_an_y, 1197s # gint16 arg_an_n, 1197s # guint16 arg_an_q, 1197s # gint arg_an_i, 1197s # guint arg_an_u, 1197s # gint64 arg_an_x, 1197s # guint64 arg_an_t, 1197s # gdouble arg_an_d, 1197s # const gchar *arg_an_s, 1197s # const gchar *arg_an_o, 1197s # const gchar *arg_an_g, 1197s # GVariant *arg_an_h, 1197s # const gchar *arg_an_ay, 1197s # const gchar *const *arg_an_as, 1197s # const gchar *const *arg_an_ao, 1197s # const gchar *const *arg_an_aay, 1197s # GVariant *arg_an_asv, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "SameMethodWithManyArgs", 1197s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1197s # arg_an_b, 1197s # arg_an_y, 1197s # arg_an_n, 1197s # arg_an_q, 1197s # arg_an_i, 1197s # arg_an_u, 1197s # arg_an_x, 1197s # arg_an_t, 1197s # arg_an_d, 1197s # arg_an_s, 1197s # arg_an_o, 1197s # arg_an_g, 1197s # arg_an_h, 1197s # arg_an_ay, 1197s # arg_an_as, 1197s # arg_an_ao, 1197s # arg_an_aay, 1197s # arg_an_asv), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_complete_method_with_many_args: 1197s # * @object: A #OrgProjectCallableIface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_callable_iface_complete_method_with_many_args ( 1197s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("()")); 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_complete_same_method_with_many_args: 1197s # * @object: A #OrgProjectCallableIface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_callable_iface_complete_same_method_with_many_args ( 1197s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("()")); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectCallableIfaceProxy: 1197s # * 1197s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectCallableIfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectCallableIfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectCallableIfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_callable_iface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1197s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1197s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_callable_iface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # 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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectCallableIface * 1197s # org_project_callable_iface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectCallableIface * 1197s # org_project_callable_iface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_callable_iface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_callable_iface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # 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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectCallableIface * 1197s # org_project_callable_iface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectCallableIface * 1197s # org_project_callable_iface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectCallableIfaceSkeleton: 1197s # * 1197s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectCallableIfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectCallableIfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_callable_iface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_callable_iface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_callable_iface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1197s # { 1197s # _org_project_callable_iface_skeleton_handle_method_call, 1197s # _org_project_callable_iface_skeleton_handle_get_property, 1197s # _org_project_callable_iface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_callable_iface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_callable_iface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectCallableIface * 1197s # org_project_callable_iface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.OtherCallableIface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectOtherCallableIface 1197s # * @title: OrgProjectOtherCallableIface 1197s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_b", 1197s # (gchar *) "b", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_y", 1197s # (gchar *) "y", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_n", 1197s # (gchar *) "n", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_q", 1197s # (gchar *) "q", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_i", 1197s # (gchar *) "i", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_u", 1197s # (gchar *) "u", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_x", 1197s # (gchar *) "x", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_t", 1197s # (gchar *) "t", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_d", 1197s # (gchar *) "d", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_s", 1197s # (gchar *) "s", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_o", 1197s # (gchar *) "o", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_g", 1197s # (gchar *) "g", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_h", 1197s # (gchar *) "h", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_ay", 1197s # (gchar *) "ay", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_as", 1197s # (gchar *) "as", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_ao", 1197s # (gchar *) "ao", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_aay", 1197s # (gchar *) "aay", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_asv", 1197s # (gchar *) "a{sv}", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1197s # { 1197s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1197s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1197s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1197s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1197s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1197s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1197s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1197s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1197s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1197s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1197s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1197s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1197s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1197s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1197s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1197s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1197s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1197s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "MethodWithManyArgs", 1197s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "handle-method-with-many-args", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1197s # { 1197s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.OtherCallableIface", 1197s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-other-callable-iface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_other_callable_iface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_other_callable_iface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_callable_iface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _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, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectOtherCallableIface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectOtherCallableIfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1197s # */ 1197s # 1197s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1197s # * @object: A #OrgProjectOtherCallableIface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * @arg_an_b: Argument passed by remote caller. 1197s # * @arg_an_y: Argument passed by remote caller. 1197s # * @arg_an_n: Argument passed by remote caller. 1197s # * @arg_an_q: Argument passed by remote caller. 1197s # * @arg_an_i: Argument passed by remote caller. 1197s # * @arg_an_u: Argument passed by remote caller. 1197s # * @arg_an_x: Argument passed by remote caller. 1197s # * @arg_an_t: Argument passed by remote caller. 1197s # * @arg_an_d: Argument passed by remote caller. 1197s # * @arg_an_s: Argument passed by remote caller. 1197s # * @arg_an_o: Argument passed by remote caller. 1197s # * @arg_an_g: Argument passed by remote caller. 1197s # * @arg_an_h: Argument passed by remote caller. 1197s # * @arg_an_ay: Argument passed by remote caller. 1197s # * @arg_an_as: Argument passed by remote caller. 1197s # * @arg_an_ao: Argument passed by remote caller. 1197s # * @arg_an_aay: Argument passed by remote caller. 1197s # * @arg_an_asv: Argument passed by remote caller. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-method-with-many-args", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1197s # G_TYPE_BOOLEAN, 1197s # 19, 1197s # 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); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_callable_iface_call_method_with_many_args: 1197s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1197s # * @arg_an_b: Argument to pass with the method invocation. 1197s # * @arg_an_y: Argument to pass with the method invocation. 1197s # * @arg_an_n: Argument to pass with the method invocation. 1197s # * @arg_an_q: Argument to pass with the method invocation. 1197s # * @arg_an_i: Argument to pass with the method invocation. 1197s # * @arg_an_u: Argument to pass with the method invocation. 1197s # * @arg_an_x: Argument to pass with the method invocation. 1197s # * @arg_an_t: Argument to pass with the method invocation. 1197s # * @arg_an_d: Argument to pass with the method invocation. 1197s # * @arg_an_s: Argument to pass with the method invocation. 1197s # * @arg_an_o: Argument to pass with the method invocation. 1197s # * @arg_an_g: Argument to pass with the method invocation. 1197s # * @arg_an_h: Argument to pass with the method invocation. 1197s # * @arg_an_ay: Argument to pass with the method invocation. 1197s # * @arg_an_as: Argument to pass with the method invocation. 1197s # * @arg_an_ao: Argument to pass with the method invocation. 1197s # * @arg_an_aay: Argument to pass with the method invocation. 1197s # * @arg_an_asv: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_other_callable_iface_call_method_with_many_args ( 1197s # OrgProjectOtherCallableIface *proxy, 1197s # gboolean arg_an_b, 1197s # guchar arg_an_y, 1197s # gint16 arg_an_n, 1197s # guint16 arg_an_q, 1197s # gint arg_an_i, 1197s # guint arg_an_u, 1197s # gint64 arg_an_x, 1197s # guint64 arg_an_t, 1197s # gdouble arg_an_d, 1197s # const gchar *arg_an_s, 1197s # const gchar *arg_an_o, 1197s # const gchar *arg_an_g, 1197s # GVariant *arg_an_h, 1197s # const gchar *arg_an_ay, 1197s # const gchar *const *arg_an_as, 1197s # const gchar *const *arg_an_ao, 1197s # const gchar *const *arg_an_aay, 1197s # GVariant *arg_an_asv, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "MethodWithManyArgs", 1197s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1197s # arg_an_b, 1197s # arg_an_y, 1197s # arg_an_n, 1197s # arg_an_q, 1197s # arg_an_i, 1197s # arg_an_u, 1197s # arg_an_x, 1197s # arg_an_t, 1197s # arg_an_d, 1197s # arg_an_s, 1197s # arg_an_o, 1197s # arg_an_g, 1197s # arg_an_h, 1197s # arg_an_ay, 1197s # arg_an_as, 1197s # arg_an_ao, 1197s # arg_an_aay, 1197s # arg_an_asv), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1197s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1197s # OrgProjectOtherCallableIface *proxy, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1197s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1197s # * @arg_an_b: Argument to pass with the method invocation. 1197s # * @arg_an_y: Argument to pass with the method invocation. 1197s # * @arg_an_n: Argument to pass with the method invocation. 1197s # * @arg_an_q: Argument to pass with the method invocation. 1197s # * @arg_an_i: Argument to pass with the method invocation. 1197s # * @arg_an_u: Argument to pass with the method invocation. 1197s # * @arg_an_x: Argument to pass with the method invocation. 1197s # * @arg_an_t: Argument to pass with the method invocation. 1197s # * @arg_an_d: Argument to pass with the method invocation. 1197s # * @arg_an_s: Argument to pass with the method invocation. 1197s # * @arg_an_o: Argument to pass with the method invocation. 1197s # * @arg_an_g: Argument to pass with the method invocation. 1197s # * @arg_an_h: Argument to pass with the method invocation. 1197s # * @arg_an_ay: Argument to pass with the method invocation. 1197s # * @arg_an_as: Argument to pass with the method invocation. 1197s # * @arg_an_ao: Argument to pass with the method invocation. 1197s # * @arg_an_aay: Argument to pass with the method invocation. 1197s # * @arg_an_asv: Argument to pass with the method invocation. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1197s # OrgProjectOtherCallableIface *proxy, 1197s # gboolean arg_an_b, 1197s # guchar arg_an_y, 1197s # gint16 arg_an_n, 1197s # guint16 arg_an_q, 1197s # gint arg_an_i, 1197s # guint arg_an_u, 1197s # gint64 arg_an_x, 1197s # guint64 arg_an_t, 1197s # gdouble arg_an_d, 1197s # const gchar *arg_an_s, 1197s # const gchar *arg_an_o, 1197s # const gchar *arg_an_g, 1197s # GVariant *arg_an_h, 1197s # const gchar *arg_an_ay, 1197s # const gchar *const *arg_an_as, 1197s # const gchar *const *arg_an_ao, 1197s # const gchar *const *arg_an_aay, 1197s # GVariant *arg_an_asv, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "MethodWithManyArgs", 1197s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1197s # arg_an_b, 1197s # arg_an_y, 1197s # arg_an_n, 1197s # arg_an_q, 1197s # arg_an_i, 1197s # arg_an_u, 1197s # arg_an_x, 1197s # arg_an_t, 1197s # arg_an_d, 1197s # arg_an_s, 1197s # arg_an_o, 1197s # arg_an_g, 1197s # arg_an_h, 1197s # arg_an_ay, 1197s # arg_an_as, 1197s # arg_an_ao, 1197s # arg_an_aay, 1197s # arg_an_asv), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "()"); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_callable_iface_complete_method_with_many_args: 1197s # * @object: A #OrgProjectOtherCallableIface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_other_callable_iface_complete_method_with_many_args ( 1197s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("()")); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectOtherCallableIfaceProxy: 1197s # * 1197s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectOtherCallableIfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1197s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1197s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_callable_iface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_other_callable_iface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # 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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_callable_iface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectOtherCallableIface * 1197s # org_project_other_callable_iface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_callable_iface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectOtherCallableIface * 1197s # org_project_other_callable_iface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_other_callable_iface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_other_callable_iface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # 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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectOtherCallableIface * 1197s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectOtherCallableIface * 1197s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectOtherCallableIfaceSkeleton: 1197s # * 1197s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectOtherCallableIfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1197s # { 1197s # _org_project_other_callable_iface_skeleton_handle_method_call, 1197s # _org_project_other_callable_iface_skeleton_handle_get_property, 1197s # _org_project_other_callable_iface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_other_callable_iface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_callable_iface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectOtherCallableIface * 1197s # org_project_other_callable_iface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1197s # } 1197s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1197s # tmpdir: /tmp/tmpp468pa9e 1197s # codegen: /usr/bin/gdbus-codegen 1197s # /tmp/tmpp468pa9e/tmpoazc1yss.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp468pa9e/tmpoazc1yss.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (void *data1, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.CallableIface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectCallableIface 1197s # * @title: OrgProjectCallableIface 1197s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for org.project.CallableIface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_b", 1197s # (gchar *) "b", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_y", 1197s # (gchar *) "y", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_n", 1197s # (gchar *) "n", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_q", 1197s # (gchar *) "q", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_i", 1197s # (gchar *) "i", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_u", 1197s # (gchar *) "u", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_x", 1197s # (gchar *) "x", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_t", 1197s # (gchar *) "t", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_d", 1197s # (gchar *) "d", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_s", 1197s # (gchar *) "s", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_o", 1197s # (gchar *) "o", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_g", 1197s # (gchar *) "g", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_h", 1197s # (gchar *) "h", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_ay", 1197s # (gchar *) "ay", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_as", 1197s # (gchar *) "as", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_ao", 1197s # (gchar *) "ao", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_aay", 1197s # (gchar *) "aay", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_asv", 1197s # (gchar *) "a{sv}", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1197s # { 1197s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1197s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "MethodWithManyArgs", 1197s # NULL, 1197s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "handle-method-with-many-args", 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1197s # { 1197s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.CallableIface", 1197s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-callable-iface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_callable_iface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_callable_iface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_callable_iface_method_marshal_method_with_many_args ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectCallableIface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectCallableIfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.CallableIface. 1197s # */ 1197s # 1197s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * OrgProjectCallableIface::handle-method-with-many-args: 1197s # * @object: A #OrgProjectCallableIface. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-method-with-many-args", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # org_project_callable_iface_method_marshal_method_with_many_args, 1197s # G_TYPE_BOOLEAN, 1197s # 1, 1197s # G_TYPE_DBUS_METHOD_INVOCATION); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_call_method_with_many_args: 1197s # * @proxy: A #OrgProjectCallableIfaceProxy. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # org_project_callable_iface_call_method_with_many_args ( 1197s # OrgProjectCallableIface *proxy, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1197s # "MethodWithManyArgs", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_call_method_with_many_args_finish: 1197s # * @proxy: A #OrgProjectCallableIfaceProxy. 1197s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_callable_iface_call_method_with_many_args_finish ( 1197s # OrgProjectCallableIface *proxy, 1197s # gboolean *out_an_b, 1197s # guchar *out_an_y, 1197s # gint16 *out_an_n, 1197s # guint16 *out_an_q, 1197s # gint *out_an_i, 1197s # guint *out_an_u, 1197s # gint64 *out_an_x, 1197s # guint64 *out_an_t, 1197s # gdouble *out_an_d, 1197s # gchar **out_an_s, 1197s # gchar **out_an_o, 1197s # gchar **out_an_g, 1197s # GVariant **out_an_h, 1197s # gchar **out_an_ay, 1197s # gchar ***out_an_as, 1197s # gchar ***out_an_ao, 1197s # gchar ***out_an_aay, 1197s # GVariant **out_an_asv, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1197s # out_an_b, 1197s # out_an_y, 1197s # out_an_n, 1197s # out_an_q, 1197s # out_an_i, 1197s # out_an_u, 1197s # out_an_x, 1197s # out_an_t, 1197s # out_an_d, 1197s # out_an_s, 1197s # out_an_o, 1197s # out_an_g, 1197s # out_an_h, 1197s # out_an_ay, 1197s # out_an_as, 1197s # out_an_ao, 1197s # out_an_aay, 1197s # out_an_asv); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_call_method_with_many_args_sync: 1197s # * @proxy: A #OrgProjectCallableIfaceProxy. 1197s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1197s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # org_project_callable_iface_call_method_with_many_args_sync ( 1197s # OrgProjectCallableIface *proxy, 1197s # gboolean *out_an_b, 1197s # guchar *out_an_y, 1197s # gint16 *out_an_n, 1197s # guint16 *out_an_q, 1197s # gint *out_an_i, 1197s # guint *out_an_u, 1197s # gint64 *out_an_x, 1197s # guint64 *out_an_t, 1197s # gdouble *out_an_d, 1197s # gchar **out_an_s, 1197s # gchar **out_an_o, 1197s # gchar **out_an_g, 1197s # GVariant **out_an_h, 1197s # gchar **out_an_ay, 1197s # gchar ***out_an_as, 1197s # gchar ***out_an_ao, 1197s # gchar ***out_an_aay, 1197s # GVariant **out_an_asv, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1197s # "MethodWithManyArgs", 1197s # g_variant_new ("()"), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1197s # out_an_b, 1197s # out_an_y, 1197s # out_an_n, 1197s # out_an_q, 1197s # out_an_i, 1197s # out_an_u, 1197s # out_an_x, 1197s # out_an_t, 1197s # out_an_d, 1197s # out_an_s, 1197s # out_an_o, 1197s # out_an_g, 1197s # out_an_h, 1197s # out_an_ay, 1197s # out_an_as, 1197s # out_an_ao, 1197s # out_an_aay, 1197s # out_an_asv); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_complete_method_with_many_args: 1197s # * @object: A #OrgProjectCallableIface. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * @an_b: Parameter to return. 1197s # * @an_y: Parameter to return. 1197s # * @an_n: Parameter to return. 1197s # * @an_q: Parameter to return. 1197s # * @an_i: Parameter to return. 1197s # * @an_u: Parameter to return. 1197s # * @an_x: Parameter to return. 1197s # * @an_t: Parameter to return. 1197s # * @an_d: Parameter to return. 1197s # * @an_s: Parameter to return. 1197s # * @an_o: Parameter to return. 1197s # * @an_g: Parameter to return. 1197s # * @an_h: Parameter to return. 1197s # * @an_ay: Parameter to return. 1197s # * @an_as: Parameter to return. 1197s # * @an_ao: Parameter to return. 1197s # * @an_aay: Parameter to return. 1197s # * @an_asv: Parameter to return. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # org_project_callable_iface_complete_method_with_many_args ( 1197s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation, 1197s # gboolean an_b, 1197s # guchar an_y, 1197s # gint16 an_n, 1197s # guint16 an_q, 1197s # gint an_i, 1197s # guint an_u, 1197s # gint64 an_x, 1197s # guint64 an_t, 1197s # gdouble an_d, 1197s # const gchar *an_s, 1197s # const gchar *an_o, 1197s # const gchar *an_g, 1197s # GVariant *an_h, 1197s # const gchar *an_ay, 1197s # const gchar *const *an_as, 1197s # const gchar *const *an_ao, 1197s # const gchar *const *an_aay, 1197s # GVariant *an_asv) 1197s # { 1197s # g_dbus_method_invocation_return_value (invocation, 1197s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1197s # an_b, 1197s # an_y, 1197s # an_n, 1197s # an_q, 1197s # an_i, 1197s # an_u, 1197s # an_x, 1197s # an_t, 1197s # an_d, 1197s # an_s, 1197s # an_o, 1197s # an_g, 1197s # an_h, 1197s # an_ay, 1197s # an_as, 1197s # an_ao, 1197s # an_aay, 1197s # an_asv)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectCallableIfaceProxy: 1197s # * 1197s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectCallableIfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectCallableIfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectCallableIfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_callable_iface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1197s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1197s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_callable_iface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # 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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectCallableIface * 1197s # org_project_callable_iface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectCallableIface * 1197s # org_project_callable_iface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_callable_iface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_callable_iface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # 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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectCallableIface * 1197s # org_project_callable_iface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectCallableIface * 1197s # org_project_callable_iface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectCallableIfaceSkeleton: 1197s # * 1197s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectCallableIfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectCallableIfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_callable_iface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_callable_iface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_callable_iface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1197s # { 1197s # _org_project_callable_iface_skeleton_handle_method_call, 1197s # _org_project_callable_iface_skeleton_handle_get_property, 1197s # _org_project_callable_iface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_callable_iface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_callable_iface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_callable_iface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectCallableIface * 1197s # org_project_callable_iface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1197s # } 1197s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1197s # tmpdir: /tmp/tmpiclr_rk_ 1197s # codegen: /usr/bin/gdbus-codegen 1197s # /tmp/tmpiclr_rk_/tmp_txmzzrt.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiclr_rk_/tmp_txmzzrt.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1197s # (void *data1, 1197s # GUnixFDList *arg_fd_list, 1197s # GDBusMethodInvocation *arg_method_invocation, 1197s # const gchar *arg_greeting, 1197s # void *data2); 1197s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # gboolean v_return; 1197s # 1197s # g_return_if_fail (return_value != NULL); 1197s # g_return_if_fail (n_param_values == 4); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # v_return = 1197s # callback (data1, 1197s # g_marshal_value_peek_object (param_values + 1), 1197s # g_marshal_value_peek_object (param_values + 2), 1197s # g_marshal_value_peek_string (param_values + 3), 1197s # data2); 1197s # 1197s # g_value_set_boolean (return_value, v_return); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface test.FDPassing 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:TestFDPassing 1197s # * @title: TestFDPassing 1197s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1197s # * 1197s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1197s # */ 1197s # 1197s # /* ---- Introspection data for test.FDPassing ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "greeting", 1197s # (gchar *) "s", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1197s # { 1197s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "response", 1197s # (gchar *) "s", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1197s # { 1197s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "HelloFD", 1197s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1197s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "handle-hello-fd", 1197s # TRUE 1197s # }; 1197s # 1197s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1197s # { 1197s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "test.FDPassing", 1197s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1197s # NULL, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "test-fdpassing", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * test_fdpassing_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # test_fdpassing_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * test_fdpassing_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # test_fdpassing_method_marshal_hello_fd ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * TestFDPassing: 1197s # * 1197s # * Abstract interface type for the D-Bus interface test.FDPassing. 1197s # */ 1197s # 1197s # /** 1197s # * TestFDPassingIface: 1197s # * @parent_iface: The parent interface. 1197s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1197s # * 1197s # * Virtual table for the D-Bus interface test.FDPassing. 1197s # */ 1197s # 1197s # typedef TestFDPassingIface TestFDPassingInterface; 1197s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # test_fdpassing_default_init (TestFDPassingIface *iface) 1197s # { 1197s # /* GObject signals for incoming D-Bus method calls: */ 1197s # /** 1197s # * TestFDPassing::handle-hello-fd: 1197s # * @object: A #TestFDPassing. 1197s # * @invocation: A #GDBusMethodInvocation. 1197s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1197s # * @arg_greeting: Argument passed by remote caller. 1197s # * 1197s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1197s # * 1197s # * 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. 1197s # * 1197s # * 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. 1197s # */ 1197s # g_signal_new ("handle-hello-fd", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1197s # g_signal_accumulator_true_handled, 1197s # NULL, 1197s # test_fdpassing_method_marshal_hello_fd, 1197s # G_TYPE_BOOLEAN, 1197s # 3, 1197s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * test_fdpassing_call_hello_fd: 1197s # * @proxy: A #TestFDPassingProxy. 1197s # * @arg_greeting: Argument to pass with the method invocation. 1197s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1197s # * 1197s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1197s # */ 1197s # void 1197s # test_fdpassing_call_hello_fd ( 1197s # TestFDPassing *proxy, 1197s # const gchar *arg_greeting, 1197s # GUnixFDList *fd_list, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1197s # "HelloFD", 1197s # g_variant_new ("(s)", 1197s # arg_greeting), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # fd_list, 1197s # cancellable, 1197s # callback, 1197s # user_data); 1197s # } 1197s # 1197s # /** 1197s # * test_fdpassing_call_hello_fd_finish: 1197s # * @proxy: A #TestFDPassingProxy. 1197s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # test_fdpassing_call_hello_fd_finish ( 1197s # TestFDPassing *proxy, 1197s # gchar **out_response, 1197s # GUnixFDList **out_fd_list, 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(s)", 1197s # out_response); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * test_fdpassing_call_hello_fd_sync: 1197s # * @proxy: A #TestFDPassingProxy. 1197s # * @arg_greeting: Argument to pass with the method invocation. 1197s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1197s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1197s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL. 1197s # * 1197s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1197s # * 1197s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1197s # * 1197s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1197s # */ 1197s # gboolean 1197s # test_fdpassing_call_hello_fd_sync ( 1197s # TestFDPassing *proxy, 1197s # const gchar *arg_greeting, 1197s # GUnixFDList *fd_list, 1197s # gchar **out_response, 1197s # GUnixFDList **out_fd_list, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GVariant *_ret; 1197s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1197s # "HelloFD", 1197s # g_variant_new ("(s)", 1197s # arg_greeting), 1197s # G_DBUS_CALL_FLAGS_NONE, 1197s # -1, 1197s # fd_list, 1197s # out_fd_list, 1197s # cancellable, 1197s # error); 1197s # if (_ret == NULL) 1197s # goto _out; 1197s # g_variant_get (_ret, 1197s # "(s)", 1197s # out_response); 1197s # g_variant_unref (_ret); 1197s # _out: 1197s # return _ret != NULL; 1197s # } 1197s # 1197s # /** 1197s # * test_fdpassing_complete_hello_fd: 1197s # * @object: A #TestFDPassing. 1197s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1197s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1197s # * @response: Parameter to return. 1197s # * 1197s # * 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. 1197s # * 1197s # * This method will free @invocation, you cannot use it afterwards. 1197s # */ 1197s # void 1197s # test_fdpassing_complete_hello_fd ( 1197s # TestFDPassing *object G_GNUC_UNUSED, 1197s # GDBusMethodInvocation *invocation, 1197s # GUnixFDList *fd_list, 1197s # const gchar *response) 1197s # { 1197s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1197s # g_variant_new ("(s)", 1197s # response), 1197s # fd_list); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * TestFDPassingProxy: 1197s # * 1197s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * TestFDPassingProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #TestFDPassingProxy. 1197s # */ 1197s # 1197s # struct _TestFDPassingProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (TestFDPassingProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # test_fdpassing_proxy_finalize (GObject *object) 1197s # { 1197s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1197s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1197s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1197s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * test_fdpassing_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # test_fdpassing_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # 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); 1197s # } 1197s # 1197s # /** 1197s # * test_fdpassing_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with test_fdpassing_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # TestFDPassing * 1197s # test_fdpassing_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return TEST_FDPASSING (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * test_fdpassing_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # TestFDPassing * 1197s # test_fdpassing_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return TEST_FDPASSING (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * test_fdpassing_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # test_fdpassing_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # 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); 1197s # } 1197s # 1197s # /** 1197s # * test_fdpassing_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # TestFDPassing * 1197s # test_fdpassing_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return TEST_FDPASSING (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * test_fdpassing_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # TestFDPassing * 1197s # test_fdpassing_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return TEST_FDPASSING (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * TestFDPassingSkeleton: 1197s # * 1197s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * TestFDPassingSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #TestFDPassingSkeleton. 1197s # */ 1197s # 1197s # struct _TestFDPassingSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _test_fdpassing_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _test_fdpassing_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _test_fdpassing_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1197s # { 1197s # _test_fdpassing_skeleton_handle_method_call, 1197s # _test_fdpassing_skeleton_handle_get_property, 1197s # _test_fdpassing_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return test_fdpassing_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # test_fdpassing_skeleton_finalize (GObject *object) 1197s # { 1197s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * test_fdpassing_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1197s # * 1197s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1197s # */ 1197s # TestFDPassing * 1197s # test_fdpassing_skeleton_new (void) 1197s # { 1197s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1197s # } 1197s ok 15 __main__.TestCodegen.test_generate_rst 1197s # tmpdir: /tmp/tmpbhhoe_yy 1197s # codegen: /usr/bin/gdbus-codegen 1197s # /tmp/tmpbhhoe_yy/tmpyuqwpzbs.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbhhoe_yy/tmpyuqwpzbs.xml', '--generate-rst', 'test'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: 1197s ok 16 __main__.TestCodegen.test_generate_rst_method 1197s # tmpdir: /tmp/tmp0pzikc9j 1197s # codegen: /usr/bin/gdbus-codegen 1197s # /tmp/tmp0pzikc9j/tmpag3fal1u.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0pzikc9j/tmpag3fal1u.xml', '--generate-rst', 'test'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: 1197s ok 17 __main__.TestCodegen.test_generate_rst_property 1197s # tmpdir: /tmp/tmpy9je4rtu 1197s # codegen: /usr/bin/gdbus-codegen 1197s # /tmp/tmpy9je4rtu/tmpdcq8wd52.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy9je4rtu/tmpdcq8wd52.xml', '--generate-rst', 'test'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: 1197s ok 18 __main__.TestCodegen.test_generate_rst_signal 1197s # tmpdir: /tmp/tmp79_64hf0 1197s # codegen: /usr/bin/gdbus-codegen 1197s # /tmp/tmp79_64hf0/tmplee98u9b.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp79_64hf0/tmplee98u9b.xml', '--generate-rst', 'test'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: 1197s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1197s # tmpdir: /tmp/tmpyqwo7ooh 1197s # codegen: /usr/bin/gdbus-codegen 1197s # /tmp/tmpyqwo7ooh/tmpq39uder1.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyqwo7ooh/tmpq39uder1.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1197s # GClosure *closure, 1197s # GValue *return_value G_GNUC_UNUSED, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1197s # (void *data1, 1197s # gboolean arg_an_b, 1197s # guchar arg_an_y, 1197s # gint16 arg_an_n, 1197s # guint16 arg_an_q, 1197s # gint arg_an_i, 1197s # guint arg_an_u, 1197s # gint64 arg_an_x, 1197s # guint64 arg_an_t, 1197s # gdouble arg_an_d, 1197s # const gchar *arg_an_s, 1197s # const gchar *arg_an_o, 1197s # const gchar *arg_an_g, 1197s # GVariant *arg_an_h, 1197s # const gchar *arg_an_ay, 1197s # const gchar *const *arg_an_as, 1197s # const gchar *const *arg_an_ao, 1197s # const gchar *const *arg_an_aay, 1197s # GVariant *arg_an_asv, 1197s # void *data2); 1197s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # 1197s # g_return_if_fail (n_param_values == 19); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # callback (data1, 1197s # g_marshal_value_peek_boolean (param_values + 1), 1197s # g_marshal_value_peek_uchar (param_values + 2), 1197s # g_marshal_value_peek_int (param_values + 3), 1197s # g_marshal_value_peek_uint (param_values + 4), 1197s # g_marshal_value_peek_int (param_values + 5), 1197s # g_marshal_value_peek_uint (param_values + 6), 1197s # g_marshal_value_peek_int64 (param_values + 7), 1197s # g_marshal_value_peek_uint64 (param_values + 8), 1197s # g_marshal_value_peek_double (param_values + 9), 1197s # g_marshal_value_peek_string (param_values + 10), 1197s # g_marshal_value_peek_string (param_values + 11), 1197s # g_marshal_value_peek_string (param_values + 12), 1197s # g_marshal_value_peek_variant (param_values + 13), 1197s # g_marshal_value_peek_string (param_values + 14), 1197s # g_marshal_value_peek_boxed (param_values + 15), 1197s # g_marshal_value_peek_boxed (param_values + 16), 1197s # g_marshal_value_peek_boxed (param_values + 17), 1197s # g_marshal_value_peek_variant (param_values + 18), 1197s # data2); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.SignalingIface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectSignalingIface 1197s # * @title: OrgProjectSignalingIface 1197s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1197s # */ 1197s # 1197s # enum 1197s # { 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1197s # }; 1197s # 1197s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1197s # 1197s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_b", 1197s # (gchar *) "b", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_y", 1197s # (gchar *) "y", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_n", 1197s # (gchar *) "n", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_q", 1197s # (gchar *) "q", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_i", 1197s # (gchar *) "i", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_u", 1197s # (gchar *) "u", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_x", 1197s # (gchar *) "x", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_t", 1197s # (gchar *) "t", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_d", 1197s # (gchar *) "d", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_s", 1197s # (gchar *) "s", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_o", 1197s # (gchar *) "o", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_g", 1197s # (gchar *) "g", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_h", 1197s # (gchar *) "h", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_ay", 1197s # (gchar *) "ay", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_as", 1197s # (gchar *) "as", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_ao", 1197s # (gchar *) "ao", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_aay", 1197s # (gchar *) "aay", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_asv", 1197s # (gchar *) "a{sv}", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SignalWithManyArgs", 1197s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "signal-with-many-args" 1197s # }; 1197s # 1197s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.SignalingIface", 1197s # NULL, 1197s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-signaling-iface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_signaling_iface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_signaling_iface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectSignalingIfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1197s # */ 1197s # 1197s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1197s # { 1197s # /* GObject signals for received D-Bus signals: */ 1197s # /** 1197s # * OrgProjectSignalingIface::signal-with-many-args: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_b: Argument. 1197s # * @arg_an_y: Argument. 1197s # * @arg_an_n: Argument. 1197s # * @arg_an_q: Argument. 1197s # * @arg_an_i: Argument. 1197s # * @arg_an_u: Argument. 1197s # * @arg_an_x: Argument. 1197s # * @arg_an_t: Argument. 1197s # * @arg_an_d: Argument. 1197s # * @arg_an_s: Argument. 1197s # * @arg_an_o: Argument. 1197s # * @arg_an_g: Argument. 1197s # * @arg_an_h: Argument. 1197s # * @arg_an_ay: Argument. 1197s # * @arg_an_as: Argument. 1197s # * @arg_an_ao: Argument. 1197s # * @arg_an_aay: Argument. 1197s # * @arg_an_asv: Argument. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1197s # g_signal_new ("signal-with-many-args", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1197s # G_TYPE_NONE, 1197s # 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); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_signal_with_many_args: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_b: Argument to pass with the signal. 1197s # * @arg_an_y: Argument to pass with the signal. 1197s # * @arg_an_n: Argument to pass with the signal. 1197s # * @arg_an_q: Argument to pass with the signal. 1197s # * @arg_an_i: Argument to pass with the signal. 1197s # * @arg_an_u: Argument to pass with the signal. 1197s # * @arg_an_x: Argument to pass with the signal. 1197s # * @arg_an_t: Argument to pass with the signal. 1197s # * @arg_an_d: Argument to pass with the signal. 1197s # * @arg_an_s: Argument to pass with the signal. 1197s # * @arg_an_o: Argument to pass with the signal. 1197s # * @arg_an_g: Argument to pass with the signal. 1197s # * @arg_an_h: Argument to pass with the signal. 1197s # * @arg_an_ay: Argument to pass with the signal. 1197s # * @arg_an_as: Argument to pass with the signal. 1197s # * @arg_an_ao: Argument to pass with the signal. 1197s # * @arg_an_aay: Argument to pass with the signal. 1197s # * @arg_an_asv: Argument to pass with the signal. 1197s # * 1197s # * Emits the "SignalWithManyArgs" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_signal_with_many_args ( 1197s # OrgProjectSignalingIface *object, 1197s # gboolean arg_an_b, 1197s # guchar arg_an_y, 1197s # gint16 arg_an_n, 1197s # guint16 arg_an_q, 1197s # gint arg_an_i, 1197s # guint arg_an_u, 1197s # gint64 arg_an_x, 1197s # guint64 arg_an_t, 1197s # gdouble arg_an_d, 1197s # const gchar *arg_an_s, 1197s # const gchar *arg_an_o, 1197s # const gchar *arg_an_g, 1197s # GVariant *arg_an_h, 1197s # const gchar *arg_an_ay, 1197s # const gchar *const *arg_an_as, 1197s # const gchar *const *arg_an_ao, 1197s # const gchar *const *arg_an_aay, 1197s # GVariant *arg_an_asv) 1197s # { 1197s # 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); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectSignalingIfaceProxy: 1197s # * 1197s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectSignalingIfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectSignalingIfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectSignalingIfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_signaling_iface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1197s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1197s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # 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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectSignalingIface * 1197s # org_project_signaling_iface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectSignalingIface * 1197s # org_project_signaling_iface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_signaling_iface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # 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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectSignalingIface * 1197s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectSignalingIface * 1197s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectSignalingIfaceSkeleton: 1197s # * 1197s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectSignalingIfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_signaling_iface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_signaling_iface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_signaling_iface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1197s # { 1197s # _org_project_signaling_iface_skeleton_handle_method_call, 1197s # _org_project_signaling_iface_skeleton_handle_get_property, 1197s # _org_project_signaling_iface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_signaling_iface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1197s # OrgProjectSignalingIface *object, 1197s # gboolean arg_an_b, 1197s # guchar arg_an_y, 1197s # gint16 arg_an_n, 1197s # guint16 arg_an_q, 1197s # gint arg_an_i, 1197s # guint arg_an_u, 1197s # gint64 arg_an_x, 1197s # guint64 arg_an_t, 1197s # gdouble arg_an_d, 1197s # const gchar *arg_an_s, 1197s # const gchar *arg_an_o, 1197s # const gchar *arg_an_g, 1197s # GVariant *arg_an_h, 1197s # const gchar *arg_an_ay, 1197s # const gchar *const *arg_an_as, 1197s # const gchar *const *arg_an_ao, 1197s # const gchar *const *arg_an_aay, 1197s # GVariant *arg_an_asv) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1197s # arg_an_b, 1197s # arg_an_y, 1197s # arg_an_n, 1197s # arg_an_q, 1197s # arg_an_i, 1197s # arg_an_u, 1197s # arg_an_x, 1197s # arg_an_t, 1197s # arg_an_d, 1197s # arg_an_s, 1197s # arg_an_o, 1197s # arg_an_g, 1197s # arg_an_h, 1197s # arg_an_ay, 1197s # arg_an_as, 1197s # arg_an_ao, 1197s # arg_an_aay, 1197s # arg_an_asv)); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1197s # { 1197s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectSignalingIface * 1197s # org_project_signaling_iface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1197s # } 1197s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1197s # tmpdir: /tmp/tmpn4uhi04s 1197s # codegen: /usr/bin/gdbus-codegen 1197s # /tmp/tmpn4uhi04s/tmputm4ko6l.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn4uhi04s/tmputm4ko6l.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_VOID__INT64 ( 1197s # GClosure *closure, 1197s # GValue *return_value G_GNUC_UNUSED, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1197s # (void *data1, 1197s # gint64 arg_an_x, 1197s # void *data2); 1197s # _GDbusCodegenMarshalVoid_Int64Func callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # callback (data1, 1197s # g_marshal_value_peek_int64 (param_values + 1), 1197s # data2); 1197s # } 1197s # 1197s # static void 1197s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1197s # GClosure *closure, 1197s # GValue *return_value G_GNUC_UNUSED, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint G_GNUC_UNUSED, 1197s # void *marshal_data) 1197s # { 1197s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1197s # (void *data1, 1197s # guint64 arg_an_t, 1197s # void *data2); 1197s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1197s # GCClosure *cc = (GCClosure*) closure; 1197s # void *data1, *data2; 1197s # 1197s # g_return_if_fail (n_param_values == 2); 1197s # 1197s # if (G_CCLOSURE_SWAP_DATA (closure)) 1197s # { 1197s # data1 = closure->data; 1197s # data2 = g_value_peek_pointer (param_values + 0); 1197s # } 1197s # else 1197s # { 1197s # data1 = g_value_peek_pointer (param_values + 0); 1197s # data2 = closure->data; 1197s # } 1197s # 1197s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1197s # (marshal_data ? marshal_data : cc->callback); 1197s # 1197s # callback (data1, 1197s # g_marshal_value_peek_uint64 (param_values + 1), 1197s # data2); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.SignalingIface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectSignalingIface 1197s # * @title: OrgProjectSignalingIface 1197s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1197s # */ 1197s # 1197s # enum 1197s # { 1197s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1197s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1197s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1197s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1197s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1197s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1197s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1197s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1197s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1197s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1197s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1197s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1197s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1197s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1197s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1197s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1197s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1197s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1197s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1197s # }; 1197s # 1197s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1197s # 1197s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "NoArgSignal", 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "no-arg-signal" 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_b", 1197s # (gchar *) "b", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgSignalB", 1197s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "single-arg-signal-b" 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_y", 1197s # (gchar *) "y", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgSignalY", 1197s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "single-arg-signal-y" 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_n", 1197s # (gchar *) "n", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgSignalN", 1197s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "single-arg-signal-n" 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_q", 1197s # (gchar *) "q", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgSignalQ", 1197s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "single-arg-signal-q" 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_i", 1197s # (gchar *) "i", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgSignalI", 1197s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "single-arg-signal-i" 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_u", 1197s # (gchar *) "u", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgSignalU", 1197s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "single-arg-signal-u" 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_x", 1197s # (gchar *) "x", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgSignalX", 1197s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "single-arg-signal-x" 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_t", 1197s # (gchar *) "t", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgSignalT", 1197s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "single-arg-signal-t" 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_d", 1197s # (gchar *) "d", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgSignalD", 1197s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "single-arg-signal-d" 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_s", 1197s # (gchar *) "s", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgSignalS", 1197s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "single-arg-signal-s" 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_o", 1197s # (gchar *) "o", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgSignalO", 1197s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "single-arg-signal-o" 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_g", 1197s # (gchar *) "g", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgSignalG", 1197s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "single-arg-signal-g" 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_h", 1197s # (gchar *) "h", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgSignalH", 1197s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "single-arg-signal-h" 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_ay", 1197s # (gchar *) "ay", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgSignalAY", 1197s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "single-arg-signal-ay" 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_as", 1197s # (gchar *) "as", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgSignalAS", 1197s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "single-arg-signal-as" 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_ao", 1197s # (gchar *) "ao", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgSignalAO", 1197s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "single-arg-signal-ao" 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_aay", 1197s # (gchar *) "aay", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgSignalAAY", 1197s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "single-arg-signal-aay" 1197s # }; 1197s # 1197s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "an_asv", 1197s # (gchar *) "a{sv}", 1197s # NULL 1197s # }, 1197s # FALSE 1197s # }; 1197s # 1197s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SingleArgSignalASV", 1197s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1197s # NULL 1197s # }, 1197s # "single-arg-signal-asv" 1197s # }; 1197s # 1197s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1197s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.SignalingIface", 1197s # NULL, 1197s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-signaling-iface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_signaling_iface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_signaling_iface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__VOID (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__UCHAR (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__INT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__UINT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__INT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__UINT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__DOUBLE (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__STRING (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__STRING (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__STRING (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__VARIANT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__STRING (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__BOXED (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__BOXED (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__BOXED (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__VARIANT (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectSignalingIfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1197s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1197s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1197s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1197s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1197s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1197s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1197s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1197s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1197s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1197s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1197s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1197s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1197s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1197s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1197s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1197s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1197s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1197s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1197s # */ 1197s # 1197s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1197s # { 1197s # /* GObject signals for received D-Bus signals: */ 1197s # /** 1197s # * OrgProjectSignalingIface::no-arg-signal: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1197s # g_signal_new ("no-arg-signal", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1197s # G_TYPE_NONE, 1197s # 0); 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface::single-arg-signal-b: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_b: Argument. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1197s # g_signal_new ("single-arg-signal-b", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1197s # G_TYPE_NONE, 1197s # 1, G_TYPE_BOOLEAN); 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface::single-arg-signal-y: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_y: Argument. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1197s # g_signal_new ("single-arg-signal-y", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1197s # G_TYPE_NONE, 1197s # 1, G_TYPE_UCHAR); 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface::single-arg-signal-n: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_n: Argument. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1197s # g_signal_new ("single-arg-signal-n", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1197s # G_TYPE_NONE, 1197s # 1, G_TYPE_INT); 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface::single-arg-signal-q: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_q: Argument. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1197s # g_signal_new ("single-arg-signal-q", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1197s # G_TYPE_NONE, 1197s # 1, G_TYPE_UINT); 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface::single-arg-signal-i: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_i: Argument. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1197s # g_signal_new ("single-arg-signal-i", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1197s # G_TYPE_NONE, 1197s # 1, G_TYPE_INT); 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface::single-arg-signal-u: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_u: Argument. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1197s # g_signal_new ("single-arg-signal-u", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1197s # G_TYPE_NONE, 1197s # 1, G_TYPE_UINT); 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface::single-arg-signal-x: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_x: Argument. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1197s # g_signal_new ("single-arg-signal-x", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1197s # G_TYPE_NONE, 1197s # 1, G_TYPE_INT64); 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface::single-arg-signal-t: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_t: Argument. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1197s # g_signal_new ("single-arg-signal-t", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1197s # G_TYPE_NONE, 1197s # 1, G_TYPE_UINT64); 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface::single-arg-signal-d: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_d: Argument. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1197s # g_signal_new ("single-arg-signal-d", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1197s # G_TYPE_NONE, 1197s # 1, G_TYPE_DOUBLE); 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface::single-arg-signal-s: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_s: Argument. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1197s # g_signal_new ("single-arg-signal-s", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1197s # G_TYPE_NONE, 1197s # 1, G_TYPE_STRING); 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface::single-arg-signal-o: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_o: Argument. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1197s # g_signal_new ("single-arg-signal-o", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1197s # G_TYPE_NONE, 1197s # 1, G_TYPE_STRING); 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface::single-arg-signal-g: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_g: Argument. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1197s # g_signal_new ("single-arg-signal-g", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1197s # G_TYPE_NONE, 1197s # 1, G_TYPE_STRING); 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface::single-arg-signal-h: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_h: Argument. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1197s # g_signal_new ("single-arg-signal-h", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1197s # G_TYPE_NONE, 1197s # 1, G_TYPE_VARIANT); 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface::single-arg-signal-ay: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_ay: Argument. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1197s # g_signal_new ("single-arg-signal-ay", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1197s # G_TYPE_NONE, 1197s # 1, G_TYPE_STRING); 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface::single-arg-signal-as: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_as: Argument. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1197s # g_signal_new ("single-arg-signal-as", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1197s # G_TYPE_NONE, 1197s # 1, G_TYPE_STRV); 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface::single-arg-signal-ao: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_ao: Argument. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1197s # g_signal_new ("single-arg-signal-ao", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1197s # G_TYPE_NONE, 1197s # 1, G_TYPE_STRV); 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface::single-arg-signal-aay: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_aay: Argument. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1197s # g_signal_new ("single-arg-signal-aay", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1197s # G_TYPE_NONE, 1197s # 1, G_TYPE_STRV); 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface::single-arg-signal-asv: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_asv: Argument. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1197s # g_signal_new ("single-arg-signal-asv", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1197s # G_TYPE_NONE, 1197s # 1, G_TYPE_VARIANT); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_no_arg_signal: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * 1197s # * Emits the "NoArgSignal" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_no_arg_signal ( 1197s # OrgProjectSignalingIface *object) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_single_arg_signal_b: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_b: Argument to pass with the signal. 1197s # * 1197s # * Emits the "SingleArgSignalB" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_single_arg_signal_b ( 1197s # OrgProjectSignalingIface *object, 1197s # gboolean arg_an_b) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_single_arg_signal_y: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_y: Argument to pass with the signal. 1197s # * 1197s # * Emits the "SingleArgSignalY" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_single_arg_signal_y ( 1197s # OrgProjectSignalingIface *object, 1197s # guchar arg_an_y) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_single_arg_signal_n: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_n: Argument to pass with the signal. 1197s # * 1197s # * Emits the "SingleArgSignalN" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_single_arg_signal_n ( 1197s # OrgProjectSignalingIface *object, 1197s # gint16 arg_an_n) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_single_arg_signal_q: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_q: Argument to pass with the signal. 1197s # * 1197s # * Emits the "SingleArgSignalQ" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_single_arg_signal_q ( 1197s # OrgProjectSignalingIface *object, 1197s # guint16 arg_an_q) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_single_arg_signal_i: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_i: Argument to pass with the signal. 1197s # * 1197s # * Emits the "SingleArgSignalI" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_single_arg_signal_i ( 1197s # OrgProjectSignalingIface *object, 1197s # gint arg_an_i) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_single_arg_signal_u: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_u: Argument to pass with the signal. 1197s # * 1197s # * Emits the "SingleArgSignalU" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_single_arg_signal_u ( 1197s # OrgProjectSignalingIface *object, 1197s # guint arg_an_u) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_single_arg_signal_x: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_x: Argument to pass with the signal. 1197s # * 1197s # * Emits the "SingleArgSignalX" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_single_arg_signal_x ( 1197s # OrgProjectSignalingIface *object, 1197s # gint64 arg_an_x) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_single_arg_signal_t: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_t: Argument to pass with the signal. 1197s # * 1197s # * Emits the "SingleArgSignalT" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_single_arg_signal_t ( 1197s # OrgProjectSignalingIface *object, 1197s # guint64 arg_an_t) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_single_arg_signal_d: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_d: Argument to pass with the signal. 1197s # * 1197s # * Emits the "SingleArgSignalD" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_single_arg_signal_d ( 1197s # OrgProjectSignalingIface *object, 1197s # gdouble arg_an_d) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_single_arg_signal_s: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_s: Argument to pass with the signal. 1197s # * 1197s # * Emits the "SingleArgSignalS" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_single_arg_signal_s ( 1197s # OrgProjectSignalingIface *object, 1197s # const gchar *arg_an_s) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_single_arg_signal_o: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_o: Argument to pass with the signal. 1197s # * 1197s # * Emits the "SingleArgSignalO" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_single_arg_signal_o ( 1197s # OrgProjectSignalingIface *object, 1197s # const gchar *arg_an_o) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_single_arg_signal_g: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_g: Argument to pass with the signal. 1197s # * 1197s # * Emits the "SingleArgSignalG" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_single_arg_signal_g ( 1197s # OrgProjectSignalingIface *object, 1197s # const gchar *arg_an_g) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_single_arg_signal_h: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_h: Argument to pass with the signal. 1197s # * 1197s # * Emits the "SingleArgSignalH" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_single_arg_signal_h ( 1197s # OrgProjectSignalingIface *object, 1197s # GVariant *arg_an_h) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_ay: Argument to pass with the signal. 1197s # * 1197s # * Emits the "SingleArgSignalAY" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1197s # OrgProjectSignalingIface *object, 1197s # const gchar *arg_an_ay) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_single_arg_signal_as: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_as: Argument to pass with the signal. 1197s # * 1197s # * Emits the "SingleArgSignalAS" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_single_arg_signal_as ( 1197s # OrgProjectSignalingIface *object, 1197s # const gchar *const *arg_an_as) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_ao: Argument to pass with the signal. 1197s # * 1197s # * Emits the "SingleArgSignalAO" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1197s # OrgProjectSignalingIface *object, 1197s # const gchar *const *arg_an_ao) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_aay: Argument to pass with the signal. 1197s # * 1197s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1197s # OrgProjectSignalingIface *object, 1197s # const gchar *const *arg_an_aay) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * @arg_an_asv: Argument to pass with the signal. 1197s # * 1197s # * Emits the "SingleArgSignalASV" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1197s # OrgProjectSignalingIface *object, 1197s # GVariant *arg_an_asv) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectSignalingIfaceProxy: 1197s # * 1197s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectSignalingIfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectSignalingIfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectSignalingIfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_signaling_iface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1197s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1197s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # 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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectSignalingIface * 1197s # org_project_signaling_iface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectSignalingIface * 1197s # org_project_signaling_iface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_signaling_iface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # 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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectSignalingIface * 1197s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectSignalingIface * 1197s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectSignalingIfaceSkeleton: 1197s # * 1197s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectSignalingIfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_signaling_iface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_signaling_iface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_signaling_iface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1197s # { 1197s # _org_project_signaling_iface_skeleton_handle_method_call, 1197s # _org_project_signaling_iface_skeleton_handle_get_property, 1197s # _org_project_signaling_iface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_signaling_iface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1197s # OrgProjectSignalingIface *object) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1197s # OrgProjectSignalingIface *object, 1197s # gboolean arg_an_b) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1197s # arg_an_b)); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1197s # OrgProjectSignalingIface *object, 1197s # guchar arg_an_y) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1197s # arg_an_y)); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1197s # OrgProjectSignalingIface *object, 1197s # gint16 arg_an_n) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1197s # arg_an_n)); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1197s # OrgProjectSignalingIface *object, 1197s # guint16 arg_an_q) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1197s # arg_an_q)); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1197s # OrgProjectSignalingIface *object, 1197s # gint arg_an_i) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1197s # arg_an_i)); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1197s # OrgProjectSignalingIface *object, 1197s # guint arg_an_u) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1197s # arg_an_u)); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1197s # OrgProjectSignalingIface *object, 1197s # gint64 arg_an_x) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1197s # arg_an_x)); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1197s # OrgProjectSignalingIface *object, 1197s # guint64 arg_an_t) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1197s # arg_an_t)); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1197s # OrgProjectSignalingIface *object, 1197s # gdouble arg_an_d) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1197s # arg_an_d)); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1197s # OrgProjectSignalingIface *object, 1197s # const gchar *arg_an_s) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1197s # arg_an_s)); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1197s # OrgProjectSignalingIface *object, 1197s # const gchar *arg_an_o) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1197s # arg_an_o)); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1197s # OrgProjectSignalingIface *object, 1197s # const gchar *arg_an_g) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1197s # arg_an_g)); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1197s # OrgProjectSignalingIface *object, 1197s # GVariant *arg_an_h) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1197s # arg_an_h)); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1197s # OrgProjectSignalingIface *object, 1197s # const gchar *arg_an_ay) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1197s # arg_an_ay)); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1197s # OrgProjectSignalingIface *object, 1197s # const gchar *const *arg_an_as) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1197s # arg_an_as)); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1197s # OrgProjectSignalingIface *object, 1197s # const gchar *const *arg_an_ao) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1197s # arg_an_ao)); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1197s # OrgProjectSignalingIface *object, 1197s # const gchar *const *arg_an_aay) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1197s # arg_an_aay)); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1197s # OrgProjectSignalingIface *object, 1197s # GVariant *arg_an_asv) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1197s # arg_an_asv)); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1197s # { 1197s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1197s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1197s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1197s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1197s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1197s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1197s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1197s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1197s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1197s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1197s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1197s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1197s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1197s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1197s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1197s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1197s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1197s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1197s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectSignalingIface * 1197s # org_project_signaling_iface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1197s # } 1197s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1197s # tmpdir: /tmp/tmpzebu7nc5 1197s # codegen: /usr/bin/gdbus-codegen 1197s # /tmp/tmpzebu7nc5/tmp6nx_zrxx.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzebu7nc5/tmp6nx_zrxx.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.UsefulInterface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectUsefulInterface 1197s # * @title: OrgProjectUsefulInterface 1197s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1197s # */ 1197s # 1197s # enum 1197s # { 1197s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1197s # }; 1197s # 1197s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1197s # 1197s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SimpleSignal", 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "simple-signal" 1197s # }; 1197s # 1197s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1197s # { 1197s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.UsefulInterface", 1197s # NULL, 1197s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-useful-interface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_useful_interface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_useful_interface_signal_marshal_simple_signal ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__VOID (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1197s # */ 1197s # 1197s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # /* GObject signals for received D-Bus signals: */ 1197s # /** 1197s # * OrgProjectUsefulInterface::simple-signal: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1197s # g_signal_new ("simple-signal", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1197s # NULL, 1197s # NULL, 1197s # org_project_useful_interface_signal_marshal_simple_signal, 1197s # G_TYPE_NONE, 1197s # 0); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_emit_simple_signal: 1197s # * @object: A #OrgProjectUsefulInterface. 1197s # * 1197s # * Emits the "SimpleSignal" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_useful_interface_emit_simple_signal ( 1197s # OrgProjectUsefulInterface *object) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxy: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1197s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1197s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_useful_interface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # g_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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeleton: 1197s # * 1197s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectUsefulInterfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_useful_interface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_useful_interface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_useful_interface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1197s # { 1197s # _org_project_useful_interface_skeleton_handle_method_call, 1197s # _org_project_useful_interface_skeleton_handle_get_property, 1197s # _org_project_useful_interface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_useful_interface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # _org_project_useful_interface_on_signal_simple_signal ( 1197s # OrgProjectUsefulInterface *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_useful_interface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1197s # { 1197s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1197s # } 1197s # 1197s # /** 1197s # * org_project_useful_interface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectUsefulInterface * 1197s # org_project_useful_interface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.OtherIface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectOtherIface 1197s # * @title: OrgProjectOtherIface 1197s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1197s # */ 1197s # 1197s # enum 1197s # { 1197s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1197s # }; 1197s # 1197s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1197s # 1197s # /* ---- Introspection data for org.project.OtherIface ---- */ 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SimpleSignal", 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "simple-signal" 1197s # }; 1197s # 1197s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1197s # { 1197s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.OtherIface", 1197s # NULL, 1197s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-other-iface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_other_iface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_other_iface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_iface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_other_iface_signal_marshal_simple_signal ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__VOID (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectOtherIface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectOtherIfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.OtherIface. 1197s # */ 1197s # 1197s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1197s # { 1197s # /* GObject signals for received D-Bus signals: */ 1197s # /** 1197s # * OrgProjectOtherIface::simple-signal: 1197s # * @object: A #OrgProjectOtherIface. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1197s # g_signal_new ("simple-signal", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1197s # NULL, 1197s # NULL, 1197s # org_project_other_iface_signal_marshal_simple_signal, 1197s # G_TYPE_NONE, 1197s # 0); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_iface_emit_simple_signal: 1197s # * @object: A #OrgProjectOtherIface. 1197s # * 1197s # * Emits the "SimpleSignal" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_other_iface_emit_simple_signal ( 1197s # OrgProjectOtherIface *object) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectOtherIfaceProxy: 1197s # * 1197s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectOtherIfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectOtherIfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectOtherIfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_other_iface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1197s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1197s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_iface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_other_iface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # 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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_iface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectOtherIface * 1197s # org_project_other_iface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_OTHER_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_iface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectOtherIface * 1197s # org_project_other_iface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_OTHER_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_other_iface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_other_iface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # 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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_iface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectOtherIface * 1197s # org_project_other_iface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_OTHER_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_iface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectOtherIface * 1197s # org_project_other_iface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_OTHER_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectOtherIfaceSkeleton: 1197s # * 1197s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectOtherIfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectOtherIfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_other_iface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_other_iface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_other_iface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1197s # { 1197s # _org_project_other_iface_skeleton_handle_method_call, 1197s # _org_project_other_iface_skeleton_handle_get_property, 1197s # _org_project_other_iface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_other_iface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # _org_project_other_iface_on_signal_simple_signal ( 1197s # OrgProjectOtherIface *object) 1197s # { 1197s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_other_iface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1197s # { 1197s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_iface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectOtherIface * 1197s # org_project_other_iface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1197s # } 1197s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1197s # tmpdir: /tmp/tmpb9rglrp1 1197s # codegen: /usr/bin/gdbus-codegen 1197s # /tmp/tmpb9rglrp1/tmpwyz0_8u5.xml: 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # 1197s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb9rglrp1/tmpwyz0_8u5.xml', '--output', '-', '--body'] 1197s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1197s # Output: /* 1197s # * This file is generated by gdbus-codegen, do not modify it. 1197s # * 1197s # * The license of this code is the same as for the D-Bus interface description 1197s # * it was derived from. Note that it links to GLib, so must comply with the 1197s # * LGPL linking clauses. 1197s # */ 1197s # 1197s # #ifdef HAVE_CONFIG_H 1197s # # include "config.h" 1197s # #endif 1197s # 1197s # #include 1197s # #ifdef G_OS_UNIX 1197s # # include 1197s # #endif 1197s # 1197s # #ifdef G_ENABLE_DEBUG 1197s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1197s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1197s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1197s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1197s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1197s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1197s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1197s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1197s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1197s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1197s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1197s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1197s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1197s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1197s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1197s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1197s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1197s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1197s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1197s # #else /* !G_ENABLE_DEBUG */ 1197s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1197s # * Do not access GValues directly in your code. Instead, use the 1197s # * g_value_get_*() functions 1197s # */ 1197s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1197s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1197s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1197s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1197s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1197s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1197s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1197s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1197s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1197s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1197s # #endif /* !G_ENABLE_DEBUG */ 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusArgInfo parent_struct; 1197s # gboolean use_gvariant; 1197s # } _ExtendedGDBusArgInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusMethodInfo parent_struct; 1197s # const gchar *signal_name; 1197s # gboolean pass_fdlist; 1197s # } _ExtendedGDBusMethodInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusSignalInfo parent_struct; 1197s # const gchar *signal_name; 1197s # } _ExtendedGDBusSignalInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusPropertyInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # guint use_gvariant : 1; 1197s # guint emits_changed_signal : 1; 1197s # } _ExtendedGDBusPropertyInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # GDBusInterfaceInfo parent_struct; 1197s # const gchar *hyphen_name; 1197s # } _ExtendedGDBusInterfaceInfo; 1197s # 1197s # typedef struct 1197s # { 1197s # const _ExtendedGDBusPropertyInfo *info; 1197s # guint prop_id; 1197s # GValue orig_value; /* the value before the change */ 1197s # } ChangedProperty; 1197s # 1197s # static void 1197s # _changed_property_free (ChangedProperty *data) 1197s # { 1197s # g_value_unset (&data->orig_value); 1197s # g_free (data); 1197s # } 1197s # 1197s # static gboolean 1197s # _g_strv_equal0 (gchar **a, gchar **b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # guint n; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # if (g_strv_length (a) != g_strv_length (b)) 1197s # goto out; 1197s # for (n = 0; a[n] != NULL; n++) 1197s # if (g_strcmp0 (a[n], b[n]) != 0) 1197s # goto out; 1197s # ret = TRUE; 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _g_variant_equal0 (GVariant *a, GVariant *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # if (a == NULL && b == NULL) 1197s # { 1197s # ret = TRUE; 1197s # goto out; 1197s # } 1197s # if (a == NULL || b == NULL) 1197s # goto out; 1197s # ret = g_variant_equal (a, b); 1197s # out: 1197s # return ret; 1197s # } 1197s # 1197s # G_GNUC_UNUSED static gboolean 1197s # _g_value_equal (const GValue *a, const GValue *b) 1197s # { 1197s # gboolean ret = FALSE; 1197s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1197s # switch (G_VALUE_TYPE (a)) 1197s # { 1197s # case G_TYPE_BOOLEAN: 1197s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1197s # break; 1197s # case G_TYPE_UCHAR: 1197s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1197s # break; 1197s # case G_TYPE_INT: 1197s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1197s # break; 1197s # case G_TYPE_UINT: 1197s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1197s # break; 1197s # case G_TYPE_INT64: 1197s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1197s # break; 1197s # case G_TYPE_UINT64: 1197s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1197s # break; 1197s # case G_TYPE_DOUBLE: 1197s # { 1197s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1197s # gdouble da = g_value_get_double (a); 1197s # gdouble db = g_value_get_double (b); 1197s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1197s # } 1197s # break; 1197s # case G_TYPE_STRING: 1197s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1197s # break; 1197s # case G_TYPE_VARIANT: 1197s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1197s # break; 1197s # default: 1197s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1197s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1197s # else 1197s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1197s # break; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.SignalingIface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectSignalingIface 1197s # * @title: OrgProjectSignalingIface 1197s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1197s # */ 1197s # 1197s # enum 1197s # { 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1197s # }; 1197s # 1197s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1197s # 1197s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SimpleSignal", 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "simple-signal" 1197s # }; 1197s # 1197s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1197s # { 1197s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.SignalingIface", 1197s # NULL, 1197s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-signaling-iface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_signaling_iface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_signaling_iface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_signaling_iface_signal_marshal_simple_signal ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__VOID (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectSignalingIface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectSignalingIfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1197s # */ 1197s # 1197s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1197s # { 1197s # /* GObject signals for received D-Bus signals: */ 1197s # /** 1197s # * OrgProjectSignalingIface::simple-signal: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1197s # g_signal_new ("simple-signal", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1197s # NULL, 1197s # NULL, 1197s # org_project_signaling_iface_signal_marshal_simple_signal, 1197s # G_TYPE_NONE, 1197s # 0); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_emit_simple_signal: 1197s # * @object: A #OrgProjectSignalingIface. 1197s # * 1197s # * Emits the "SimpleSignal" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_emit_simple_signal ( 1197s # OrgProjectSignalingIface *object) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectSignalingIfaceProxy: 1197s # * 1197s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectSignalingIfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectSignalingIfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectSignalingIfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_signaling_iface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1197s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1197s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # 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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectSignalingIface * 1197s # org_project_signaling_iface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectSignalingIface * 1197s # org_project_signaling_iface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_signaling_iface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_signaling_iface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # 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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectSignalingIface * 1197s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectSignalingIface * 1197s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectSignalingIfaceSkeleton: 1197s # * 1197s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectSignalingIfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_signaling_iface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_signaling_iface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_signaling_iface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1197s # { 1197s # _org_project_signaling_iface_skeleton_handle_method_call, 1197s # _org_project_signaling_iface_skeleton_handle_get_property, 1197s # _org_project_signaling_iface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_signaling_iface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # _org_project_signaling_iface_on_signal_simple_signal ( 1197s # OrgProjectSignalingIface *object) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1197s # { 1197s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1197s # } 1197s # 1197s # /** 1197s # * org_project_signaling_iface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectSignalingIface * 1197s # org_project_signaling_iface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ 1197s # * Code for interface org.project.OtherSignalingIface 1197s # * ------------------------------------------------------------------------ 1197s # */ 1197s # 1197s # /** 1197s # * SECTION:OrgProjectOtherSignalingIface 1197s # * @title: OrgProjectOtherSignalingIface 1197s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1197s # * 1197s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1197s # */ 1197s # 1197s # enum 1197s # { 1197s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1197s # }; 1197s # 1197s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1197s # 1197s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1197s # 1197s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "SimpleSignal", 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "simple-signal" 1197s # }; 1197s # 1197s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1197s # { 1197s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1197s # NULL 1197s # }; 1197s # 1197s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1197s # { 1197s # { 1197s # -1, 1197s # (gchar *) "org.project.OtherSignalingIface", 1197s # NULL, 1197s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1197s # NULL, 1197s # NULL 1197s # }, 1197s # "org-project-other-signaling-iface", 1197s # }; 1197s # 1197s # 1197s # /** 1197s # * org_project_other_signaling_iface_interface_info: 1197s # * 1197s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1197s # * 1197s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1197s # */ 1197s # GDBusInterfaceInfo * 1197s # org_project_other_signaling_iface_interface_info (void) 1197s # { 1197s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_signaling_iface_override_properties: 1197s # * @klass: The class structure for a #GObject derived class. 1197s # * @property_id_begin: The property id to assign to the first overridden property. 1197s # * 1197s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1197s # * The properties are overridden in the order they are defined. 1197s # * 1197s # * Returns: The last property id. 1197s # */ 1197s # guint 1197s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1197s # { 1197s # return property_id_begin - 1; 1197s # } 1197s # 1197s # 1197s # inline static void 1197s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1197s # GClosure *closure, 1197s # GValue *return_value, 1197s # unsigned int n_param_values, 1197s # const GValue *param_values, 1197s # void *invocation_hint, 1197s # void *marshal_data) 1197s # { 1197s # g_cclosure_marshal_VOID__VOID (closure, 1197s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1197s # } 1197s # 1197s # 1197s # /** 1197s # * OrgProjectOtherSignalingIface: 1197s # * 1197s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectOtherSignalingIfaceIface: 1197s # * @parent_iface: The parent interface. 1197s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1197s # * 1197s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1197s # */ 1197s # 1197s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1197s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1197s # 1197s # static void 1197s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1197s # { 1197s # /* GObject signals for received D-Bus signals: */ 1197s # /** 1197s # * OrgProjectOtherSignalingIface::simple-signal: 1197s # * @object: A #OrgProjectOtherSignalingIface. 1197s # * 1197s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1197s # * 1197s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1197s # */ 1197s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1197s # g_signal_new ("simple-signal", 1197s # G_TYPE_FROM_INTERFACE (iface), 1197s # G_SIGNAL_RUN_LAST, 1197s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1197s # NULL, 1197s # NULL, 1197s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1197s # G_TYPE_NONE, 1197s # 0); 1197s # 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_signaling_iface_emit_simple_signal: 1197s # * @object: A #OrgProjectOtherSignalingIface. 1197s # * 1197s # * Emits the "SimpleSignal" D-Bus signal. 1197s # */ 1197s # void 1197s # org_project_other_signaling_iface_emit_simple_signal ( 1197s # OrgProjectOtherSignalingIface *object) 1197s # { 1197s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1197s # } 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectOtherSignalingIfaceProxy: 1197s # * 1197s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectOtherSignalingIfaceProxyClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1197s # */ 1197s # 1197s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1197s # { 1197s # GData *qdata; 1197s # }; 1197s # 1197s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1197s # { 1197s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1197s # g_datalist_clear (&proxy->priv->qdata); 1197s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1197s # guint prop_id G_GNUC_UNUSED, 1197s # const GValue *value G_GNUC_UNUSED, 1197s # GParamSpec *pspec G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1197s # const gchar *sender_name G_GNUC_UNUSED, 1197s # const gchar *signal_name, 1197s # GVariant *parameters) 1197s # { 1197s # _ExtendedGDBusSignalInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # gsize n; 1197s # guint signal_id; 1197s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1197s # if (info == NULL) 1197s # return; 1197s # num_params = g_variant_n_children (parameters); 1197s # paramv = g_new0 (GValue, num_params + 1); 1197s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1197s # g_value_set_object (¶mv[0], proxy); 1197s # g_variant_iter_init (&iter, parameters); 1197s # n = 1; 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1197s # g_signal_emitv (paramv, signal_id, 0, NULL); 1197s # for (n = 0; n < num_params + 1; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static void 1197s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1197s # GVariant *changed_properties, 1197s # const gchar *const *invalidated_properties) 1197s # { 1197s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1197s # guint n; 1197s # const gchar *key; 1197s # GVariantIter *iter; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # g_variant_get (changed_properties, "a{sv}", &iter); 1197s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1197s # g_datalist_remove_data (&proxy->priv->qdata, key); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # g_variant_iter_free (iter); 1197s # for (n = 0; invalidated_properties[n] != NULL; n++) 1197s # { 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1197s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1197s # if (info != NULL) 1197s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1197s # } 1197s # } 1197s # 1197s # static void 1197s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1197s # #else 1197s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1197s # #endif 1197s # 1197s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1197s # } 1197s # 1197s # static void 1197s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusProxyClass *proxy_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1197s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1197s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1197s # 1197s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1197s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1197s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_signaling_iface_proxy_new: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_other_signaling_iface_proxy_new ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # 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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_signaling_iface_proxy_new_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectOtherSignalingIface * 1197s # org_project_other_signaling_iface_proxy_new_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_signaling_iface_proxy_new_sync: 1197s # * @connection: A #GDBusConnection. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectOtherSignalingIface * 1197s # org_project_other_signaling_iface_proxy_new_sync ( 1197s # GDBusConnection *connection, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /** 1197s # * org_project_other_signaling_iface_proxy_new_for_bus: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1197s # * @user_data: User data to pass to @callback. 1197s # * 1197s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1197s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1197s # * 1197s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1197s # */ 1197s # void 1197s # org_project_other_signaling_iface_proxy_new_for_bus ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GAsyncReadyCallback callback, 1197s # gpointer user_data) 1197s # { 1197s # 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); 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1197s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectOtherSignalingIface * 1197s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1197s # GAsyncResult *res, 1197s # GError **error) 1197s # { 1197s # GObject *ret; 1197s # GObject *source_object; 1197s # source_object = g_async_result_get_source_object (res); 1197s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1197s # g_object_unref (source_object); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1197s # * @bus_type: A #GBusType. 1197s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1197s # * @name: A bus name (well-known or unique). 1197s # * @object_path: An object path. 1197s # * @cancellable: (nullable): A #GCancellable or %NULL. 1197s # * @error: Return location for error or %NULL 1197s # * 1197s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1197s # * 1197s # * The calling thread is blocked until a reply is received. 1197s # * 1197s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1197s # */ 1197s # OrgProjectOtherSignalingIface * 1197s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1197s # GBusType bus_type, 1197s # GDBusProxyFlags flags, 1197s # const gchar *name, 1197s # const gchar *object_path, 1197s # GCancellable *cancellable, 1197s # GError **error) 1197s # { 1197s # GInitable *ret; 1197s # 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); 1197s # if (ret != NULL) 1197s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1197s # else 1197s # return NULL; 1197s # } 1197s # 1197s # 1197s # /* ------------------------------------------------------------------------ */ 1197s # 1197s # /** 1197s # * OrgProjectOtherSignalingIfaceSkeleton: 1197s # * 1197s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1197s # */ 1197s # 1197s # /** 1197s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1197s # * @parent_class: The parent class. 1197s # * 1197s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1197s # */ 1197s # 1197s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1197s # { 1197s # GValue *properties; 1197s # GList *changed_properties; 1197s # GSource *changed_properties_idle_source; 1197s # GMainContext *context; 1197s # GMutex lock; 1197s # }; 1197s # 1197s # static void 1197s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name, 1197s # const gchar *method_name, 1197s # GVariant *parameters, 1197s # GDBusMethodInvocation *invocation, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1197s # _ExtendedGDBusMethodInfo *info; 1197s # GVariantIter iter; 1197s # GVariant *child; 1197s # GValue *paramv; 1197s # gsize num_params; 1197s # guint num_extra; 1197s # gsize n; 1197s # guint signal_id; 1197s # GValue return_value = G_VALUE_INIT; 1197s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1197s # g_assert (info != NULL); 1197s # num_params = g_variant_n_children (parameters); 1197s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1197s # n = 0; 1197s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1197s # g_value_set_object (¶mv[n++], skeleton); 1197s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1197s # g_value_set_object (¶mv[n++], invocation); 1197s # if (info->pass_fdlist) 1197s # { 1197s # #ifdef G_OS_UNIX 1197s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1197s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1197s # #else 1197s # g_assert_not_reached (); 1197s # #endif 1197s # } 1197s # g_variant_iter_init (&iter, parameters); 1197s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1197s # { 1197s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1197s # if (arg_info->use_gvariant) 1197s # { 1197s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1197s # g_value_set_variant (¶mv[n], child); 1197s # n++; 1197s # } 1197s # else 1197s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1197s # g_variant_unref (child); 1197s # } 1197s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1197s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1197s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1197s # if (!g_value_get_boolean (&return_value)) 1197s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1197s # g_value_unset (&return_value); 1197s # for (n = 0; n < num_params + num_extra; n++) 1197s # g_value_unset (¶mv[n]); 1197s # g_free (paramv); 1197s # } 1197s # 1197s # static GVariant * 1197s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # GVariant *ret; 1197s # ret = NULL; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # g_value_init (&value, pspec->value_type); 1197s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1197s # g_value_unset (&value); 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static gboolean 1197s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1197s # GDBusConnection *connection G_GNUC_UNUSED, 1197s # const gchar *sender G_GNUC_UNUSED, 1197s # const gchar *object_path G_GNUC_UNUSED, 1197s # const gchar *interface_name G_GNUC_UNUSED, 1197s # const gchar *property_name, 1197s # GVariant *variant, 1197s # GError **error, 1197s # gpointer user_data) 1197s # { 1197s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1197s # GValue value = G_VALUE_INIT; 1197s # GParamSpec *pspec; 1197s # _ExtendedGDBusPropertyInfo *info; 1197s # gboolean ret; 1197s # ret = FALSE; 1197s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1197s # g_assert (info != NULL); 1197s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1197s # if (pspec == NULL) 1197s # { 1197s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1197s # } 1197s # else 1197s # { 1197s # if (info->use_gvariant) 1197s # g_value_set_variant (&value, variant); 1197s # else 1197s # g_dbus_gvariant_to_gvalue (variant, &value); 1197s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1197s # g_value_unset (&value); 1197s # ret = TRUE; 1197s # } 1197s # return ret; 1197s # } 1197s # 1197s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1197s # { 1197s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1197s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1197s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1197s # {NULL} 1197s # }; 1197s # 1197s # static GDBusInterfaceInfo * 1197s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return org_project_other_signaling_iface_interface_info (); 1197s # } 1197s # 1197s # static GDBusInterfaceVTable * 1197s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1197s # { 1197s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1197s # } 1197s # 1197s # static GVariant * 1197s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1197s # { 1197s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1197s # 1197s # GVariantBuilder builder; 1197s # guint n; 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1197s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #else 1197s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1197s # #endif 1197s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1197s # goto out; 1197s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1197s # { 1197s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1197s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1197s # { 1197s # GVariant *value; 1197s # 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); 1197s # if (value != NULL) 1197s # { 1197s # g_variant_take_ref (value); 1197s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1197s # g_variant_unref (value); 1197s # } 1197s # } 1197s # } 1197s # out: 1197s # return g_variant_builder_end (&builder); 1197s # } 1197s # 1197s # static void 1197s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1197s # { 1197s # } 1197s # 1197s # static void 1197s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1197s # OrgProjectOtherSignalingIface *object) 1197s # { 1197s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1197s # 1197s # GList *connections, *l; 1197s # GVariant *signal_variant; 1197s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1197s # 1197s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1197s # for (l = connections; l != NULL; l = l->next) 1197s # { 1197s # GDBusConnection *connection = l->data; 1197s # g_dbus_connection_emit_signal (connection, 1197s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1197s # signal_variant, NULL); 1197s # } 1197s # g_variant_unref (signal_variant); 1197s # g_list_free_full (connections, g_object_unref); 1197s # } 1197s # 1197s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1197s # 1197s # #else 1197s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1197s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1197s # 1197s # #endif 1197s # static void 1197s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1197s # { 1197s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1197s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1197s # if (skeleton->priv->changed_properties_idle_source != NULL) 1197s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1197s # g_main_context_unref (skeleton->priv->context); 1197s # g_mutex_clear (&skeleton->priv->lock); 1197s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1197s # } 1197s # 1197s # static void 1197s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1197s # { 1197s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1197s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1197s # #else 1197s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1197s # #endif 1197s # 1197s # g_mutex_init (&skeleton->priv->lock); 1197s # skeleton->priv->context = g_main_context_ref_thread_default (); 1197s # } 1197s # 1197s # static void 1197s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1197s # { 1197s # GObjectClass *gobject_class; 1197s # GDBusInterfaceSkeletonClass *skeleton_class; 1197s # 1197s # gobject_class = G_OBJECT_CLASS (klass); 1197s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1197s # 1197s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1197s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1197s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1197s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1197s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1197s # 1197s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1197s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1197s # #endif 1197s # } 1197s # 1197s # static void 1197s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1197s # { 1197s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1197s # } 1197s # 1197s # /** 1197s # * org_project_other_signaling_iface_skeleton_new: 1197s # * 1197s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1197s # * 1197s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1197s # */ 1197s # OrgProjectOtherSignalingIface * 1197s # org_project_other_signaling_iface_skeleton_new (void) 1197s # { 1197s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1197s # } 1197s # Executing: glib/codegen.py.test 1198s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1198s # tmpdir: /tmp/tmpoq58rqzx 1198s # codegen: /usr/bin/gdbus-codegen 1198s # /tmp/tmpoq58rqzx/tmp32cx6t_1.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoq58rqzx/tmp32cx6t_1.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.SignalingIface 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectSignalingIface 1198s # * @title: OrgProjectSignalingIface 1198s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1198s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1198s # }; 1198s # 1198s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1198s # 1198s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SimpleSignal", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "simple-signal" 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "arg_b", 1198s # (gchar *) "b", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SingleArgSignalB", 1198s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1198s # NULL 1198s # }, 1198s # "single-arg-signal-b" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.SignalingIface", 1198s # NULL, 1198s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-signaling-iface", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_signaling_iface_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_simple_signal ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceIface: 1198s # * @parent_iface: The parent interface. 1198s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1198s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * OrgProjectSignalingIface::simple-signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1198s # g_signal_new ("simple-signal", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_simple_signal, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface::single-arg-signal-b: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_b: Argument. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1198s # g_signal_new ("single-arg-signal-b", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1198s # G_TYPE_NONE, 1198s # 1, G_TYPE_BOOLEAN); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_simple_signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * Emits the "SimpleSignal" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_single_arg_signal_b: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_b: Argument to pass with the signal. 1198s # * 1198s # * Emits the "SingleArgSignalB" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_single_arg_signal_b ( 1198s # OrgProjectSignalingIface *object, 1198s # gboolean arg_arg_b) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxy: 1198s # * 1198s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1198s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1198s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeleton: 1198s # * 1198s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_signaling_iface_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_signaling_iface_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_signaling_iface_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1198s # { 1198s # _org_project_signaling_iface_skeleton_handle_method_call, 1198s # _org_project_signaling_iface_skeleton_handle_get_property, 1198s # _org_project_signaling_iface_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_signaling_iface_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1198s # OrgProjectSignalingIface *object, 1198s # gboolean arg_arg_b) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1198s # arg_arg_b)); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1198s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1198s # } 1198s # /tmp/tmpoq58rqzx/tmpx1tom67t.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoq58rqzx/tmpx1tom67t.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.SignalingIface 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectSignalingIface 1198s # * @title: OrgProjectSignalingIface 1198s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1198s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1198s # }; 1198s # 1198s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1198s # 1198s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SimpleSignal", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "simple-signal" 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "arg_y", 1198s # (gchar *) "y", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SingleArgSignalY", 1198s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1198s # NULL 1198s # }, 1198s # "single-arg-signal-y" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.SignalingIface", 1198s # NULL, 1198s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-signaling-iface", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_signaling_iface_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_simple_signal ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__UCHAR (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceIface: 1198s # * @parent_iface: The parent interface. 1198s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1198s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * OrgProjectSignalingIface::simple-signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1198s # g_signal_new ("simple-signal", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_simple_signal, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface::single-arg-signal-y: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_y: Argument. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1198s # g_signal_new ("single-arg-signal-y", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1198s # G_TYPE_NONE, 1198s # 1, G_TYPE_UCHAR); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_simple_signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * Emits the "SimpleSignal" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_single_arg_signal_y: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_y: Argument to pass with the signal. 1198s # * 1198s # * Emits the "SingleArgSignalY" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_single_arg_signal_y ( 1198s # OrgProjectSignalingIface *object, 1198s # guchar arg_arg_y) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxy: 1198s # * 1198s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1198s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1198s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeleton: 1198s # * 1198s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_signaling_iface_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_signaling_iface_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_signaling_iface_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1198s # { 1198s # _org_project_signaling_iface_skeleton_handle_method_call, 1198s # _org_project_signaling_iface_skeleton_handle_get_property, 1198s # _org_project_signaling_iface_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_signaling_iface_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1198s # OrgProjectSignalingIface *object, 1198s # guchar arg_arg_y) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1198s # arg_arg_y)); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1198s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1198s # } 1198s # /tmp/tmpoq58rqzx/tmpyri9gvn1.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoq58rqzx/tmpyri9gvn1.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.SignalingIface 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectSignalingIface 1198s # * @title: OrgProjectSignalingIface 1198s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1198s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1198s # }; 1198s # 1198s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1198s # 1198s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SimpleSignal", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "simple-signal" 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "arg_n", 1198s # (gchar *) "n", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SingleArgSignalN", 1198s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1198s # NULL 1198s # }, 1198s # "single-arg-signal-n" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.SignalingIface", 1198s # NULL, 1198s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-signaling-iface", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_signaling_iface_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_simple_signal ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__INT (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceIface: 1198s # * @parent_iface: The parent interface. 1198s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1198s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * OrgProjectSignalingIface::simple-signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1198s # g_signal_new ("simple-signal", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_simple_signal, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface::single-arg-signal-n: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_n: Argument. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1198s # g_signal_new ("single-arg-signal-n", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1198s # G_TYPE_NONE, 1198s # 1, G_TYPE_INT); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_simple_signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * Emits the "SimpleSignal" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_single_arg_signal_n: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_n: Argument to pass with the signal. 1198s # * 1198s # * Emits the "SingleArgSignalN" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_single_arg_signal_n ( 1198s # OrgProjectSignalingIface *object, 1198s # gint16 arg_arg_n) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxy: 1198s # * 1198s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1198s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1198s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeleton: 1198s # * 1198s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_signaling_iface_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_signaling_iface_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_signaling_iface_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1198s # { 1198s # _org_project_signaling_iface_skeleton_handle_method_call, 1198s # _org_project_signaling_iface_skeleton_handle_get_property, 1198s # _org_project_signaling_iface_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_signaling_iface_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1198s # OrgProjectSignalingIface *object, 1198s # gint16 arg_arg_n) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1198s # arg_arg_n)); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1198s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1198s # } 1198s # /tmp/tmpoq58rqzx/tmpa70qefit.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoq58rqzx/tmpa70qefit.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.SignalingIface 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectSignalingIface 1198s # * @title: OrgProjectSignalingIface 1198s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1198s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1198s # }; 1198s # 1198s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1198s # 1198s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SimpleSignal", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "simple-signal" 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "arg_q", 1198s # (gchar *) "q", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SingleArgSignalQ", 1198s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1198s # NULL 1198s # }, 1198s # "single-arg-signal-q" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.SignalingIface", 1198s # NULL, 1198s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-signaling-iface", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_signaling_iface_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_simple_signal ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__UINT (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceIface: 1198s # * @parent_iface: The parent interface. 1198s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1198s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * OrgProjectSignalingIface::simple-signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1198s # g_signal_new ("simple-signal", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_simple_signal, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface::single-arg-signal-q: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_q: Argument. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1198s # g_signal_new ("single-arg-signal-q", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1198s # G_TYPE_NONE, 1198s # 1, G_TYPE_UINT); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_simple_signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * Emits the "SimpleSignal" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_single_arg_signal_q: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_q: Argument to pass with the signal. 1198s # * 1198s # * Emits the "SingleArgSignalQ" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_single_arg_signal_q ( 1198s # OrgProjectSignalingIface *object, 1198s # guint16 arg_arg_q) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxy: 1198s # * 1198s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1198s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1198s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeleton: 1198s # * 1198s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_signaling_iface_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_signaling_iface_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_signaling_iface_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1198s # { 1198s # _org_project_signaling_iface_skeleton_handle_method_call, 1198s # _org_project_signaling_iface_skeleton_handle_get_property, 1198s # _org_project_signaling_iface_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_signaling_iface_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1198s # OrgProjectSignalingIface *object, 1198s # guint16 arg_arg_q) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1198s # arg_arg_q)); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1198s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1198s # } 1198s # /tmp/tmpoq58rqzx/tmplzk8_rkr.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoq58rqzx/tmplzk8_rkr.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.SignalingIface 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectSignalingIface 1198s # * @title: OrgProjectSignalingIface 1198s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1198s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1198s # }; 1198s # 1198s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1198s # 1198s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SimpleSignal", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "simple-signal" 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "arg_i", 1198s # (gchar *) "i", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SingleArgSignalI", 1198s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1198s # NULL 1198s # }, 1198s # "single-arg-signal-i" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.SignalingIface", 1198s # NULL, 1198s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-signaling-iface", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_signaling_iface_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_simple_signal ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__INT (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceIface: 1198s # * @parent_iface: The parent interface. 1198s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1198s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * OrgProjectSignalingIface::simple-signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1198s # g_signal_new ("simple-signal", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_simple_signal, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface::single-arg-signal-i: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_i: Argument. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1198s # g_signal_new ("single-arg-signal-i", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1198s # G_TYPE_NONE, 1198s # 1, G_TYPE_INT); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_simple_signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * Emits the "SimpleSignal" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_single_arg_signal_i: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_i: Argument to pass with the signal. 1198s # * 1198s # * Emits the "SingleArgSignalI" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_single_arg_signal_i ( 1198s # OrgProjectSignalingIface *object, 1198s # gint arg_arg_i) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxy: 1198s # * 1198s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1198s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1198s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeleton: 1198s # * 1198s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_signaling_iface_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_signaling_iface_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_signaling_iface_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1198s # { 1198s # _org_project_signaling_iface_skeleton_handle_method_call, 1198s # _org_project_signaling_iface_skeleton_handle_get_property, 1198s # _org_project_signaling_iface_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_signaling_iface_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1198s # OrgProjectSignalingIface *object, 1198s # gint arg_arg_i) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1198s # arg_arg_i)); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1198s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1198s # } 1198s # /tmp/tmpoq58rqzx/tmpg3i431v4.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoq58rqzx/tmpg3i431v4.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.SignalingIface 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectSignalingIface 1198s # * @title: OrgProjectSignalingIface 1198s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1198s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1198s # }; 1198s # 1198s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1198s # 1198s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SimpleSignal", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "simple-signal" 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "arg_u", 1198s # (gchar *) "u", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SingleArgSignalU", 1198s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1198s # NULL 1198s # }, 1198s # "single-arg-signal-u" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.SignalingIface", 1198s # NULL, 1198s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-signaling-iface", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_signaling_iface_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_simple_signal ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__UINT (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceIface: 1198s # * @parent_iface: The parent interface. 1198s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1198s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * OrgProjectSignalingIface::simple-signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1198s # g_signal_new ("simple-signal", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_simple_signal, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface::single-arg-signal-u: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_u: Argument. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1198s # g_signal_new ("single-arg-signal-u", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1198s # G_TYPE_NONE, 1198s # 1, G_TYPE_UINT); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_simple_signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * Emits the "SimpleSignal" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_single_arg_signal_u: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_u: Argument to pass with the signal. 1198s # * 1198s # * Emits the "SingleArgSignalU" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_single_arg_signal_u ( 1198s # OrgProjectSignalingIface *object, 1198s # guint arg_arg_u) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxy: 1198s # * 1198s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1198s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1198s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeleton: 1198s # * 1198s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_signaling_iface_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_signaling_iface_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_signaling_iface_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1198s # { 1198s # _org_project_signaling_iface_skeleton_handle_method_call, 1198s # _org_project_signaling_iface_skeleton_handle_get_property, 1198s # _org_project_signaling_iface_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_signaling_iface_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1198s # OrgProjectSignalingIface *object, 1198s # guint arg_arg_u) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1198s # arg_arg_u)); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1198s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1198s # } 1198s # /tmp/tmpoq58rqzx/tmpmxbt_psi.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoq58rqzx/tmpmxbt_psi.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static void 1198s # _g_dbus_codegen_marshal_VOID__INT64 ( 1198s # GClosure *closure, 1198s # GValue *return_value G_GNUC_UNUSED, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint G_GNUC_UNUSED, 1198s # void *marshal_data) 1198s # { 1198s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1198s # (void *data1, 1198s # gint64 arg_arg_x, 1198s # void *data2); 1198s # _GDbusCodegenMarshalVoid_Int64Func callback; 1198s # GCClosure *cc = (GCClosure*) closure; 1198s # void *data1, *data2; 1198s # 1198s # g_return_if_fail (n_param_values == 2); 1198s # 1198s # if (G_CCLOSURE_SWAP_DATA (closure)) 1198s # { 1198s # data1 = closure->data; 1198s # data2 = g_value_peek_pointer (param_values + 0); 1198s # } 1198s # else 1198s # { 1198s # data1 = g_value_peek_pointer (param_values + 0); 1198s # data2 = closure->data; 1198s # } 1198s # 1198s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1198s # (marshal_data ? marshal_data : cc->callback); 1198s # 1198s # callback (data1, 1198s # g_marshal_value_peek_int64 (param_values + 1), 1198s # data2); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.SignalingIface 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectSignalingIface 1198s # * @title: OrgProjectSignalingIface 1198s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1198s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1198s # }; 1198s # 1198s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1198s # 1198s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SimpleSignal", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "simple-signal" 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "arg_x", 1198s # (gchar *) "x", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SingleArgSignalX", 1198s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1198s # NULL 1198s # }, 1198s # "single-arg-signal-x" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.SignalingIface", 1198s # NULL, 1198s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-signaling-iface", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_signaling_iface_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_simple_signal ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceIface: 1198s # * @parent_iface: The parent interface. 1198s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1198s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * OrgProjectSignalingIface::simple-signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1198s # g_signal_new ("simple-signal", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_simple_signal, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface::single-arg-signal-x: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_x: Argument. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1198s # g_signal_new ("single-arg-signal-x", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1198s # G_TYPE_NONE, 1198s # 1, G_TYPE_INT64); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_simple_signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * Emits the "SimpleSignal" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_single_arg_signal_x: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_x: Argument to pass with the signal. 1198s # * 1198s # * Emits the "SingleArgSignalX" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_single_arg_signal_x ( 1198s # OrgProjectSignalingIface *object, 1198s # gint64 arg_arg_x) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxy: 1198s # * 1198s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1198s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1198s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeleton: 1198s # * 1198s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_signaling_iface_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_signaling_iface_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_signaling_iface_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1198s # { 1198s # _org_project_signaling_iface_skeleton_handle_method_call, 1198s # _org_project_signaling_iface_skeleton_handle_get_property, 1198s # _org_project_signaling_iface_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_signaling_iface_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1198s # OrgProjectSignalingIface *object, 1198s # gint64 arg_arg_x) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1198s # arg_arg_x)); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1198s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1198s # } 1198s # /tmp/tmpoq58rqzx/tmp_cjmmw_x.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoq58rqzx/tmp_cjmmw_x.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static void 1198s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1198s # GClosure *closure, 1198s # GValue *return_value G_GNUC_UNUSED, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint G_GNUC_UNUSED, 1198s # void *marshal_data) 1198s # { 1198s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1198s # (void *data1, 1198s # guint64 arg_arg_t, 1198s # void *data2); 1198s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1198s # GCClosure *cc = (GCClosure*) closure; 1198s # void *data1, *data2; 1198s # 1198s # g_return_if_fail (n_param_values == 2); 1198s # 1198s # if (G_CCLOSURE_SWAP_DATA (closure)) 1198s # { 1198s # data1 = closure->data; 1198s # data2 = g_value_peek_pointer (param_values + 0); 1198s # } 1198s # else 1198s # { 1198s # data1 = g_value_peek_pointer (param_values + 0); 1198s # data2 = closure->data; 1198s # } 1198s # 1198s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1198s # (marshal_data ? marshal_data : cc->callback); 1198s # 1198s # callback (data1, 1198s # g_marshal_value_peek_uint64 (param_values + 1), 1198s # data2); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.SignalingIface 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectSignalingIface 1198s # * @title: OrgProjectSignalingIface 1198s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1198s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1198s # }; 1198s # 1198s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1198s # 1198s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SimpleSignal", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "simple-signal" 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "arg_t", 1198s # (gchar *) "t", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SingleArgSignalT", 1198s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1198s # NULL 1198s # }, 1198s # "single-arg-signal-t" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.SignalingIface", 1198s # NULL, 1198s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-signaling-iface", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_signaling_iface_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_simple_signal ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceIface: 1198s # * @parent_iface: The parent interface. 1198s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1198s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * OrgProjectSignalingIface::simple-signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1198s # g_signal_new ("simple-signal", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_simple_signal, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface::single-arg-signal-t: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_t: Argument. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1198s # g_signal_new ("single-arg-signal-t", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1198s # G_TYPE_NONE, 1198s # 1, G_TYPE_UINT64); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_simple_signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * Emits the "SimpleSignal" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_single_arg_signal_t: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_t: Argument to pass with the signal. 1198s # * 1198s # * Emits the "SingleArgSignalT" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_single_arg_signal_t ( 1198s # OrgProjectSignalingIface *object, 1198s # guint64 arg_arg_t) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxy: 1198s # * 1198s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1198s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1198s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeleton: 1198s # * 1198s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_signaling_iface_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_signaling_iface_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_signaling_iface_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1198s # { 1198s # _org_project_signaling_iface_skeleton_handle_method_call, 1198s # _org_project_signaling_iface_skeleton_handle_get_property, 1198s # _org_project_signaling_iface_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_signaling_iface_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1198s # OrgProjectSignalingIface *object, 1198s # guint64 arg_arg_t) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1198s # arg_arg_t)); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1198s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1198s # } 1198s # /tmp/tmpoq58rqzx/tmpr0torpqg.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoq58rqzx/tmpr0torpqg.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.SignalingIface 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectSignalingIface 1198s # * @title: OrgProjectSignalingIface 1198s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1198s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1198s # }; 1198s # 1198s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1198s # 1198s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SimpleSignal", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "simple-signal" 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "arg_d", 1198s # (gchar *) "d", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SingleArgSignalD", 1198s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1198s # NULL 1198s # }, 1198s # "single-arg-signal-d" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.SignalingIface", 1198s # NULL, 1198s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-signaling-iface", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_signaling_iface_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_simple_signal ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__DOUBLE (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceIface: 1198s # * @parent_iface: The parent interface. 1198s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1198s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * OrgProjectSignalingIface::simple-signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1198s # g_signal_new ("simple-signal", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_simple_signal, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface::single-arg-signal-d: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_d: Argument. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1198s # g_signal_new ("single-arg-signal-d", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1198s # G_TYPE_NONE, 1198s # 1, G_TYPE_DOUBLE); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_simple_signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * Emits the "SimpleSignal" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_single_arg_signal_d: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_d: Argument to pass with the signal. 1198s # * 1198s # * Emits the "SingleArgSignalD" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_single_arg_signal_d ( 1198s # OrgProjectSignalingIface *object, 1198s # gdouble arg_arg_d) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxy: 1198s # * 1198s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1198s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1198s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeleton: 1198s # * 1198s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_signaling_iface_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_signaling_iface_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_signaling_iface_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1198s # { 1198s # _org_project_signaling_iface_skeleton_handle_method_call, 1198s # _org_project_signaling_iface_skeleton_handle_get_property, 1198s # _org_project_signaling_iface_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_signaling_iface_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1198s # OrgProjectSignalingIface *object, 1198s # gdouble arg_arg_d) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1198s # arg_arg_d)); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1198s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1198s # } 1198s # /tmp/tmpoq58rqzx/tmpkzlc9663.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoq58rqzx/tmpkzlc9663.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.SignalingIface 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectSignalingIface 1198s # * @title: OrgProjectSignalingIface 1198s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1198s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1198s # }; 1198s # 1198s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1198s # 1198s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SimpleSignal", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "simple-signal" 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "arg_s", 1198s # (gchar *) "s", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SingleArgSignalS", 1198s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1198s # NULL 1198s # }, 1198s # "single-arg-signal-s" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.SignalingIface", 1198s # NULL, 1198s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-signaling-iface", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_signaling_iface_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_simple_signal ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__STRING (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceIface: 1198s # * @parent_iface: The parent interface. 1198s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1198s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * OrgProjectSignalingIface::simple-signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1198s # g_signal_new ("simple-signal", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_simple_signal, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface::single-arg-signal-s: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_s: Argument. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1198s # g_signal_new ("single-arg-signal-s", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1198s # G_TYPE_NONE, 1198s # 1, G_TYPE_STRING); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_simple_signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * Emits the "SimpleSignal" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_single_arg_signal_s: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_s: Argument to pass with the signal. 1198s # * 1198s # * Emits the "SingleArgSignalS" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_single_arg_signal_s ( 1198s # OrgProjectSignalingIface *object, 1198s # const gchar *arg_arg_s) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxy: 1198s # * 1198s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1198s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1198s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeleton: 1198s # * 1198s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_signaling_iface_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_signaling_iface_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_signaling_iface_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1198s # { 1198s # _org_project_signaling_iface_skeleton_handle_method_call, 1198s # _org_project_signaling_iface_skeleton_handle_get_property, 1198s # _org_project_signaling_iface_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_signaling_iface_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1198s # OrgProjectSignalingIface *object, 1198s # const gchar *arg_arg_s) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1198s # arg_arg_s)); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1198s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1198s # } 1198s # /tmp/tmpoq58rqzx/tmpiuibqurd.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoq58rqzx/tmpiuibqurd.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.SignalingIface 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectSignalingIface 1198s # * @title: OrgProjectSignalingIface 1198s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1198s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1198s # }; 1198s # 1198s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1198s # 1198s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SimpleSignal", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "simple-signal" 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "arg_o", 1198s # (gchar *) "o", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SingleArgSignalO", 1198s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1198s # NULL 1198s # }, 1198s # "single-arg-signal-o" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.SignalingIface", 1198s # NULL, 1198s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-signaling-iface", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_signaling_iface_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_simple_signal ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__STRING (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceIface: 1198s # * @parent_iface: The parent interface. 1198s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1198s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * OrgProjectSignalingIface::simple-signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1198s # g_signal_new ("simple-signal", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_simple_signal, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface::single-arg-signal-o: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_o: Argument. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1198s # g_signal_new ("single-arg-signal-o", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1198s # G_TYPE_NONE, 1198s # 1, G_TYPE_STRING); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_simple_signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * Emits the "SimpleSignal" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_single_arg_signal_o: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_o: Argument to pass with the signal. 1198s # * 1198s # * Emits the "SingleArgSignalO" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_single_arg_signal_o ( 1198s # OrgProjectSignalingIface *object, 1198s # const gchar *arg_arg_o) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxy: 1198s # * 1198s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1198s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1198s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeleton: 1198s # * 1198s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_signaling_iface_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_signaling_iface_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_signaling_iface_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1198s # { 1198s # _org_project_signaling_iface_skeleton_handle_method_call, 1198s # _org_project_signaling_iface_skeleton_handle_get_property, 1198s # _org_project_signaling_iface_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_signaling_iface_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1198s # OrgProjectSignalingIface *object, 1198s # const gchar *arg_arg_o) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1198s # arg_arg_o)); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1198s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1198s # } 1198s # /tmp/tmpoq58rqzx/tmp_gvpj7hd.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoq58rqzx/tmp_gvpj7hd.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.SignalingIface 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectSignalingIface 1198s # * @title: OrgProjectSignalingIface 1198s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1198s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1198s # }; 1198s # 1198s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1198s # 1198s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SimpleSignal", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "simple-signal" 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "arg_g", 1198s # (gchar *) "g", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SingleArgSignalG", 1198s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1198s # NULL 1198s # }, 1198s # "single-arg-signal-g" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.SignalingIface", 1198s # NULL, 1198s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-signaling-iface", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_signaling_iface_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_simple_signal ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__STRING (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceIface: 1198s # * @parent_iface: The parent interface. 1198s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1198s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * OrgProjectSignalingIface::simple-signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1198s # g_signal_new ("simple-signal", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_simple_signal, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface::single-arg-signal-g: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_g: Argument. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1198s # g_signal_new ("single-arg-signal-g", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1198s # G_TYPE_NONE, 1198s # 1, G_TYPE_STRING); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_simple_signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * Emits the "SimpleSignal" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_single_arg_signal_g: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_g: Argument to pass with the signal. 1198s # * 1198s # * Emits the "SingleArgSignalG" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_single_arg_signal_g ( 1198s # OrgProjectSignalingIface *object, 1198s # const gchar *arg_arg_g) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxy: 1198s # * 1198s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1198s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1198s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeleton: 1198s # * 1198s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_signaling_iface_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_signaling_iface_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_signaling_iface_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1198s # { 1198s # _org_project_signaling_iface_skeleton_handle_method_call, 1198s # _org_project_signaling_iface_skeleton_handle_get_property, 1198s # _org_project_signaling_iface_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_signaling_iface_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1198s # OrgProjectSignalingIface *object, 1198s # const gchar *arg_arg_g) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1198s # arg_arg_g)); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1198s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1198s # } 1198s # /tmp/tmpoq58rqzx/tmp1kbg7y0m.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoq58rqzx/tmp1kbg7y0m.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.SignalingIface 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectSignalingIface 1198s # * @title: OrgProjectSignalingIface 1198s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1198s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1198s # }; 1198s # 1198s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1198s # 1198s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SimpleSignal", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "simple-signal" 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "arg_h", 1198s # (gchar *) "h", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SingleArgSignalH", 1198s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1198s # NULL 1198s # }, 1198s # "single-arg-signal-h" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.SignalingIface", 1198s # NULL, 1198s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-signaling-iface", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_signaling_iface_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_simple_signal ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VARIANT (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceIface: 1198s # * @parent_iface: The parent interface. 1198s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1198s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * OrgProjectSignalingIface::simple-signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1198s # g_signal_new ("simple-signal", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_simple_signal, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface::single-arg-signal-h: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_h: Argument. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1198s # g_signal_new ("single-arg-signal-h", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1198s # G_TYPE_NONE, 1198s # 1, G_TYPE_VARIANT); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_simple_signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * Emits the "SimpleSignal" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_single_arg_signal_h: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_h: Argument to pass with the signal. 1198s # * 1198s # * Emits the "SingleArgSignalH" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_single_arg_signal_h ( 1198s # OrgProjectSignalingIface *object, 1198s # GVariant *arg_arg_h) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxy: 1198s # * 1198s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1198s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1198s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeleton: 1198s # * 1198s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_signaling_iface_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_signaling_iface_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_signaling_iface_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1198s # { 1198s # _org_project_signaling_iface_skeleton_handle_method_call, 1198s # _org_project_signaling_iface_skeleton_handle_get_property, 1198s # _org_project_signaling_iface_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_signaling_iface_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1198s # OrgProjectSignalingIface *object, 1198s # GVariant *arg_arg_h) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1198s # arg_arg_h)); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1198s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1198s # } 1198s # /tmp/tmpoq58rqzx/tmpfllfvltp.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoq58rqzx/tmpfllfvltp.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.SignalingIface 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectSignalingIface 1198s # * @title: OrgProjectSignalingIface 1198s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1198s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1198s # }; 1198s # 1198s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1198s # 1198s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SimpleSignal", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "simple-signal" 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "arg_ay", 1198s # (gchar *) "ay", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SingleArgSignalAy", 1198s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1198s # NULL 1198s # }, 1198s # "single-arg-signal-ay" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.SignalingIface", 1198s # NULL, 1198s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-signaling-iface", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_signaling_iface_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_simple_signal ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__STRING (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceIface: 1198s # * @parent_iface: The parent interface. 1198s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1198s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * OrgProjectSignalingIface::simple-signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1198s # g_signal_new ("simple-signal", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_simple_signal, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface::single-arg-signal-ay: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_ay: Argument. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1198s # g_signal_new ("single-arg-signal-ay", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1198s # G_TYPE_NONE, 1198s # 1, G_TYPE_STRING); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_simple_signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * Emits the "SimpleSignal" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_ay: Argument to pass with the signal. 1198s # * 1198s # * Emits the "SingleArgSignalAy" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1198s # OrgProjectSignalingIface *object, 1198s # const gchar *arg_arg_ay) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxy: 1198s # * 1198s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1198s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1198s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeleton: 1198s # * 1198s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_signaling_iface_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_signaling_iface_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_signaling_iface_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1198s # { 1198s # _org_project_signaling_iface_skeleton_handle_method_call, 1198s # _org_project_signaling_iface_skeleton_handle_get_property, 1198s # _org_project_signaling_iface_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_signaling_iface_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1198s # OrgProjectSignalingIface *object, 1198s # const gchar *arg_arg_ay) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1198s # arg_arg_ay)); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1198s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1198s # } 1198s # /tmp/tmpoq58rqzx/tmptb4vdv78.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoq58rqzx/tmptb4vdv78.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.SignalingIface 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectSignalingIface 1198s # * @title: OrgProjectSignalingIface 1198s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1198s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1198s # }; 1198s # 1198s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1198s # 1198s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SimpleSignal", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "simple-signal" 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "arg_as", 1198s # (gchar *) "as", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SingleArgSignalAs", 1198s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1198s # NULL 1198s # }, 1198s # "single-arg-signal-as" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.SignalingIface", 1198s # NULL, 1198s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-signaling-iface", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_signaling_iface_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_simple_signal ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__BOXED (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceIface: 1198s # * @parent_iface: The parent interface. 1198s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1198s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * OrgProjectSignalingIface::simple-signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1198s # g_signal_new ("simple-signal", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_simple_signal, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface::single-arg-signal-as: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_as: Argument. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1198s # g_signal_new ("single-arg-signal-as", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1198s # G_TYPE_NONE, 1198s # 1, G_TYPE_STRV); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_simple_signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * Emits the "SimpleSignal" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_single_arg_signal_as: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_as: Argument to pass with the signal. 1198s # * 1198s # * Emits the "SingleArgSignalAs" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_single_arg_signal_as ( 1198s # OrgProjectSignalingIface *object, 1198s # const gchar *const *arg_arg_as) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxy: 1198s # * 1198s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1198s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1198s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeleton: 1198s # * 1198s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_signaling_iface_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_signaling_iface_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_signaling_iface_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1198s # { 1198s # _org_project_signaling_iface_skeleton_handle_method_call, 1198s # _org_project_signaling_iface_skeleton_handle_get_property, 1198s # _org_project_signaling_iface_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_signaling_iface_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1198s # OrgProjectSignalingIface *object, 1198s # const gchar *const *arg_arg_as) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1198s # arg_arg_as)); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1198s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1198s # } 1198s # /tmp/tmpoq58rqzx/tmpk9m75ion.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoq58rqzx/tmpk9m75ion.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.SignalingIface 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectSignalingIface 1198s # * @title: OrgProjectSignalingIface 1198s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1198s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1198s # }; 1198s # 1198s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1198s # 1198s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SimpleSignal", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "simple-signal" 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "arg_ao", 1198s # (gchar *) "ao", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SingleArgSignalAo", 1198s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1198s # NULL 1198s # }, 1198s # "single-arg-signal-ao" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.SignalingIface", 1198s # NULL, 1198s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-signaling-iface", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_signaling_iface_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_simple_signal ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__BOXED (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceIface: 1198s # * @parent_iface: The parent interface. 1198s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1198s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * OrgProjectSignalingIface::simple-signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1198s # g_signal_new ("simple-signal", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_simple_signal, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface::single-arg-signal-ao: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_ao: Argument. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1198s # g_signal_new ("single-arg-signal-ao", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1198s # G_TYPE_NONE, 1198s # 1, G_TYPE_STRV); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_simple_signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * Emits the "SimpleSignal" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_ao: Argument to pass with the signal. 1198s # * 1198s # * Emits the "SingleArgSignalAo" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1198s # OrgProjectSignalingIface *object, 1198s # const gchar *const *arg_arg_ao) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxy: 1198s # * 1198s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1198s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1198s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeleton: 1198s # * 1198s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_signaling_iface_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_signaling_iface_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_signaling_iface_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1198s # { 1198s # _org_project_signaling_iface_skeleton_handle_method_call, 1198s # _org_project_signaling_iface_skeleton_handle_get_property, 1198s # _org_project_signaling_iface_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_signaling_iface_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1198s # OrgProjectSignalingIface *object, 1198s # const gchar *const *arg_arg_ao) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1198s # arg_arg_ao)); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1198s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1198s # } 1198s # /tmp/tmpoq58rqzx/tmp858dmhek.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoq58rqzx/tmp858dmhek.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.SignalingIface 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectSignalingIface 1198s # * @title: OrgProjectSignalingIface 1198s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1198s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1198s # }; 1198s # 1198s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1198s # 1198s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SimpleSignal", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "simple-signal" 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "arg_aay", 1198s # (gchar *) "aay", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SingleArgSignalAay", 1198s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1198s # NULL 1198s # }, 1198s # "single-arg-signal-aay" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.SignalingIface", 1198s # NULL, 1198s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-signaling-iface", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_signaling_iface_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_simple_signal ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__BOXED (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceIface: 1198s # * @parent_iface: The parent interface. 1198s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1198s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * OrgProjectSignalingIface::simple-signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1198s # g_signal_new ("simple-signal", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_simple_signal, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface::single-arg-signal-aay: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_aay: Argument. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1198s # g_signal_new ("single-arg-signal-aay", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1198s # G_TYPE_NONE, 1198s # 1, G_TYPE_STRV); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_simple_signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * Emits the "SimpleSignal" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_aay: Argument to pass with the signal. 1198s # * 1198s # * Emits the "SingleArgSignalAay" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1198s # OrgProjectSignalingIface *object, 1198s # const gchar *const *arg_arg_aay) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxy: 1198s # * 1198s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1198s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1198s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeleton: 1198s # * 1198s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_signaling_iface_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_signaling_iface_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_signaling_iface_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1198s # { 1198s # _org_project_signaling_iface_skeleton_handle_method_call, 1198s # _org_project_signaling_iface_skeleton_handle_get_property, 1198s # _org_project_signaling_iface_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_signaling_iface_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1198s # OrgProjectSignalingIface *object, 1198s # const gchar *const *arg_arg_aay) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1198s # arg_arg_aay)); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1198s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1198s # } 1198s # /tmp/tmpoq58rqzx/tmp2gltx0q6.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoq58rqzx/tmp2gltx0q6.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.SignalingIface 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectSignalingIface 1198s # * @title: OrgProjectSignalingIface 1198s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1198s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1198s # }; 1198s # 1198s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1198s # 1198s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SimpleSignal", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "simple-signal" 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "arg_asv", 1198s # (gchar *) "a{sv}", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SingleArgSignalAsv", 1198s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1198s # NULL 1198s # }, 1198s # "single-arg-signal-asv" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.SignalingIface", 1198s # NULL, 1198s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-signaling-iface", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_signaling_iface_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_simple_signal ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VARIANT (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceIface: 1198s # * @parent_iface: The parent interface. 1198s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1198s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * OrgProjectSignalingIface::simple-signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1198s # g_signal_new ("simple-signal", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_simple_signal, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface::single-arg-signal-asv: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_asv: Argument. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1198s # g_signal_new ("single-arg-signal-asv", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1198s # G_TYPE_NONE, 1198s # 1, G_TYPE_VARIANT); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_simple_signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * Emits the "SimpleSignal" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_arg_asv: Argument to pass with the signal. 1198s # * 1198s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1198s # OrgProjectSignalingIface *object, 1198s # GVariant *arg_arg_asv) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxy: 1198s # * 1198s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1198s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1198s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeleton: 1198s # * 1198s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_signaling_iface_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_signaling_iface_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_signaling_iface_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1198s # { 1198s # _org_project_signaling_iface_skeleton_handle_method_call, 1198s # _org_project_signaling_iface_skeleton_handle_get_property, 1198s # _org_project_signaling_iface_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_signaling_iface_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1198s # OrgProjectSignalingIface *object, 1198s # GVariant *arg_arg_asv) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1198s # arg_arg_asv)); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1198s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1198s # } 1198s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1198s # tmpdir: /tmp/tmpy8tw021z 1198s # codegen: /usr/bin/gdbus-codegen 1198s # /tmp/tmpy8tw021z/tmpqkiuzj9t.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy8tw021z/tmpqkiuzj9t.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static void 1198s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1198s # GClosure *closure, 1198s # GValue *return_value G_GNUC_UNUSED, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint G_GNUC_UNUSED, 1198s # void *marshal_data) 1198s # { 1198s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1198s # (void *data1, 1198s # gboolean arg_an_b, 1198s # guchar arg_an_y, 1198s # gint16 arg_an_n, 1198s # guint16 arg_an_q, 1198s # gint arg_an_i, 1198s # guint arg_an_u, 1198s # gint64 arg_an_x, 1198s # guint64 arg_an_t, 1198s # gdouble arg_an_d, 1198s # const gchar *arg_an_s, 1198s # const gchar *arg_an_o, 1198s # const gchar *arg_an_g, 1198s # GVariant *arg_an_h, 1198s # const gchar *arg_an_ay, 1198s # const gchar *const *arg_an_as, 1198s # const gchar *const *arg_an_ao, 1198s # const gchar *const *arg_an_aay, 1198s # GVariant *arg_an_asv, 1198s # void *data2); 1198s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1198s # GCClosure *cc = (GCClosure*) closure; 1198s # void *data1, *data2; 1198s # 1198s # g_return_if_fail (n_param_values == 19); 1198s # 1198s # if (G_CCLOSURE_SWAP_DATA (closure)) 1198s # { 1198s # data1 = closure->data; 1198s # data2 = g_value_peek_pointer (param_values + 0); 1198s # } 1198s # else 1198s # { 1198s # data1 = g_value_peek_pointer (param_values + 0); 1198s # data2 = closure->data; 1198s # } 1198s # 1198s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1198s # (marshal_data ? marshal_data : cc->callback); 1198s # 1198s # callback (data1, 1198s # g_marshal_value_peek_boolean (param_values + 1), 1198s # g_marshal_value_peek_uchar (param_values + 2), 1198s # g_marshal_value_peek_int (param_values + 3), 1198s # g_marshal_value_peek_uint (param_values + 4), 1198s # g_marshal_value_peek_int (param_values + 5), 1198s # g_marshal_value_peek_uint (param_values + 6), 1198s # g_marshal_value_peek_int64 (param_values + 7), 1198s # g_marshal_value_peek_uint64 (param_values + 8), 1198s # g_marshal_value_peek_double (param_values + 9), 1198s # g_marshal_value_peek_string (param_values + 10), 1198s # g_marshal_value_peek_string (param_values + 11), 1198s # g_marshal_value_peek_string (param_values + 12), 1198s # g_marshal_value_peek_variant (param_values + 13), 1198s # g_marshal_value_peek_string (param_values + 14), 1198s # g_marshal_value_peek_boxed (param_values + 15), 1198s # g_marshal_value_peek_boxed (param_values + 16), 1198s # g_marshal_value_peek_boxed (param_values + 17), 1198s # g_marshal_value_peek_variant (param_values + 18), 1198s # data2); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.SignalingIface 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectSignalingIface 1198s # * @title: OrgProjectSignalingIface 1198s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1198s # }; 1198s # 1198s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1198s # 1198s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SimpleSignal", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "simple-signal" 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "an_b", 1198s # (gchar *) "b", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "an_y", 1198s # (gchar *) "y", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "an_n", 1198s # (gchar *) "n", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "an_q", 1198s # (gchar *) "q", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "an_i", 1198s # (gchar *) "i", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "an_u", 1198s # (gchar *) "u", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "an_x", 1198s # (gchar *) "x", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "an_t", 1198s # (gchar *) "t", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "an_d", 1198s # (gchar *) "d", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "an_s", 1198s # (gchar *) "s", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "an_o", 1198s # (gchar *) "o", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "an_g", 1198s # (gchar *) "g", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "an_h", 1198s # (gchar *) "h", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "an_ay", 1198s # (gchar *) "ay", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "an_as", 1198s # (gchar *) "as", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "an_ao", 1198s # (gchar *) "ao", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "an_aay", 1198s # (gchar *) "aay", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "an_asv", 1198s # (gchar *) "a{sv}", 1198s # NULL 1198s # }, 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "SignalWithManyArgs", 1198s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1198s # NULL 1198s # }, 1198s # "signal-with-many-args" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1198s # { 1198s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1198s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.SignalingIface", 1198s # NULL, 1198s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-signaling-iface", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_signaling_iface_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_simple_signal ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceIface: 1198s # * @parent_iface: The parent interface. 1198s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1198s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1198s # */ 1198s # 1198s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * OrgProjectSignalingIface::simple-signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1198s # g_signal_new ("simple-signal", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_simple_signal, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /** 1198s # * OrgProjectSignalingIface::signal-with-many-args: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_an_b: Argument. 1198s # * @arg_an_y: Argument. 1198s # * @arg_an_n: Argument. 1198s # * @arg_an_q: Argument. 1198s # * @arg_an_i: Argument. 1198s # * @arg_an_u: Argument. 1198s # * @arg_an_x: Argument. 1198s # * @arg_an_t: Argument. 1198s # * @arg_an_d: Argument. 1198s # * @arg_an_s: Argument. 1198s # * @arg_an_o: Argument. 1198s # * @arg_an_g: Argument. 1198s # * @arg_an_h: Argument. 1198s # * @arg_an_ay: Argument. 1198s # * @arg_an_as: Argument. 1198s # * @arg_an_ao: Argument. 1198s # * @arg_an_aay: Argument. 1198s # * @arg_an_asv: Argument. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1198s # g_signal_new ("signal-with-many-args", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1198s # NULL, 1198s # NULL, 1198s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1198s # G_TYPE_NONE, 1198s # 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); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_simple_signal: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * 1198s # * Emits the "SimpleSignal" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_emit_signal_with_many_args: 1198s # * @object: A #OrgProjectSignalingIface. 1198s # * @arg_an_b: Argument to pass with the signal. 1198s # * @arg_an_y: Argument to pass with the signal. 1198s # * @arg_an_n: Argument to pass with the signal. 1198s # * @arg_an_q: Argument to pass with the signal. 1198s # * @arg_an_i: Argument to pass with the signal. 1198s # * @arg_an_u: Argument to pass with the signal. 1198s # * @arg_an_x: Argument to pass with the signal. 1198s # * @arg_an_t: Argument to pass with the signal. 1198s # * @arg_an_d: Argument to pass with the signal. 1198s # * @arg_an_s: Argument to pass with the signal. 1198s # * @arg_an_o: Argument to pass with the signal. 1198s # * @arg_an_g: Argument to pass with the signal. 1198s # * @arg_an_h: Argument to pass with the signal. 1198s # * @arg_an_ay: Argument to pass with the signal. 1198s # * @arg_an_as: Argument to pass with the signal. 1198s # * @arg_an_ao: Argument to pass with the signal. 1198s # * @arg_an_aay: Argument to pass with the signal. 1198s # * @arg_an_asv: Argument to pass with the signal. 1198s # * 1198s # * Emits the "SignalWithManyArgs" D-Bus signal. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_emit_signal_with_many_args ( 1198s # OrgProjectSignalingIface *object, 1198s # gboolean arg_an_b, 1198s # guchar arg_an_y, 1198s # gint16 arg_an_n, 1198s # guint16 arg_an_q, 1198s # gint arg_an_i, 1198s # guint arg_an_u, 1198s # gint64 arg_an_x, 1198s # guint64 arg_an_t, 1198s # gdouble arg_an_d, 1198s # const gchar *arg_an_s, 1198s # const gchar *arg_an_o, 1198s # const gchar *arg_an_g, 1198s # GVariant *arg_an_h, 1198s # const gchar *arg_an_ay, 1198s # const gchar *const *arg_an_as, 1198s # const gchar *const *arg_an_ao, 1198s # const gchar *const *arg_an_aay, 1198s # GVariant *arg_an_asv) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxy: 1198s # * 1198s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1198s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1198s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_signaling_iface_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeleton: 1198s # * 1198s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectSignalingIfaceSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_signaling_iface_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_signaling_iface_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_signaling_iface_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1198s # { 1198s # _org_project_signaling_iface_skeleton_handle_method_call, 1198s # _org_project_signaling_iface_skeleton_handle_get_property, 1198s # _org_project_signaling_iface_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_signaling_iface_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_simple_signal ( 1198s # OrgProjectSignalingIface *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void 1198s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1198s # OrgProjectSignalingIface *object, 1198s # gboolean arg_an_b, 1198s # guchar arg_an_y, 1198s # gint16 arg_an_n, 1198s # guint16 arg_an_q, 1198s # gint arg_an_i, 1198s # guint arg_an_u, 1198s # gint64 arg_an_x, 1198s # guint64 arg_an_t, 1198s # gdouble arg_an_d, 1198s # const gchar *arg_an_s, 1198s # const gchar *arg_an_o, 1198s # const gchar *arg_an_g, 1198s # GVariant *arg_an_h, 1198s # const gchar *arg_an_ay, 1198s # const gchar *const *arg_an_as, 1198s # const gchar *const *arg_an_ao, 1198s # const gchar *const *arg_an_aay, 1198s # GVariant *arg_an_asv) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1198s # arg_an_b, 1198s # arg_an_y, 1198s # arg_an_n, 1198s # arg_an_q, 1198s # arg_an_i, 1198s # arg_an_u, 1198s # arg_an_x, 1198s # arg_an_t, 1198s # arg_an_d, 1198s # arg_an_s, 1198s # arg_an_o, 1198s # arg_an_g, 1198s # arg_an_h, 1198s # arg_an_ay, 1198s # arg_an_as, 1198s # arg_an_ao, 1198s # arg_an_aay, 1198s # arg_an_asv)); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1198s # { 1198s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1198s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1198s # } 1198s # 1198s # /** 1198s # * org_project_signaling_iface_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectSignalingIface * 1198s # org_project_signaling_iface_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1198s # } 1198s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1198s # tmpdir: /tmp/tmps9pc17dm 1198s # codegen: /usr/bin/gdbus-codegen 1198s # /tmp/tmps9pc17dm/tmpr74l88kc.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9pc17dm/tmpr74l88kc.xml', '--generate-docbook', 'test'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: 1198s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1198s # tmpdir: /tmp/tmpmc5zpeea 1198s # codegen: /usr/bin/gdbus-codegen 1198s # /tmp/tmpmc5zpeea/tmp7fzvkmo0.xml: 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmc5zpeea/tmp7fzvkmo0.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1198s # tmpdir: /tmp/tmpwdj7tdwi 1198s # codegen: /usr/bin/gdbus-codegen 1198s # /tmp/tmpwdj7tdwi/tmpmtkke28t.xml: 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwdj7tdwi/tmpmtkke28t.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifndef __STDOUT__ 1198s # #define __STDOUT__ 1198s # 1198s # #include 1198s # 1198s # G_BEGIN_DECLS 1198s # 1198s # 1198s # G_END_DECLS 1198s # 1198s # #endif /* __STDOUT__ */ 1198s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1198s # tmpdir: /tmp/tmpa0pwisdm 1198s # codegen: /usr/bin/gdbus-codegen 1198s # /tmp/tmpa0pwisdm/tmpd0e3_695.xml: 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa0pwisdm/tmpd0e3_695.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1198s # tmpdir: /tmp/tmpniozd7hj 1198s # codegen: /usr/bin/gdbus-codegen 1198s # /tmp/tmpniozd7hj/tmpwelem07p.xml: 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpniozd7hj/tmpwelem07p.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifndef __STDOUT__ 1198s # #define __STDOUT__ 1198s # 1198s # #include 1198s # 1198s # G_BEGIN_DECLS 1198s # 1198s # 1198s # G_END_DECLS 1198s # 1198s # #endif /* __STDOUT__ */ 1198s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1198s # tmpdir: /tmp/tmpglgd09h4 1198s # codegen: /usr/bin/gdbus-codegen 1198s # /tmp/tmpglgd09h4/tmp2rf_bhkq.xml: 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpglgd09h4/tmp2rf_bhkq.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifndef __STDOUT__ 1198s # #define __STDOUT__ 1198s # 1198s # #include 1198s # 1198s # G_BEGIN_DECLS 1198s # 1198s # 1198s # G_END_DECLS 1198s # 1198s # #endif /* __STDOUT__ */ 1198s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1198s # tmpdir: /tmp/tmpwrovfvvi 1198s # codegen: /usr/bin/gdbus-codegen 1198s # /tmp/tmpwrovfvvi/tmp2n9jif6g.xml: 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwrovfvvi/tmp2n9jif6g.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1198s # tmpdir: /tmp/tmppj6tg9u7 1198s # codegen: /usr/bin/gdbus-codegen 1198s # /tmp/tmppj6tg9u7/tmpv0q4sivp.xml: 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppj6tg9u7/tmpv0q4sivp.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifndef __STDOUT__ 1198s # #define __STDOUT__ 1198s # 1198s # #include 1198s # 1198s # G_BEGIN_DECLS 1198s # 1198s # 1198s # G_END_DECLS 1198s # 1198s # #endif /* __STDOUT__ */ 1198s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1198s # tmpdir: /tmp/tmpcmhu5txl 1198s # codegen: /usr/bin/gdbus-codegen 1198s # /tmp/tmpcmhu5txl/tmpf44_02lr.xml: 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcmhu5txl/tmpf44_02lr.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1198s # tmpdir: /tmp/tmpie8qhqrg 1198s # codegen: /usr/bin/gdbus-codegen 1198s # /tmp/tmpie8qhqrg/tmpwtcbnx0u.xml: 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpie8qhqrg/tmpwtcbnx0u.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifndef __STDOUT__ 1198s # #define __STDOUT__ 1198s # 1198s # #include 1198s # 1198s # G_BEGIN_DECLS 1198s # 1198s # 1198s # G_END_DECLS 1198s # 1198s # #endif /* __STDOUT__ */ 1198s ok 35 __main__.TestCodegen.test_help 1198s # tmpdir: /tmp/tmpzi0axbz1 1198s # codegen: /usr/bin/gdbus-codegen 1198s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1198s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1198s # [--c-generate-autocleanup {none,objects,all}] 1198s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1198s # [--generate-rst OUTFILES] [--pragma-once] 1198s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1198s # [--glib-min-required VERSION] 1198s # [--glib-max-allowed VERSION] 1198s # [--symbol-decorator SYMBOL_DECORATOR] 1198s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1198s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1198s # [--generate-c-code OUTFILES | --header | --body | 1198s # --interface-info-header | --interface-info-body] 1198s # [--output FILE | --output-directory OUTDIR] 1198s # FILE [FILE ...] 1198s # 1198s # D-Bus code and documentation generator 1198s # 1198s # positional arguments: 1198s # FILE D-Bus introspection XML file 1198s # 1198s # options: 1198s # -h, --help show this help message and exit 1198s # --interface-prefix PREFIX 1198s # String to strip from D-Bus interface names for code 1198s # and docs 1198s # --c-namespace NAMESPACE 1198s # The namespace to use for generated C code 1198s # --c-generate-object-manager 1198s # Generate a GDBusObjectManagerClient subclass when 1198s # generating C code 1198s # --c-generate-autocleanup {none,objects,all} 1198s # Generate autocleanup support 1198s # --generate-docbook OUTFILES 1198s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1198s # --generate-md OUTFILES 1198s # Generate Markdown in OUTFILES-org.Project.IFace.md 1198s # --generate-rst OUTFILES 1198s # Generate reStructuredText in OUTFILES- 1198s # org.Project.IFace.rst 1198s # --pragma-once Use "pragma once" as the inclusion guard 1198s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1198s # Add annotation (may be used several times) 1198s # --glib-min-required VERSION 1198s # Minimum version of GLib to be supported by the 1198s # outputted code (default: 2.30) 1198s # --glib-max-allowed VERSION 1198s # Maximum version of GLib to be used by the outputted 1198s # code (default: current GLib version) 1198s # --symbol-decorator SYMBOL_DECORATOR 1198s # Macro used to decorate a symbol in the outputted 1198s # header, possibly to export symbols 1198s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1198s # Additional header required for decorator specified by 1198s # --symbol-decorator 1198s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1198s # Additional define required for decorator specified by 1198s # --symbol-decorator 1198s # --generate-c-code OUTFILES 1198s # Generate C code in OUTFILES.[ch] 1198s # --header Generate C headers 1198s # --body Generate C code 1198s # --interface-info-header 1198s # Generate GDBusInterfaceInfo C header 1198s # --interface-info-body 1198s # Generate GDBusInterfaceInfo C code 1198s # --output FILE Write output into the specified file 1198s # --output-directory OUTDIR 1198s # Location to output generated files 1198s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1198s # tmpdir: /tmp/tmpb64h0kep 1198s # codegen: /usr/bin/gdbus-codegen 1198s # /tmp/tmpb64h0kep/tmpeaaqzze2.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb64h0kep/tmpeaaqzze2.xml', '--generate-rst', 'test'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: 1198s # /tmp/tmpb64h0kep/tmpc7qc6l2l.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb64h0kep/tmpc7qc6l2l.xml', '--generate-md', 'test'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: 1198s # /tmp/tmpb64h0kep/tmpsuh912zo.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb64h0kep/tmpsuh912zo.xml', '--generate-docbook', 'test'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: 1198s ok 37 __main__.TestCodegen.test_no_args 1198s # tmpdir: /tmp/tmpjetae3b5 1198s # codegen: /usr/bin/gdbus-codegen 1198s # Running: ['/usr/bin/gdbus-codegen'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s ok 38 __main__.TestCodegen.test_reproducible 1198s # tmpdir: /tmp/tmpcall9cwj 1198s # codegen: /usr/bin/gdbus-codegen 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcall9cwj/tmp06clx8pp1.xml', '/tmp/tmpcall9cwj/tmp6x9c58_l2.xml', '--output', '-', '--header'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifndef __STDOUT__ 1198s # #define __STDOUT__ 1198s # 1198s # #include 1198s # 1198s # G_BEGIN_DECLS 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # /* Declarations for com.acme.Coyote */ 1198s # 1198s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1198s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1198s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1198s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1198s # 1198s # struct _ComAcmeCoyote; 1198s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1198s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1198s # 1198s # struct _ComAcmeCoyoteIface 1198s # { 1198s # GTypeInterface parent_iface; 1198s # 1198s # 1198s # 1198s # gboolean (*handle_attack) ( 1198s # ComAcmeCoyote *object, 1198s # GDBusMethodInvocation *invocation); 1198s # 1198s # gboolean (*handle_run) ( 1198s # ComAcmeCoyote *object, 1198s # GDBusMethodInvocation *invocation); 1198s # 1198s # gboolean (*handle_sleep) ( 1198s # ComAcmeCoyote *object, 1198s # GDBusMethodInvocation *invocation); 1198s # 1198s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1198s # 1198s # void (*surprised) ( 1198s # ComAcmeCoyote *object); 1198s # 1198s # }; 1198s # 1198s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1198s # 1198s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1198s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1198s # 1198s # 1198s # /* D-Bus method call completion functions: */ 1198s # void com_acme_coyote_complete_run ( 1198s # ComAcmeCoyote *object, 1198s # GDBusMethodInvocation *invocation); 1198s # 1198s # void com_acme_coyote_complete_sleep ( 1198s # ComAcmeCoyote *object, 1198s # GDBusMethodInvocation *invocation); 1198s # 1198s # void com_acme_coyote_complete_attack ( 1198s # ComAcmeCoyote *object, 1198s # GDBusMethodInvocation *invocation); 1198s # 1198s # 1198s # 1198s # /* D-Bus signal emissions functions: */ 1198s # void com_acme_coyote_emit_surprised ( 1198s # ComAcmeCoyote *object); 1198s # 1198s # 1198s # 1198s # /* D-Bus method calls: */ 1198s # void com_acme_coyote_call_run ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # 1198s # gboolean com_acme_coyote_call_run_finish ( 1198s # ComAcmeCoyote *proxy, 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # 1198s # gboolean com_acme_coyote_call_run_sync ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # void com_acme_coyote_call_sleep ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # 1198s # gboolean com_acme_coyote_call_sleep_finish ( 1198s # ComAcmeCoyote *proxy, 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # 1198s # gboolean com_acme_coyote_call_sleep_sync ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # void com_acme_coyote_call_attack ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # 1198s # gboolean com_acme_coyote_call_attack_finish ( 1198s # ComAcmeCoyote *proxy, 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # 1198s # gboolean com_acme_coyote_call_attack_sync ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # 1198s # 1198s # /* D-Bus property accessors: */ 1198s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1198s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1198s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1198s # 1198s # 1198s # /* ---- */ 1198s # 1198s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1198s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1198s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1198s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1198s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1198s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1198s # 1198s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1198s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1198s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1198s # 1198s # struct _ComAcmeCoyoteProxy 1198s # { 1198s # /*< private >*/ 1198s # GDBusProxy parent_instance; 1198s # ComAcmeCoyoteProxyPrivate *priv; 1198s # }; 1198s # 1198s # struct _ComAcmeCoyoteProxyClass 1198s # { 1198s # GDBusProxyClass parent_class; 1198s # }; 1198s # 1198s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1198s # 1198s # #if GLIB_CHECK_VERSION(2, 44, 0) 1198s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1198s # #endif 1198s # 1198s # void com_acme_coyote_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # void com_acme_coyote_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # 1198s # /* ---- */ 1198s # 1198s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1198s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1198s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1198s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1198s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1198s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1198s # 1198s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1198s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1198s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1198s # 1198s # struct _ComAcmeCoyoteSkeleton 1198s # { 1198s # /*< private >*/ 1198s # GDBusInterfaceSkeleton parent_instance; 1198s # ComAcmeCoyoteSkeletonPrivate *priv; 1198s # }; 1198s # 1198s # struct _ComAcmeCoyoteSkeletonClass 1198s # { 1198s # GDBusInterfaceSkeletonClass parent_class; 1198s # }; 1198s # 1198s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1198s # 1198s # #if GLIB_CHECK_VERSION(2, 44, 0) 1198s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1198s # #endif 1198s # 1198s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # /* Declarations for org.project.Bar.Frobnicator */ 1198s # 1198s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1198s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1198s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1198s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1198s # 1198s # struct _OrgProjectBarFrobnicator; 1198s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1198s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1198s # 1198s # struct _OrgProjectBarFrobnicatorIface 1198s # { 1198s # GTypeInterface parent_iface; 1198s # 1198s # gboolean (*handle_random_method) ( 1198s # OrgProjectBarFrobnicator *object, 1198s # GDBusMethodInvocation *invocation); 1198s # 1198s # }; 1198s # 1198s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1198s # 1198s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1198s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1198s # 1198s # 1198s # /* D-Bus method call completion functions: */ 1198s # void org_project_bar_frobnicator_complete_random_method ( 1198s # OrgProjectBarFrobnicator *object, 1198s # GDBusMethodInvocation *invocation); 1198s # 1198s # 1198s # 1198s # /* D-Bus method calls: */ 1198s # void org_project_bar_frobnicator_call_random_method ( 1198s # OrgProjectBarFrobnicator *proxy, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # 1198s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1198s # OrgProjectBarFrobnicator *proxy, 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # 1198s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1198s # OrgProjectBarFrobnicator *proxy, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # 1198s # 1198s # /* ---- */ 1198s # 1198s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1198s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1198s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1198s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1198s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1198s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1198s # 1198s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1198s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1198s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1198s # 1198s # struct _OrgProjectBarFrobnicatorProxy 1198s # { 1198s # /*< private >*/ 1198s # GDBusProxy parent_instance; 1198s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1198s # }; 1198s # 1198s # struct _OrgProjectBarFrobnicatorProxyClass 1198s # { 1198s # GDBusProxyClass parent_class; 1198s # }; 1198s # 1198s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1198s # 1198s # #if GLIB_CHECK_VERSION(2, 44, 0) 1198s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1198s # #endif 1198s # 1198s # void org_project_bar_frobnicator_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # 1198s # /* ---- */ 1198s # 1198s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1198s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1198s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1198s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1198s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1198s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1198s # 1198s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1198s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1198s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1198s # 1198s # struct _OrgProjectBarFrobnicatorSkeleton 1198s # { 1198s # /*< private >*/ 1198s # GDBusInterfaceSkeleton parent_instance; 1198s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1198s # }; 1198s # 1198s # struct _OrgProjectBarFrobnicatorSkeletonClass 1198s # { 1198s # GDBusInterfaceSkeletonClass parent_class; 1198s # }; 1198s # 1198s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1198s # 1198s # #if GLIB_CHECK_VERSION(2, 44, 0) 1198s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1198s # #endif 1198s # 1198s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1198s # 1198s # 1198s # G_END_DECLS 1198s # 1198s # #endif /* __STDOUT__ */ 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcall9cwj/tmp6x9c58_l2.xml', '/tmp/tmpcall9cwj/tmp06clx8pp1.xml', '--output', '-', '--header'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifndef __STDOUT__ 1198s # #define __STDOUT__ 1198s # 1198s # #include 1198s # 1198s # G_BEGIN_DECLS 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # /* Declarations for com.acme.Coyote */ 1198s # 1198s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1198s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1198s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1198s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1198s # 1198s # struct _ComAcmeCoyote; 1198s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1198s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1198s # 1198s # struct _ComAcmeCoyoteIface 1198s # { 1198s # GTypeInterface parent_iface; 1198s # 1198s # 1198s # 1198s # gboolean (*handle_attack) ( 1198s # ComAcmeCoyote *object, 1198s # GDBusMethodInvocation *invocation); 1198s # 1198s # gboolean (*handle_run) ( 1198s # ComAcmeCoyote *object, 1198s # GDBusMethodInvocation *invocation); 1198s # 1198s # gboolean (*handle_sleep) ( 1198s # ComAcmeCoyote *object, 1198s # GDBusMethodInvocation *invocation); 1198s # 1198s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1198s # 1198s # void (*surprised) ( 1198s # ComAcmeCoyote *object); 1198s # 1198s # }; 1198s # 1198s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1198s # 1198s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1198s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1198s # 1198s # 1198s # /* D-Bus method call completion functions: */ 1198s # void com_acme_coyote_complete_run ( 1198s # ComAcmeCoyote *object, 1198s # GDBusMethodInvocation *invocation); 1198s # 1198s # void com_acme_coyote_complete_sleep ( 1198s # ComAcmeCoyote *object, 1198s # GDBusMethodInvocation *invocation); 1198s # 1198s # void com_acme_coyote_complete_attack ( 1198s # ComAcmeCoyote *object, 1198s # GDBusMethodInvocation *invocation); 1198s # 1198s # 1198s # 1198s # /* D-Bus signal emissions functions: */ 1198s # void com_acme_coyote_emit_surprised ( 1198s # ComAcmeCoyote *object); 1198s # 1198s # 1198s # 1198s # /* D-Bus method calls: */ 1198s # void com_acme_coyote_call_run ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # 1198s # gboolean com_acme_coyote_call_run_finish ( 1198s # ComAcmeCoyote *proxy, 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # 1198s # gboolean com_acme_coyote_call_run_sync ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # void com_acme_coyote_call_sleep ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # 1198s # gboolean com_acme_coyote_call_sleep_finish ( 1198s # ComAcmeCoyote *proxy, 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # 1198s # gboolean com_acme_coyote_call_sleep_sync ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # void com_acme_coyote_call_attack ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # 1198s # gboolean com_acme_coyote_call_attack_finish ( 1198s # ComAcmeCoyote *proxy, 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # 1198s # gboolean com_acme_coyote_call_attack_sync ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # 1198s # 1198s # /* D-Bus property accessors: */ 1198s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1198s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1198s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1198s # 1198s # 1198s # /* ---- */ 1198s # 1198s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1198s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1198s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1198s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1198s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1198s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1198s # 1198s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1198s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1198s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1198s # 1198s # struct _ComAcmeCoyoteProxy 1198s # { 1198s # /*< private >*/ 1198s # GDBusProxy parent_instance; 1198s # ComAcmeCoyoteProxyPrivate *priv; 1198s # }; 1198s # 1198s # struct _ComAcmeCoyoteProxyClass 1198s # { 1198s # GDBusProxyClass parent_class; 1198s # }; 1198s # 1198s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1198s # 1198s # #if GLIB_CHECK_VERSION(2, 44, 0) 1198s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1198s # #endif 1198s # 1198s # void com_acme_coyote_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # void com_acme_coyote_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # 1198s # /* ---- */ 1198s # 1198s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1198s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1198s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1198s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1198s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1198s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1198s # 1198s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1198s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1198s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1198s # 1198s # struct _ComAcmeCoyoteSkeleton 1198s # { 1198s # /*< private >*/ 1198s # GDBusInterfaceSkeleton parent_instance; 1198s # ComAcmeCoyoteSkeletonPrivate *priv; 1198s # }; 1198s # 1198s # struct _ComAcmeCoyoteSkeletonClass 1198s # { 1198s # GDBusInterfaceSkeletonClass parent_class; 1198s # }; 1198s # 1198s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1198s # 1198s # #if GLIB_CHECK_VERSION(2, 44, 0) 1198s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1198s # #endif 1198s # 1198s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # /* Declarations for org.project.Bar.Frobnicator */ 1198s # 1198s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1198s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1198s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1198s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1198s # 1198s # struct _OrgProjectBarFrobnicator; 1198s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1198s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1198s # 1198s # struct _OrgProjectBarFrobnicatorIface 1198s # { 1198s # GTypeInterface parent_iface; 1198s # 1198s # gboolean (*handle_random_method) ( 1198s # OrgProjectBarFrobnicator *object, 1198s # GDBusMethodInvocation *invocation); 1198s # 1198s # }; 1198s # 1198s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1198s # 1198s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1198s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1198s # 1198s # 1198s # /* D-Bus method call completion functions: */ 1198s # void org_project_bar_frobnicator_complete_random_method ( 1198s # OrgProjectBarFrobnicator *object, 1198s # GDBusMethodInvocation *invocation); 1198s # 1198s # 1198s # 1198s # /* D-Bus method calls: */ 1198s # void org_project_bar_frobnicator_call_random_method ( 1198s # OrgProjectBarFrobnicator *proxy, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # 1198s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1198s # OrgProjectBarFrobnicator *proxy, 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # 1198s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1198s # OrgProjectBarFrobnicator *proxy, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # 1198s # 1198s # /* ---- */ 1198s # 1198s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1198s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1198s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1198s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1198s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1198s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1198s # 1198s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1198s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1198s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1198s # 1198s # struct _OrgProjectBarFrobnicatorProxy 1198s # { 1198s # /*< private >*/ 1198s # GDBusProxy parent_instance; 1198s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1198s # }; 1198s # 1198s # struct _OrgProjectBarFrobnicatorProxyClass 1198s # { 1198s # GDBusProxyClass parent_class; 1198s # }; 1198s # 1198s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1198s # 1198s # #if GLIB_CHECK_VERSION(2, 44, 0) 1198s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1198s # #endif 1198s # 1198s # void org_project_bar_frobnicator_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # 1198s # /* ---- */ 1198s # 1198s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1198s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1198s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1198s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1198s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1198s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1198s # 1198s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1198s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1198s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1198s # 1198s # struct _OrgProjectBarFrobnicatorSkeleton 1198s # { 1198s # /*< private >*/ 1198s # GDBusInterfaceSkeleton parent_instance; 1198s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1198s # }; 1198s # 1198s # struct _OrgProjectBarFrobnicatorSkeletonClass 1198s # { 1198s # GDBusInterfaceSkeletonClass parent_class; 1198s # }; 1198s # 1198s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1198s # 1198s # #if GLIB_CHECK_VERSION(2, 44, 0) 1198s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1198s # #endif 1198s # 1198s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1198s # 1198s # 1198s # G_END_DECLS 1198s # 1198s # #endif /* __STDOUT__ */ 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcall9cwj/tmp06clx8pp1.xml', '/tmp/tmpcall9cwj/tmp6x9c58_l2.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static void 1198s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint G_GNUC_UNUSED, 1198s # void *marshal_data) 1198s # { 1198s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1198s # (void *data1, 1198s # GDBusMethodInvocation *arg_method_invocation, 1198s # void *data2); 1198s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1198s # GCClosure *cc = (GCClosure*) closure; 1198s # void *data1, *data2; 1198s # gboolean v_return; 1198s # 1198s # g_return_if_fail (return_value != NULL); 1198s # g_return_if_fail (n_param_values == 2); 1198s # 1198s # if (G_CCLOSURE_SWAP_DATA (closure)) 1198s # { 1198s # data1 = closure->data; 1198s # data2 = g_value_peek_pointer (param_values + 0); 1198s # } 1198s # else 1198s # { 1198s # data1 = g_value_peek_pointer (param_values + 0); 1198s # data2 = closure->data; 1198s # } 1198s # 1198s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1198s # (marshal_data ? marshal_data : cc->callback); 1198s # 1198s # v_return = 1198s # callback (data1, 1198s # g_marshal_value_peek_object (param_values + 1), 1198s # data2); 1198s # 1198s # g_value_set_boolean (return_value, v_return); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface com.acme.Coyote 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:ComAcmeCoyote 1198s # * @title: ComAcmeCoyote 1198s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1198s # * 1198s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _COM_ACME_COYOTE_SURPRISED, 1198s # }; 1198s # 1198s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1198s # 1198s # /* ---- Introspection data for com.acme.Coyote ---- */ 1198s # 1198s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "Run", 1198s # NULL, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "handle-run", 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "Sleep", 1198s # NULL, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "handle-sleep", 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "Attack", 1198s # NULL, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "handle-attack", 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1198s # { 1198s # &_com_acme_coyote_method_info_run.parent_struct, 1198s # &_com_acme_coyote_method_info_sleep.parent_struct, 1198s # &_com_acme_coyote_method_info_attack.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "Surprised", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "surprised" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1198s # { 1198s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "Mood", 1198s # (gchar *) "s", 1198s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1198s # NULL 1198s # }, 1198s # "mood", 1198s # FALSE, 1198s # TRUE 1198s # }; 1198s # 1198s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1198s # { 1198s # &_com_acme_coyote_property_info_mood.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "com.acme.Coyote", 1198s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1198s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1198s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1198s # NULL 1198s # }, 1198s # "com-acme-coyote", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * com_acme_coyote_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # com_acme_coyote_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1198s # { 1198s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # com_acme_coyote_signal_marshal_surprised ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # com_acme_coyote_method_marshal_run ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # com_acme_coyote_method_marshal_sleep ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # com_acme_coyote_method_marshal_attack ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * ComAcmeCoyote: 1198s # * 1198s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1198s # */ 1198s # 1198s # /** 1198s # * ComAcmeCoyoteIface: 1198s # * @parent_iface: The parent interface. 1198s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1198s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1198s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1198s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1198s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1198s # * 1198s # * Virtual table for the D-Bus interface com.acme.Coyote. 1198s # */ 1198s # 1198s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1198s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1198s # { 1198s # /* GObject signals for incoming D-Bus method calls: */ 1198s # /** 1198s # * ComAcmeCoyote::handle-run: 1198s # * @object: A #ComAcmeCoyote. 1198s # * @invocation: A #GDBusMethodInvocation. 1198s # * 1198s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1198s # * 1198s # * 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. 1198s # * 1198s # * 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. 1198s # */ 1198s # g_signal_new ("handle-run", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1198s # g_signal_accumulator_true_handled, 1198s # NULL, 1198s # com_acme_coyote_method_marshal_run, 1198s # G_TYPE_BOOLEAN, 1198s # 1, 1198s # G_TYPE_DBUS_METHOD_INVOCATION); 1198s # 1198s # /** 1198s # * ComAcmeCoyote::handle-sleep: 1198s # * @object: A #ComAcmeCoyote. 1198s # * @invocation: A #GDBusMethodInvocation. 1198s # * 1198s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1198s # * 1198s # * 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. 1198s # * 1198s # * 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. 1198s # */ 1198s # g_signal_new ("handle-sleep", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1198s # g_signal_accumulator_true_handled, 1198s # NULL, 1198s # com_acme_coyote_method_marshal_sleep, 1198s # G_TYPE_BOOLEAN, 1198s # 1, 1198s # G_TYPE_DBUS_METHOD_INVOCATION); 1198s # 1198s # /** 1198s # * ComAcmeCoyote::handle-attack: 1198s # * @object: A #ComAcmeCoyote. 1198s # * @invocation: A #GDBusMethodInvocation. 1198s # * 1198s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1198s # * 1198s # * 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. 1198s # * 1198s # * 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. 1198s # */ 1198s # g_signal_new ("handle-attack", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1198s # g_signal_accumulator_true_handled, 1198s # NULL, 1198s # com_acme_coyote_method_marshal_attack, 1198s # G_TYPE_BOOLEAN, 1198s # 1, 1198s # G_TYPE_DBUS_METHOD_INVOCATION); 1198s # 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * ComAcmeCoyote::surprised: 1198s # * @object: A #ComAcmeCoyote. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1198s # g_signal_new ("surprised", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1198s # NULL, 1198s # NULL, 1198s # com_acme_coyote_signal_marshal_surprised, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /* GObject properties for D-Bus properties: */ 1198s # /** 1198s # * ComAcmeCoyote:mood: 1198s # * 1198s # * Represents the D-Bus property "Mood". 1198s # * 1198s # * 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. 1198s # */ 1198s # g_object_interface_install_property (iface, 1198s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_get_mood: (skip) 1198s # * @object: A #ComAcmeCoyote. 1198s # * 1198s # * Gets the value of the "Mood" D-Bus property. 1198s # * 1198s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1198s # * 1198s # * 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. 1198s # * 1198s # * 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. 1198s # */ 1198s # const gchar * 1198s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1198s # { 1198s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1198s # 1198s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_dup_mood: (skip) 1198s # * @object: A #ComAcmeCoyote. 1198s # * 1198s # * Gets a copy of the "Mood" D-Bus property. 1198s # * 1198s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1198s # * 1198s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1198s # */ 1198s # gchar * 1198s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1198s # { 1198s # gchar *value; 1198s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1198s # return value; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_set_mood: (skip) 1198s # * @object: A #ComAcmeCoyote. 1198s # * @value: The value to set. 1198s # * 1198s # * Sets the "Mood" D-Bus property to @value. 1198s # * 1198s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1198s # */ 1198s # void 1198s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1198s # { 1198s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_emit_surprised: 1198s # * @object: A #ComAcmeCoyote. 1198s # * 1198s # * Emits the "Surprised" D-Bus signal. 1198s # */ 1198s # void 1198s # com_acme_coyote_emit_surprised ( 1198s # ComAcmeCoyote *object) 1198s # { 1198s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_call_run: 1198s # * @proxy: A #ComAcmeCoyoteProxy. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1198s # * 1198s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1198s # */ 1198s # void 1198s # com_acme_coyote_call_run ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1198s # "Run", 1198s # g_variant_new ("()"), 1198s # G_DBUS_CALL_FLAGS_NONE, 1198s # -1, 1198s # cancellable, 1198s # callback, 1198s # user_data); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_call_run_finish: 1198s # * @proxy: A #ComAcmeCoyoteProxy. 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1198s # * @error: Return location for error or %NULL. 1198s # * 1198s # * Finishes an operation started with com_acme_coyote_call_run(). 1198s # * 1198s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1198s # */ 1198s # gboolean 1198s # com_acme_coyote_call_run_finish ( 1198s # ComAcmeCoyote *proxy, 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GVariant *_ret; 1198s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1198s # if (_ret == NULL) 1198s # goto _out; 1198s # g_variant_get (_ret, 1198s # "()"); 1198s # g_variant_unref (_ret); 1198s # _out: 1198s # return _ret != NULL; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_call_run_sync: 1198s # * @proxy: A #ComAcmeCoyoteProxy. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL. 1198s # * 1198s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1198s # * 1198s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1198s # * 1198s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1198s # */ 1198s # gboolean 1198s # com_acme_coyote_call_run_sync ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GVariant *_ret; 1198s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1198s # "Run", 1198s # g_variant_new ("()"), 1198s # G_DBUS_CALL_FLAGS_NONE, 1198s # -1, 1198s # cancellable, 1198s # error); 1198s # if (_ret == NULL) 1198s # goto _out; 1198s # g_variant_get (_ret, 1198s # "()"); 1198s # g_variant_unref (_ret); 1198s # _out: 1198s # return _ret != NULL; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_call_sleep: 1198s # * @proxy: A #ComAcmeCoyoteProxy. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1198s # * 1198s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1198s # */ 1198s # void 1198s # com_acme_coyote_call_sleep ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1198s # "Sleep", 1198s # g_variant_new ("()"), 1198s # G_DBUS_CALL_FLAGS_NONE, 1198s # -1, 1198s # cancellable, 1198s # callback, 1198s # user_data); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_call_sleep_finish: 1198s # * @proxy: A #ComAcmeCoyoteProxy. 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1198s # * @error: Return location for error or %NULL. 1198s # * 1198s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1198s # * 1198s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1198s # */ 1198s # gboolean 1198s # com_acme_coyote_call_sleep_finish ( 1198s # ComAcmeCoyote *proxy, 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GVariant *_ret; 1198s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1198s # if (_ret == NULL) 1198s # goto _out; 1198s # g_variant_get (_ret, 1198s # "()"); 1198s # g_variant_unref (_ret); 1198s # _out: 1198s # return _ret != NULL; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_call_sleep_sync: 1198s # * @proxy: A #ComAcmeCoyoteProxy. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL. 1198s # * 1198s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1198s # * 1198s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1198s # * 1198s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1198s # */ 1198s # gboolean 1198s # com_acme_coyote_call_sleep_sync ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GVariant *_ret; 1198s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1198s # "Sleep", 1198s # g_variant_new ("()"), 1198s # G_DBUS_CALL_FLAGS_NONE, 1198s # -1, 1198s # cancellable, 1198s # error); 1198s # if (_ret == NULL) 1198s # goto _out; 1198s # g_variant_get (_ret, 1198s # "()"); 1198s # g_variant_unref (_ret); 1198s # _out: 1198s # return _ret != NULL; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_call_attack: 1198s # * @proxy: A #ComAcmeCoyoteProxy. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1198s # * 1198s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1198s # */ 1198s # void 1198s # com_acme_coyote_call_attack ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1198s # "Attack", 1198s # g_variant_new ("()"), 1198s # G_DBUS_CALL_FLAGS_NONE, 1198s # -1, 1198s # cancellable, 1198s # callback, 1198s # user_data); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_call_attack_finish: 1198s # * @proxy: A #ComAcmeCoyoteProxy. 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1198s # * @error: Return location for error or %NULL. 1198s # * 1198s # * Finishes an operation started with com_acme_coyote_call_attack(). 1198s # * 1198s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1198s # */ 1198s # gboolean 1198s # com_acme_coyote_call_attack_finish ( 1198s # ComAcmeCoyote *proxy, 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GVariant *_ret; 1198s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1198s # if (_ret == NULL) 1198s # goto _out; 1198s # g_variant_get (_ret, 1198s # "()"); 1198s # g_variant_unref (_ret); 1198s # _out: 1198s # return _ret != NULL; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_call_attack_sync: 1198s # * @proxy: A #ComAcmeCoyoteProxy. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL. 1198s # * 1198s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1198s # * 1198s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1198s # * 1198s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1198s # */ 1198s # gboolean 1198s # com_acme_coyote_call_attack_sync ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GVariant *_ret; 1198s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1198s # "Attack", 1198s # g_variant_new ("()"), 1198s # G_DBUS_CALL_FLAGS_NONE, 1198s # -1, 1198s # cancellable, 1198s # error); 1198s # if (_ret == NULL) 1198s # goto _out; 1198s # g_variant_get (_ret, 1198s # "()"); 1198s # g_variant_unref (_ret); 1198s # _out: 1198s # return _ret != NULL; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_complete_run: 1198s # * @object: A #ComAcmeCoyote. 1198s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1198s # * 1198s # * 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. 1198s # * 1198s # * This method will free @invocation, you cannot use it afterwards. 1198s # */ 1198s # void 1198s # com_acme_coyote_complete_run ( 1198s # ComAcmeCoyote *object G_GNUC_UNUSED, 1198s # GDBusMethodInvocation *invocation) 1198s # { 1198s # g_dbus_method_invocation_return_value (invocation, 1198s # g_variant_new ("()")); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_complete_sleep: 1198s # * @object: A #ComAcmeCoyote. 1198s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1198s # * 1198s # * 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. 1198s # * 1198s # * This method will free @invocation, you cannot use it afterwards. 1198s # */ 1198s # void 1198s # com_acme_coyote_complete_sleep ( 1198s # ComAcmeCoyote *object G_GNUC_UNUSED, 1198s # GDBusMethodInvocation *invocation) 1198s # { 1198s # g_dbus_method_invocation_return_value (invocation, 1198s # g_variant_new ("()")); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_complete_attack: 1198s # * @object: A #ComAcmeCoyote. 1198s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1198s # * 1198s # * 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. 1198s # * 1198s # * This method will free @invocation, you cannot use it afterwards. 1198s # */ 1198s # void 1198s # com_acme_coyote_complete_attack ( 1198s # ComAcmeCoyote *object G_GNUC_UNUSED, 1198s # GDBusMethodInvocation *invocation) 1198s # { 1198s # g_dbus_method_invocation_return_value (invocation, 1198s # g_variant_new ("()")); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * ComAcmeCoyoteProxy: 1198s # * 1198s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * ComAcmeCoyoteProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #ComAcmeCoyoteProxy. 1198s # */ 1198s # 1198s # struct _ComAcmeCoyoteProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # com_acme_coyote_proxy_finalize (GObject *object) 1198s # { 1198s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_proxy_get_property (GObject *object, 1198s # guint prop_id, 1198s # GValue *value, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *variant; 1198s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1198s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1198s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1198s # if (info->use_gvariant) 1198s # { 1198s # g_value_set_variant (value, variant); 1198s # } 1198s # else 1198s # { 1198s # if (variant != NULL) 1198s # g_dbus_gvariant_to_gvalue (variant, value); 1198s # } 1198s # if (variant != NULL) 1198s # g_variant_unref (variant); 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1198s # GAsyncResult *res, 1198s # gpointer user_data) 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info = user_data; 1198s # GError *error; 1198s # GVariant *_ret; 1198s # error = NULL; 1198s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1198s # if (!_ret) 1198s # { 1198s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1198s # info->parent_struct.name, 1198s # error->message, g_quark_to_string (error->domain), error->code); 1198s # g_error_free (error); 1198s # } 1198s # else 1198s # { 1198s # g_variant_unref (_ret); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_proxy_set_property (GObject *object, 1198s # guint prop_id, 1198s # const GValue *value, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *variant; 1198s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1198s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1198s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1198s # "org.freedesktop.DBus.Properties.Set", 1198s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1198s # G_DBUS_CALL_FLAGS_NONE, 1198s # -1, 1198s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1198s # g_variant_unref (variant); 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static const gchar * 1198s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1198s # { 1198s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1198s # GVariant *variant; 1198s # const gchar *value = NULL; 1198s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1198s # if (variant != NULL) 1198s # { 1198s # value = g_variant_get_string (variant, NULL); 1198s # g_variant_unref (variant); 1198s # } 1198s # return value; 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1198s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1198s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1198s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1198s # 1198s # com_acme_coyote_override_properties (gobject_class, 1); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1198s # { 1198s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # com_acme_coyote_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # ComAcmeCoyote * 1198s # com_acme_coyote_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return COM_ACME_COYOTE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # ComAcmeCoyote * 1198s # com_acme_coyote_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return COM_ACME_COYOTE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * com_acme_coyote_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # com_acme_coyote_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # ComAcmeCoyote * 1198s # com_acme_coyote_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return COM_ACME_COYOTE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # ComAcmeCoyote * 1198s # com_acme_coyote_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return COM_ACME_COYOTE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * ComAcmeCoyoteSkeleton: 1198s # * 1198s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * ComAcmeCoyoteSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #ComAcmeCoyoteSkeleton. 1198s # */ 1198s # 1198s # struct _ComAcmeCoyoteSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _com_acme_coyote_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _com_acme_coyote_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _com_acme_coyote_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1198s # { 1198s # _com_acme_coyote_skeleton_handle_method_call, 1198s # _com_acme_coyote_skeleton_handle_get_property, 1198s # _com_acme_coyote_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return com_acme_coyote_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1198s # 1198s # static void 1198s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1198s # gboolean emit_changed = FALSE; 1198s # 1198s # g_mutex_lock (&skeleton->priv->lock); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # { 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # skeleton->priv->changed_properties_idle_source = NULL; 1198s # emit_changed = TRUE; 1198s # } 1198s # g_mutex_unlock (&skeleton->priv->lock); 1198s # 1198s # if (emit_changed) 1198s # _com_acme_coyote_emit_changed (skeleton); 1198s # } 1198s # 1198s # static void 1198s # _com_acme_coyote_on_signal_surprised ( 1198s # ComAcmeCoyote *object) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # com_acme_coyote_skeleton_finalize (GObject *object) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1198s # guint n; 1198s # for (n = 0; n < 1; n++) 1198s # g_value_unset (&skeleton->priv->properties[n]); 1198s # g_free (skeleton->priv->properties); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_skeleton_get_property (GObject *object, 1198s # guint prop_id, 1198s # GValue *value, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1198s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1198s # g_mutex_lock (&skeleton->priv->lock); 1198s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1198s # g_mutex_unlock (&skeleton->priv->lock); 1198s # } 1198s # 1198s # static gboolean 1198s # _com_acme_coyote_emit_changed (gpointer user_data) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1198s # GList *l; 1198s # GVariantBuilder builder; 1198s # GVariantBuilder invalidated_builder; 1198s # guint num_changes; 1198s # 1198s # g_mutex_lock (&skeleton->priv->lock); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1198s # #else 1198s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1198s # #endif 1198s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1198s # { 1198s # ChangedProperty *cp = l->data; 1198s # GVariant *variant; 1198s # const GValue *cur_value; 1198s # 1198s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1198s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1198s # { 1198s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1198s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1198s # g_variant_unref (variant); 1198s # num_changes++; 1198s # } 1198s # } 1198s # if (num_changes > 0) 1198s # { 1198s # GList *connections, *ll; 1198s # GVariant *signal_variant; 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1198s # &builder, &invalidated_builder)); 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # for (ll = connections; ll != NULL; ll = ll->next) 1198s # { 1198s # GDBusConnection *connection = ll->data; 1198s # 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1198s # "org.freedesktop.DBus.Properties", 1198s # "PropertiesChanged", 1198s # signal_variant, 1198s # NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # else 1198s # { 1198s # g_variant_builder_clear (&builder); 1198s # g_variant_builder_clear (&invalidated_builder); 1198s # } 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # skeleton->priv->changed_properties = NULL; 1198s # skeleton->priv->changed_properties_idle_source = NULL; 1198s # g_mutex_unlock (&skeleton->priv->lock); 1198s # return FALSE; 1198s # } 1198s # 1198s # static void 1198s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1198s # { 1198s # ChangedProperty *cp; 1198s # GList *l; 1198s # cp = NULL; 1198s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1198s # { 1198s # ChangedProperty *i_cp = l->data; 1198s # if (i_cp->info == info) 1198s # { 1198s # cp = i_cp; 1198s # break; 1198s # } 1198s # } 1198s # if (cp == NULL) 1198s # { 1198s # cp = g_new0 (ChangedProperty, 1); 1198s # cp->prop_id = prop_id; 1198s # cp->info = info; 1198s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1198s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1198s # g_value_copy (orig_value, &cp->orig_value); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_skeleton_notify (GObject *object, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1198s # g_mutex_lock (&skeleton->priv->lock); 1198s # if (skeleton->priv->changed_properties != NULL && 1198s # skeleton->priv->changed_properties_idle_source == NULL) 1198s # { 1198s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1198s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1198s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1198s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1198s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1198s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1198s # } 1198s # g_mutex_unlock (&skeleton->priv->lock); 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_skeleton_set_property (GObject *object, 1198s # guint prop_id, 1198s # const GValue *value, 1198s # GParamSpec *pspec) 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1198s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1198s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1198s # g_mutex_lock (&skeleton->priv->lock); 1198s # g_object_freeze_notify (object); 1198s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1198s # { 1198s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1198s # info->emits_changed_signal) 1198s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1198s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1198s # g_object_notify_by_pspec (object, pspec); 1198s # } 1198s # g_mutex_unlock (&skeleton->priv->lock); 1198s # g_object_thaw_notify (object); 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # skeleton->priv->properties = g_new0 (GValue, 1); 1198s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1198s # } 1198s # 1198s # static const gchar * 1198s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1198s # const gchar *value; 1198s # g_mutex_lock (&skeleton->priv->lock); 1198s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1198s # g_mutex_unlock (&skeleton->priv->lock); 1198s # return value; 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1198s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1198s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1198s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1198s # 1198s # 1198s # com_acme_coyote_override_properties (gobject_class, 1); 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1198s # { 1198s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1198s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1198s # * 1198s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1198s # */ 1198s # ComAcmeCoyote * 1198s # com_acme_coyote_skeleton_new (void) 1198s # { 1198s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.Bar.Frobnicator 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectBarFrobnicator 1198s # * @title: OrgProjectBarFrobnicator 1198s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1198s # */ 1198s # 1198s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1198s # 1198s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "RandomMethod", 1198s # NULL, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "handle-random-method", 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1198s # { 1198s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.Bar.Frobnicator", 1198s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1198s # NULL, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-bar-frobnicator", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_bar_frobnicator_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_bar_frobnicator_method_marshal_random_method ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectBarFrobnicator: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectBarFrobnicatorIface: 1198s # * @parent_iface: The parent interface. 1198s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1198s # */ 1198s # 1198s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1198s # { 1198s # /* GObject signals for incoming D-Bus method calls: */ 1198s # /** 1198s # * OrgProjectBarFrobnicator::handle-random-method: 1198s # * @object: A #OrgProjectBarFrobnicator. 1198s # * @invocation: A #GDBusMethodInvocation. 1198s # * 1198s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1198s # * 1198s # * 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. 1198s # * 1198s # * 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. 1198s # */ 1198s # g_signal_new ("handle-random-method", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1198s # g_signal_accumulator_true_handled, 1198s # NULL, 1198s # org_project_bar_frobnicator_method_marshal_random_method, 1198s # G_TYPE_BOOLEAN, 1198s # 1, 1198s # G_TYPE_DBUS_METHOD_INVOCATION); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_call_random_method: 1198s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1198s # */ 1198s # void 1198s # org_project_bar_frobnicator_call_random_method ( 1198s # OrgProjectBarFrobnicator *proxy, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1198s # "RandomMethod", 1198s # g_variant_new ("()"), 1198s # G_DBUS_CALL_FLAGS_NONE, 1198s # -1, 1198s # cancellable, 1198s # callback, 1198s # user_data); 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_call_random_method_finish: 1198s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1198s # * @error: Return location for error or %NULL. 1198s # * 1198s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1198s # * 1198s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1198s # */ 1198s # gboolean 1198s # org_project_bar_frobnicator_call_random_method_finish ( 1198s # OrgProjectBarFrobnicator *proxy, 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GVariant *_ret; 1198s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1198s # if (_ret == NULL) 1198s # goto _out; 1198s # g_variant_get (_ret, 1198s # "()"); 1198s # g_variant_unref (_ret); 1198s # _out: 1198s # return _ret != NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_call_random_method_sync: 1198s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL. 1198s # * 1198s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1198s # * 1198s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1198s # */ 1198s # gboolean 1198s # org_project_bar_frobnicator_call_random_method_sync ( 1198s # OrgProjectBarFrobnicator *proxy, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GVariant *_ret; 1198s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1198s # "RandomMethod", 1198s # g_variant_new ("()"), 1198s # G_DBUS_CALL_FLAGS_NONE, 1198s # -1, 1198s # cancellable, 1198s # error); 1198s # if (_ret == NULL) 1198s # goto _out; 1198s # g_variant_get (_ret, 1198s # "()"); 1198s # g_variant_unref (_ret); 1198s # _out: 1198s # return _ret != NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_complete_random_method: 1198s # * @object: A #OrgProjectBarFrobnicator. 1198s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1198s # * 1198s # * 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. 1198s # * 1198s # * This method will free @invocation, you cannot use it afterwards. 1198s # */ 1198s # void 1198s # org_project_bar_frobnicator_complete_random_method ( 1198s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1198s # GDBusMethodInvocation *invocation) 1198s # { 1198s # g_dbus_method_invocation_return_value (invocation, 1198s # g_variant_new ("()")); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectBarFrobnicatorProxy: 1198s # * 1198s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectBarFrobnicatorProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectBarFrobnicatorProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1198s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1198s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_bar_frobnicator_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectBarFrobnicator * 1198s # org_project_bar_frobnicator_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectBarFrobnicator * 1198s # org_project_bar_frobnicator_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_bar_frobnicator_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectBarFrobnicator * 1198s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectBarFrobnicator * 1198s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectBarFrobnicatorSkeleton: 1198s # * 1198s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectBarFrobnicatorSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1198s # { 1198s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1198s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1198s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_bar_frobnicator_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectBarFrobnicator * 1198s # org_project_bar_frobnicator_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1198s # } 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcall9cwj/tmp6x9c58_l2.xml', '/tmp/tmpcall9cwj/tmp06clx8pp1.xml', '--output', '-', '--body'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifdef HAVE_CONFIG_H 1198s # # include "config.h" 1198s # #endif 1198s # 1198s # #include 1198s # #ifdef G_OS_UNIX 1198s # # include 1198s # #endif 1198s # 1198s # #ifdef G_ENABLE_DEBUG 1198s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1198s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1198s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1198s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1198s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1198s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1198s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1198s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1198s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1198s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1198s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1198s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1198s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1198s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1198s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1198s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1198s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1198s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1198s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1198s # #else /* !G_ENABLE_DEBUG */ 1198s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1198s # * Do not access GValues directly in your code. Instead, use the 1198s # * g_value_get_*() functions 1198s # */ 1198s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1198s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1198s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1198s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1198s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1198s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1198s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1198s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1198s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1198s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1198s # #endif /* !G_ENABLE_DEBUG */ 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusArgInfo parent_struct; 1198s # gboolean use_gvariant; 1198s # } _ExtendedGDBusArgInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusMethodInfo parent_struct; 1198s # const gchar *signal_name; 1198s # gboolean pass_fdlist; 1198s # } _ExtendedGDBusMethodInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusSignalInfo parent_struct; 1198s # const gchar *signal_name; 1198s # } _ExtendedGDBusSignalInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusPropertyInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # guint use_gvariant : 1; 1198s # guint emits_changed_signal : 1; 1198s # } _ExtendedGDBusPropertyInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # GDBusInterfaceInfo parent_struct; 1198s # const gchar *hyphen_name; 1198s # } _ExtendedGDBusInterfaceInfo; 1198s # 1198s # typedef struct 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # guint prop_id; 1198s # GValue orig_value; /* the value before the change */ 1198s # } ChangedProperty; 1198s # 1198s # static void 1198s # _changed_property_free (ChangedProperty *data) 1198s # { 1198s # g_value_unset (&data->orig_value); 1198s # g_free (data); 1198s # } 1198s # 1198s # static gboolean 1198s # _g_strv_equal0 (gchar **a, gchar **b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # guint n; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # if (g_strv_length (a) != g_strv_length (b)) 1198s # goto out; 1198s # for (n = 0; a[n] != NULL; n++) 1198s # if (g_strcmp0 (a[n], b[n]) != 0) 1198s # goto out; 1198s # ret = TRUE; 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _g_variant_equal0 (GVariant *a, GVariant *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # if (a == NULL && b == NULL) 1198s # { 1198s # ret = TRUE; 1198s # goto out; 1198s # } 1198s # if (a == NULL || b == NULL) 1198s # goto out; 1198s # ret = g_variant_equal (a, b); 1198s # out: 1198s # return ret; 1198s # } 1198s # 1198s # G_GNUC_UNUSED static gboolean 1198s # _g_value_equal (const GValue *a, const GValue *b) 1198s # { 1198s # gboolean ret = FALSE; 1198s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1198s # switch (G_VALUE_TYPE (a)) 1198s # { 1198s # case G_TYPE_BOOLEAN: 1198s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1198s # break; 1198s # case G_TYPE_UCHAR: 1198s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1198s # break; 1198s # case G_TYPE_INT: 1198s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1198s # break; 1198s # case G_TYPE_UINT: 1198s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1198s # break; 1198s # case G_TYPE_INT64: 1198s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1198s # break; 1198s # case G_TYPE_UINT64: 1198s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1198s # break; 1198s # case G_TYPE_DOUBLE: 1198s # { 1198s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1198s # gdouble da = g_value_get_double (a); 1198s # gdouble db = g_value_get_double (b); 1198s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1198s # } 1198s # break; 1198s # case G_TYPE_STRING: 1198s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1198s # break; 1198s # case G_TYPE_VARIANT: 1198s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1198s # break; 1198s # default: 1198s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1198s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1198s # else 1198s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1198s # break; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static void 1198s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint G_GNUC_UNUSED, 1198s # void *marshal_data) 1198s # { 1198s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1198s # (void *data1, 1198s # GDBusMethodInvocation *arg_method_invocation, 1198s # void *data2); 1198s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1198s # GCClosure *cc = (GCClosure*) closure; 1198s # void *data1, *data2; 1198s # gboolean v_return; 1198s # 1198s # g_return_if_fail (return_value != NULL); 1198s # g_return_if_fail (n_param_values == 2); 1198s # 1198s # if (G_CCLOSURE_SWAP_DATA (closure)) 1198s # { 1198s # data1 = closure->data; 1198s # data2 = g_value_peek_pointer (param_values + 0); 1198s # } 1198s # else 1198s # { 1198s # data1 = g_value_peek_pointer (param_values + 0); 1198s # data2 = closure->data; 1198s # } 1198s # 1198s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1198s # (marshal_data ? marshal_data : cc->callback); 1198s # 1198s # v_return = 1198s # callback (data1, 1198s # g_marshal_value_peek_object (param_values + 1), 1198s # data2); 1198s # 1198s # g_value_set_boolean (return_value, v_return); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface com.acme.Coyote 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:ComAcmeCoyote 1198s # * @title: ComAcmeCoyote 1198s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1198s # * 1198s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1198s # */ 1198s # 1198s # enum 1198s # { 1198s # _COM_ACME_COYOTE_SURPRISED, 1198s # }; 1198s # 1198s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1198s # 1198s # /* ---- Introspection data for com.acme.Coyote ---- */ 1198s # 1198s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "Run", 1198s # NULL, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "handle-run", 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "Sleep", 1198s # NULL, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "handle-sleep", 1198s # FALSE 1198s # }; 1198s # 1198s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "Attack", 1198s # NULL, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "handle-attack", 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1198s # { 1198s # &_com_acme_coyote_method_info_run.parent_struct, 1198s # &_com_acme_coyote_method_info_sleep.parent_struct, 1198s # &_com_acme_coyote_method_info_attack.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "Surprised", 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "surprised" 1198s # }; 1198s # 1198s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1198s # { 1198s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "Mood", 1198s # (gchar *) "s", 1198s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1198s # NULL 1198s # }, 1198s # "mood", 1198s # FALSE, 1198s # TRUE 1198s # }; 1198s # 1198s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1198s # { 1198s # &_com_acme_coyote_property_info_mood.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "com.acme.Coyote", 1198s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1198s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1198s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1198s # NULL 1198s # }, 1198s # "com-acme-coyote", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * com_acme_coyote_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # com_acme_coyote_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1198s # { 1198s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # com_acme_coyote_signal_marshal_surprised ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # g_cclosure_marshal_VOID__VOID (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # com_acme_coyote_method_marshal_run ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # com_acme_coyote_method_marshal_sleep ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # inline static void 1198s # com_acme_coyote_method_marshal_attack ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * ComAcmeCoyote: 1198s # * 1198s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1198s # */ 1198s # 1198s # /** 1198s # * ComAcmeCoyoteIface: 1198s # * @parent_iface: The parent interface. 1198s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1198s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1198s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1198s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1198s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1198s # * 1198s # * Virtual table for the D-Bus interface com.acme.Coyote. 1198s # */ 1198s # 1198s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1198s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1198s # { 1198s # /* GObject signals for incoming D-Bus method calls: */ 1198s # /** 1198s # * ComAcmeCoyote::handle-run: 1198s # * @object: A #ComAcmeCoyote. 1198s # * @invocation: A #GDBusMethodInvocation. 1198s # * 1198s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1198s # * 1198s # * 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. 1198s # * 1198s # * 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. 1198s # */ 1198s # g_signal_new ("handle-run", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1198s # g_signal_accumulator_true_handled, 1198s # NULL, 1198s # com_acme_coyote_method_marshal_run, 1198s # G_TYPE_BOOLEAN, 1198s # 1, 1198s # G_TYPE_DBUS_METHOD_INVOCATION); 1198s # 1198s # /** 1198s # * ComAcmeCoyote::handle-sleep: 1198s # * @object: A #ComAcmeCoyote. 1198s # * @invocation: A #GDBusMethodInvocation. 1198s # * 1198s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1198s # * 1198s # * 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. 1198s # * 1198s # * 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. 1198s # */ 1198s # g_signal_new ("handle-sleep", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1198s # g_signal_accumulator_true_handled, 1198s # NULL, 1198s # com_acme_coyote_method_marshal_sleep, 1198s # G_TYPE_BOOLEAN, 1198s # 1, 1198s # G_TYPE_DBUS_METHOD_INVOCATION); 1198s # 1198s # /** 1198s # * ComAcmeCoyote::handle-attack: 1198s # * @object: A #ComAcmeCoyote. 1198s # * @invocation: A #GDBusMethodInvocation. 1198s # * 1198s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1198s # * 1198s # * 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. 1198s # * 1198s # * 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. 1198s # */ 1198s # g_signal_new ("handle-attack", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1198s # g_signal_accumulator_true_handled, 1198s # NULL, 1198s # com_acme_coyote_method_marshal_attack, 1198s # G_TYPE_BOOLEAN, 1198s # 1, 1198s # G_TYPE_DBUS_METHOD_INVOCATION); 1198s # 1198s # /* GObject signals for received D-Bus signals: */ 1198s # /** 1198s # * ComAcmeCoyote::surprised: 1198s # * @object: A #ComAcmeCoyote. 1198s # * 1198s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1198s # * 1198s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1198s # */ 1198s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1198s # g_signal_new ("surprised", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1198s # NULL, 1198s # NULL, 1198s # com_acme_coyote_signal_marshal_surprised, 1198s # G_TYPE_NONE, 1198s # 0); 1198s # 1198s # /* GObject properties for D-Bus properties: */ 1198s # /** 1198s # * ComAcmeCoyote:mood: 1198s # * 1198s # * Represents the D-Bus property "Mood". 1198s # * 1198s # * 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. 1198s # */ 1198s # g_object_interface_install_property (iface, 1198s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_get_mood: (skip) 1198s # * @object: A #ComAcmeCoyote. 1198s # * 1198s # * Gets the value of the "Mood" D-Bus property. 1198s # * 1198s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1198s # * 1198s # * 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. 1198s # * 1198s # * 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. 1198s # */ 1198s # const gchar * 1198s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1198s # { 1198s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1198s # 1198s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_dup_mood: (skip) 1198s # * @object: A #ComAcmeCoyote. 1198s # * 1198s # * Gets a copy of the "Mood" D-Bus property. 1198s # * 1198s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1198s # * 1198s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1198s # */ 1198s # gchar * 1198s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1198s # { 1198s # gchar *value; 1198s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1198s # return value; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_set_mood: (skip) 1198s # * @object: A #ComAcmeCoyote. 1198s # * @value: The value to set. 1198s # * 1198s # * Sets the "Mood" D-Bus property to @value. 1198s # * 1198s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1198s # */ 1198s # void 1198s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1198s # { 1198s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_emit_surprised: 1198s # * @object: A #ComAcmeCoyote. 1198s # * 1198s # * Emits the "Surprised" D-Bus signal. 1198s # */ 1198s # void 1198s # com_acme_coyote_emit_surprised ( 1198s # ComAcmeCoyote *object) 1198s # { 1198s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_call_run: 1198s # * @proxy: A #ComAcmeCoyoteProxy. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1198s # * 1198s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1198s # */ 1198s # void 1198s # com_acme_coyote_call_run ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1198s # "Run", 1198s # g_variant_new ("()"), 1198s # G_DBUS_CALL_FLAGS_NONE, 1198s # -1, 1198s # cancellable, 1198s # callback, 1198s # user_data); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_call_run_finish: 1198s # * @proxy: A #ComAcmeCoyoteProxy. 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1198s # * @error: Return location for error or %NULL. 1198s # * 1198s # * Finishes an operation started with com_acme_coyote_call_run(). 1198s # * 1198s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1198s # */ 1198s # gboolean 1198s # com_acme_coyote_call_run_finish ( 1198s # ComAcmeCoyote *proxy, 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GVariant *_ret; 1198s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1198s # if (_ret == NULL) 1198s # goto _out; 1198s # g_variant_get (_ret, 1198s # "()"); 1198s # g_variant_unref (_ret); 1198s # _out: 1198s # return _ret != NULL; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_call_run_sync: 1198s # * @proxy: A #ComAcmeCoyoteProxy. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL. 1198s # * 1198s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1198s # * 1198s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1198s # * 1198s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1198s # */ 1198s # gboolean 1198s # com_acme_coyote_call_run_sync ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GVariant *_ret; 1198s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1198s # "Run", 1198s # g_variant_new ("()"), 1198s # G_DBUS_CALL_FLAGS_NONE, 1198s # -1, 1198s # cancellable, 1198s # error); 1198s # if (_ret == NULL) 1198s # goto _out; 1198s # g_variant_get (_ret, 1198s # "()"); 1198s # g_variant_unref (_ret); 1198s # _out: 1198s # return _ret != NULL; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_call_sleep: 1198s # * @proxy: A #ComAcmeCoyoteProxy. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1198s # * 1198s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1198s # */ 1198s # void 1198s # com_acme_coyote_call_sleep ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1198s # "Sleep", 1198s # g_variant_new ("()"), 1198s # G_DBUS_CALL_FLAGS_NONE, 1198s # -1, 1198s # cancellable, 1198s # callback, 1198s # user_data); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_call_sleep_finish: 1198s # * @proxy: A #ComAcmeCoyoteProxy. 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1198s # * @error: Return location for error or %NULL. 1198s # * 1198s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1198s # * 1198s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1198s # */ 1198s # gboolean 1198s # com_acme_coyote_call_sleep_finish ( 1198s # ComAcmeCoyote *proxy, 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GVariant *_ret; 1198s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1198s # if (_ret == NULL) 1198s # goto _out; 1198s # g_variant_get (_ret, 1198s # "()"); 1198s # g_variant_unref (_ret); 1198s # _out: 1198s # return _ret != NULL; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_call_sleep_sync: 1198s # * @proxy: A #ComAcmeCoyoteProxy. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL. 1198s # * 1198s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1198s # * 1198s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1198s # * 1198s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1198s # */ 1198s # gboolean 1198s # com_acme_coyote_call_sleep_sync ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GVariant *_ret; 1198s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1198s # "Sleep", 1198s # g_variant_new ("()"), 1198s # G_DBUS_CALL_FLAGS_NONE, 1198s # -1, 1198s # cancellable, 1198s # error); 1198s # if (_ret == NULL) 1198s # goto _out; 1198s # g_variant_get (_ret, 1198s # "()"); 1198s # g_variant_unref (_ret); 1198s # _out: 1198s # return _ret != NULL; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_call_attack: 1198s # * @proxy: A #ComAcmeCoyoteProxy. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1198s # * 1198s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1198s # */ 1198s # void 1198s # com_acme_coyote_call_attack ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1198s # "Attack", 1198s # g_variant_new ("()"), 1198s # G_DBUS_CALL_FLAGS_NONE, 1198s # -1, 1198s # cancellable, 1198s # callback, 1198s # user_data); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_call_attack_finish: 1198s # * @proxy: A #ComAcmeCoyoteProxy. 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1198s # * @error: Return location for error or %NULL. 1198s # * 1198s # * Finishes an operation started with com_acme_coyote_call_attack(). 1198s # * 1198s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1198s # */ 1198s # gboolean 1198s # com_acme_coyote_call_attack_finish ( 1198s # ComAcmeCoyote *proxy, 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GVariant *_ret; 1198s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1198s # if (_ret == NULL) 1198s # goto _out; 1198s # g_variant_get (_ret, 1198s # "()"); 1198s # g_variant_unref (_ret); 1198s # _out: 1198s # return _ret != NULL; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_call_attack_sync: 1198s # * @proxy: A #ComAcmeCoyoteProxy. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL. 1198s # * 1198s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1198s # * 1198s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1198s # * 1198s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1198s # */ 1198s # gboolean 1198s # com_acme_coyote_call_attack_sync ( 1198s # ComAcmeCoyote *proxy, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GVariant *_ret; 1198s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1198s # "Attack", 1198s # g_variant_new ("()"), 1198s # G_DBUS_CALL_FLAGS_NONE, 1198s # -1, 1198s # cancellable, 1198s # error); 1198s # if (_ret == NULL) 1198s # goto _out; 1198s # g_variant_get (_ret, 1198s # "()"); 1198s # g_variant_unref (_ret); 1198s # _out: 1198s # return _ret != NULL; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_complete_run: 1198s # * @object: A #ComAcmeCoyote. 1198s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1198s # * 1198s # * 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. 1198s # * 1198s # * This method will free @invocation, you cannot use it afterwards. 1198s # */ 1198s # void 1198s # com_acme_coyote_complete_run ( 1198s # ComAcmeCoyote *object G_GNUC_UNUSED, 1198s # GDBusMethodInvocation *invocation) 1198s # { 1198s # g_dbus_method_invocation_return_value (invocation, 1198s # g_variant_new ("()")); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_complete_sleep: 1198s # * @object: A #ComAcmeCoyote. 1198s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1198s # * 1198s # * 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. 1198s # * 1198s # * This method will free @invocation, you cannot use it afterwards. 1198s # */ 1198s # void 1198s # com_acme_coyote_complete_sleep ( 1198s # ComAcmeCoyote *object G_GNUC_UNUSED, 1198s # GDBusMethodInvocation *invocation) 1198s # { 1198s # g_dbus_method_invocation_return_value (invocation, 1198s # g_variant_new ("()")); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_complete_attack: 1198s # * @object: A #ComAcmeCoyote. 1198s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1198s # * 1198s # * 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. 1198s # * 1198s # * This method will free @invocation, you cannot use it afterwards. 1198s # */ 1198s # void 1198s # com_acme_coyote_complete_attack ( 1198s # ComAcmeCoyote *object G_GNUC_UNUSED, 1198s # GDBusMethodInvocation *invocation) 1198s # { 1198s # g_dbus_method_invocation_return_value (invocation, 1198s # g_variant_new ("()")); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * ComAcmeCoyoteProxy: 1198s # * 1198s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * ComAcmeCoyoteProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #ComAcmeCoyoteProxy. 1198s # */ 1198s # 1198s # struct _ComAcmeCoyoteProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # com_acme_coyote_proxy_finalize (GObject *object) 1198s # { 1198s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_proxy_get_property (GObject *object, 1198s # guint prop_id, 1198s # GValue *value, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *variant; 1198s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1198s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1198s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1198s # if (info->use_gvariant) 1198s # { 1198s # g_value_set_variant (value, variant); 1198s # } 1198s # else 1198s # { 1198s # if (variant != NULL) 1198s # g_dbus_gvariant_to_gvalue (variant, value); 1198s # } 1198s # if (variant != NULL) 1198s # g_variant_unref (variant); 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1198s # GAsyncResult *res, 1198s # gpointer user_data) 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info = user_data; 1198s # GError *error; 1198s # GVariant *_ret; 1198s # error = NULL; 1198s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1198s # if (!_ret) 1198s # { 1198s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1198s # info->parent_struct.name, 1198s # error->message, g_quark_to_string (error->domain), error->code); 1198s # g_error_free (error); 1198s # } 1198s # else 1198s # { 1198s # g_variant_unref (_ret); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_proxy_set_property (GObject *object, 1198s # guint prop_id, 1198s # const GValue *value, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *variant; 1198s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1198s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1198s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1198s # "org.freedesktop.DBus.Properties.Set", 1198s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1198s # G_DBUS_CALL_FLAGS_NONE, 1198s # -1, 1198s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1198s # g_variant_unref (variant); 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static const gchar * 1198s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1198s # { 1198s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1198s # GVariant *variant; 1198s # const gchar *value = NULL; 1198s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1198s # if (variant != NULL) 1198s # { 1198s # value = g_variant_get_string (variant, NULL); 1198s # g_variant_unref (variant); 1198s # } 1198s # return value; 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1198s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1198s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1198s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1198s # 1198s # com_acme_coyote_override_properties (gobject_class, 1); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1198s # { 1198s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # com_acme_coyote_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # ComAcmeCoyote * 1198s # com_acme_coyote_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return COM_ACME_COYOTE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # ComAcmeCoyote * 1198s # com_acme_coyote_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return COM_ACME_COYOTE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * com_acme_coyote_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # com_acme_coyote_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # ComAcmeCoyote * 1198s # com_acme_coyote_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return COM_ACME_COYOTE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # ComAcmeCoyote * 1198s # com_acme_coyote_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return COM_ACME_COYOTE (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * ComAcmeCoyoteSkeleton: 1198s # * 1198s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * ComAcmeCoyoteSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #ComAcmeCoyoteSkeleton. 1198s # */ 1198s # 1198s # struct _ComAcmeCoyoteSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _com_acme_coyote_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _com_acme_coyote_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _com_acme_coyote_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1198s # { 1198s # _com_acme_coyote_skeleton_handle_method_call, 1198s # _com_acme_coyote_skeleton_handle_get_property, 1198s # _com_acme_coyote_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return com_acme_coyote_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1198s # 1198s # static void 1198s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1198s # gboolean emit_changed = FALSE; 1198s # 1198s # g_mutex_lock (&skeleton->priv->lock); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # { 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # skeleton->priv->changed_properties_idle_source = NULL; 1198s # emit_changed = TRUE; 1198s # } 1198s # g_mutex_unlock (&skeleton->priv->lock); 1198s # 1198s # if (emit_changed) 1198s # _com_acme_coyote_emit_changed (skeleton); 1198s # } 1198s # 1198s # static void 1198s # _com_acme_coyote_on_signal_surprised ( 1198s # ComAcmeCoyote *object) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1198s # 1198s # GList *connections, *l; 1198s # GVariant *signal_variant; 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1198s # for (l = connections; l != NULL; l = l->next) 1198s # { 1198s # GDBusConnection *connection = l->data; 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1198s # signal_variant, NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # 1198s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # com_acme_coyote_skeleton_finalize (GObject *object) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1198s # guint n; 1198s # for (n = 0; n < 1; n++) 1198s # g_value_unset (&skeleton->priv->properties[n]); 1198s # g_free (skeleton->priv->properties); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_skeleton_get_property (GObject *object, 1198s # guint prop_id, 1198s # GValue *value, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1198s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1198s # g_mutex_lock (&skeleton->priv->lock); 1198s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1198s # g_mutex_unlock (&skeleton->priv->lock); 1198s # } 1198s # 1198s # static gboolean 1198s # _com_acme_coyote_emit_changed (gpointer user_data) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1198s # GList *l; 1198s # GVariantBuilder builder; 1198s # GVariantBuilder invalidated_builder; 1198s # guint num_changes; 1198s # 1198s # g_mutex_lock (&skeleton->priv->lock); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1198s # #else 1198s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1198s # #endif 1198s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1198s # { 1198s # ChangedProperty *cp = l->data; 1198s # GVariant *variant; 1198s # const GValue *cur_value; 1198s # 1198s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1198s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1198s # { 1198s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1198s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1198s # g_variant_unref (variant); 1198s # num_changes++; 1198s # } 1198s # } 1198s # if (num_changes > 0) 1198s # { 1198s # GList *connections, *ll; 1198s # GVariant *signal_variant; 1198s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1198s # &builder, &invalidated_builder)); 1198s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1198s # for (ll = connections; ll != NULL; ll = ll->next) 1198s # { 1198s # GDBusConnection *connection = ll->data; 1198s # 1198s # g_dbus_connection_emit_signal (connection, 1198s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1198s # "org.freedesktop.DBus.Properties", 1198s # "PropertiesChanged", 1198s # signal_variant, 1198s # NULL); 1198s # } 1198s # g_variant_unref (signal_variant); 1198s # g_list_free_full (connections, g_object_unref); 1198s # } 1198s # else 1198s # { 1198s # g_variant_builder_clear (&builder); 1198s # g_variant_builder_clear (&invalidated_builder); 1198s # } 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # skeleton->priv->changed_properties = NULL; 1198s # skeleton->priv->changed_properties_idle_source = NULL; 1198s # g_mutex_unlock (&skeleton->priv->lock); 1198s # return FALSE; 1198s # } 1198s # 1198s # static void 1198s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1198s # { 1198s # ChangedProperty *cp; 1198s # GList *l; 1198s # cp = NULL; 1198s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1198s # { 1198s # ChangedProperty *i_cp = l->data; 1198s # if (i_cp->info == info) 1198s # { 1198s # cp = i_cp; 1198s # break; 1198s # } 1198s # } 1198s # if (cp == NULL) 1198s # { 1198s # cp = g_new0 (ChangedProperty, 1); 1198s # cp->prop_id = prop_id; 1198s # cp->info = info; 1198s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1198s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1198s # g_value_copy (orig_value, &cp->orig_value); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_skeleton_notify (GObject *object, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1198s # g_mutex_lock (&skeleton->priv->lock); 1198s # if (skeleton->priv->changed_properties != NULL && 1198s # skeleton->priv->changed_properties_idle_source == NULL) 1198s # { 1198s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1198s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1198s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1198s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1198s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1198s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1198s # } 1198s # g_mutex_unlock (&skeleton->priv->lock); 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_skeleton_set_property (GObject *object, 1198s # guint prop_id, 1198s # const GValue *value, 1198s # GParamSpec *pspec) 1198s # { 1198s # const _ExtendedGDBusPropertyInfo *info; 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1198s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1198s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1198s # g_mutex_lock (&skeleton->priv->lock); 1198s # g_object_freeze_notify (object); 1198s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1198s # { 1198s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1198s # info->emits_changed_signal) 1198s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1198s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1198s # g_object_notify_by_pspec (object, pspec); 1198s # } 1198s # g_mutex_unlock (&skeleton->priv->lock); 1198s # g_object_thaw_notify (object); 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # skeleton->priv->properties = g_new0 (GValue, 1); 1198s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1198s # } 1198s # 1198s # static const gchar * 1198s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1198s # { 1198s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1198s # const gchar *value; 1198s # g_mutex_lock (&skeleton->priv->lock); 1198s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1198s # g_mutex_unlock (&skeleton->priv->lock); 1198s # return value; 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1198s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1198s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1198s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1198s # 1198s # 1198s # com_acme_coyote_override_properties (gobject_class, 1); 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1198s # { 1198s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1198s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1198s # } 1198s # 1198s # /** 1198s # * com_acme_coyote_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1198s # * 1198s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1198s # */ 1198s # ComAcmeCoyote * 1198s # com_acme_coyote_skeleton_new (void) 1198s # { 1198s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ 1198s # * Code for interface org.project.Bar.Frobnicator 1198s # * ------------------------------------------------------------------------ 1198s # */ 1198s # 1198s # /** 1198s # * SECTION:OrgProjectBarFrobnicator 1198s # * @title: OrgProjectBarFrobnicator 1198s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1198s # * 1198s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1198s # */ 1198s # 1198s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1198s # 1198s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "RandomMethod", 1198s # NULL, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "handle-random-method", 1198s # FALSE 1198s # }; 1198s # 1198s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1198s # { 1198s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1198s # NULL 1198s # }; 1198s # 1198s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1198s # { 1198s # { 1198s # -1, 1198s # (gchar *) "org.project.Bar.Frobnicator", 1198s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1198s # NULL, 1198s # NULL, 1198s # NULL 1198s # }, 1198s # "org-project-bar-frobnicator", 1198s # }; 1198s # 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_interface_info: 1198s # * 1198s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1198s # * 1198s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1198s # */ 1198s # GDBusInterfaceInfo * 1198s # org_project_bar_frobnicator_interface_info (void) 1198s # { 1198s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_override_properties: 1198s # * @klass: The class structure for a #GObject derived class. 1198s # * @property_id_begin: The property id to assign to the first overridden property. 1198s # * 1198s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1198s # * The properties are overridden in the order they are defined. 1198s # * 1198s # * Returns: The last property id. 1198s # */ 1198s # guint 1198s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1198s # { 1198s # return property_id_begin - 1; 1198s # } 1198s # 1198s # 1198s # inline static void 1198s # org_project_bar_frobnicator_method_marshal_random_method ( 1198s # GClosure *closure, 1198s # GValue *return_value, 1198s # unsigned int n_param_values, 1198s # const GValue *param_values, 1198s # void *invocation_hint, 1198s # void *marshal_data) 1198s # { 1198s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1198s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1198s # } 1198s # 1198s # 1198s # /** 1198s # * OrgProjectBarFrobnicator: 1198s # * 1198s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectBarFrobnicatorIface: 1198s # * @parent_iface: The parent interface. 1198s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1198s # * 1198s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1198s # */ 1198s # 1198s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1198s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1198s # { 1198s # /* GObject signals for incoming D-Bus method calls: */ 1198s # /** 1198s # * OrgProjectBarFrobnicator::handle-random-method: 1198s # * @object: A #OrgProjectBarFrobnicator. 1198s # * @invocation: A #GDBusMethodInvocation. 1198s # * 1198s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1198s # * 1198s # * 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. 1198s # * 1198s # * 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. 1198s # */ 1198s # g_signal_new ("handle-random-method", 1198s # G_TYPE_FROM_INTERFACE (iface), 1198s # G_SIGNAL_RUN_LAST, 1198s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1198s # g_signal_accumulator_true_handled, 1198s # NULL, 1198s # org_project_bar_frobnicator_method_marshal_random_method, 1198s # G_TYPE_BOOLEAN, 1198s # 1, 1198s # G_TYPE_DBUS_METHOD_INVOCATION); 1198s # 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_call_random_method: 1198s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1198s # */ 1198s # void 1198s # org_project_bar_frobnicator_call_random_method ( 1198s # OrgProjectBarFrobnicator *proxy, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1198s # "RandomMethod", 1198s # g_variant_new ("()"), 1198s # G_DBUS_CALL_FLAGS_NONE, 1198s # -1, 1198s # cancellable, 1198s # callback, 1198s # user_data); 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_call_random_method_finish: 1198s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1198s # * @error: Return location for error or %NULL. 1198s # * 1198s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1198s # * 1198s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1198s # */ 1198s # gboolean 1198s # org_project_bar_frobnicator_call_random_method_finish ( 1198s # OrgProjectBarFrobnicator *proxy, 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GVariant *_ret; 1198s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1198s # if (_ret == NULL) 1198s # goto _out; 1198s # g_variant_get (_ret, 1198s # "()"); 1198s # g_variant_unref (_ret); 1198s # _out: 1198s # return _ret != NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_call_random_method_sync: 1198s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL. 1198s # * 1198s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1198s # * 1198s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1198s # */ 1198s # gboolean 1198s # org_project_bar_frobnicator_call_random_method_sync ( 1198s # OrgProjectBarFrobnicator *proxy, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GVariant *_ret; 1198s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1198s # "RandomMethod", 1198s # g_variant_new ("()"), 1198s # G_DBUS_CALL_FLAGS_NONE, 1198s # -1, 1198s # cancellable, 1198s # error); 1198s # if (_ret == NULL) 1198s # goto _out; 1198s # g_variant_get (_ret, 1198s # "()"); 1198s # g_variant_unref (_ret); 1198s # _out: 1198s # return _ret != NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_complete_random_method: 1198s # * @object: A #OrgProjectBarFrobnicator. 1198s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1198s # * 1198s # * 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. 1198s # * 1198s # * This method will free @invocation, you cannot use it afterwards. 1198s # */ 1198s # void 1198s # org_project_bar_frobnicator_complete_random_method ( 1198s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1198s # GDBusMethodInvocation *invocation) 1198s # { 1198s # g_dbus_method_invocation_return_value (invocation, 1198s # g_variant_new ("()")); 1198s # } 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectBarFrobnicatorProxy: 1198s # * 1198s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectBarFrobnicatorProxyClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1198s # */ 1198s # 1198s # struct _OrgProjectBarFrobnicatorProxyPrivate 1198s # { 1198s # GData *qdata; 1198s # }; 1198s # 1198s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1198s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1198s # { 1198s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1198s # g_datalist_clear (&proxy->priv->qdata); 1198s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1198s # guint prop_id G_GNUC_UNUSED, 1198s # const GValue *value G_GNUC_UNUSED, 1198s # GParamSpec *pspec G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1198s # const gchar *sender_name G_GNUC_UNUSED, 1198s # const gchar *signal_name, 1198s # GVariant *parameters) 1198s # { 1198s # _ExtendedGDBusSignalInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # gsize n; 1198s # guint signal_id; 1198s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1198s # if (info == NULL) 1198s # return; 1198s # num_params = g_variant_n_children (parameters); 1198s # paramv = g_new0 (GValue, num_params + 1); 1198s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1198s # g_value_set_object (¶mv[0], proxy); 1198s # g_variant_iter_init (&iter, parameters); 1198s # n = 1; 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1198s # g_signal_emitv (paramv, signal_id, 0, NULL); 1198s # for (n = 0; n < num_params + 1; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1198s # GVariant *changed_properties, 1198s # const gchar *const *invalidated_properties) 1198s # { 1198s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1198s # guint n; 1198s # const gchar *key; 1198s # GVariantIter *iter; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # g_variant_get (changed_properties, "a{sv}", &iter); 1198s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1198s # g_datalist_remove_data (&proxy->priv->qdata, key); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # g_variant_iter_free (iter); 1198s # for (n = 0; invalidated_properties[n] != NULL; n++) 1198s # { 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1198s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1198s # if (info != NULL) 1198s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1198s # } 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1198s # #else 1198s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1198s # #endif 1198s # 1198s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusProxyClass *proxy_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1198s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1198s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1198s # 1198s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1198s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1198s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_proxy_new: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_bar_frobnicator_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_proxy_new_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectBarFrobnicator * 1198s # org_project_bar_frobnicator_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_proxy_new_sync: 1198s # * @connection: A #GDBusConnection. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectBarFrobnicator * 1198s # org_project_bar_frobnicator_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_proxy_new_for_bus: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1198s # * @user_data: User data to pass to @callback. 1198s # * 1198s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1198s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1198s # * 1198s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1198s # */ 1198s # void 1198s # org_project_bar_frobnicator_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data) 1198s # { 1198s # 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); 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1198s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectBarFrobnicator * 1198s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error) 1198s # { 1198s # GObject *ret; 1198s # GObject *source_object; 1198s # source_object = g_async_result_get_source_object (res); 1198s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1198s # g_object_unref (source_object); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1198s # * @bus_type: A #GBusType. 1198s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1198s # * @name: A bus name (well-known or unique). 1198s # * @object_path: An object path. 1198s # * @cancellable: (nullable): A #GCancellable or %NULL. 1198s # * @error: Return location for error or %NULL 1198s # * 1198s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1198s # * 1198s # * The calling thread is blocked until a reply is received. 1198s # * 1198s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1198s # */ 1198s # OrgProjectBarFrobnicator * 1198s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error) 1198s # { 1198s # GInitable *ret; 1198s # 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); 1198s # if (ret != NULL) 1198s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1198s # else 1198s # return NULL; 1198s # } 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # 1198s # /** 1198s # * OrgProjectBarFrobnicatorSkeleton: 1198s # * 1198s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1198s # */ 1198s # 1198s # /** 1198s # * OrgProjectBarFrobnicatorSkeletonClass: 1198s # * @parent_class: The parent class. 1198s # * 1198s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1198s # */ 1198s # 1198s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1198s # { 1198s # GValue *properties; 1198s # GList *changed_properties; 1198s # GSource *changed_properties_idle_source; 1198s # GMainContext *context; 1198s # GMutex lock; 1198s # }; 1198s # 1198s # static void 1198s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name, 1198s # const gchar *method_name, 1198s # GVariant *parameters, 1198s # GDBusMethodInvocation *invocation, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1198s # _ExtendedGDBusMethodInfo *info; 1198s # GVariantIter iter; 1198s # GVariant *child; 1198s # GValue *paramv; 1198s # gsize num_params; 1198s # guint num_extra; 1198s # gsize n; 1198s # guint signal_id; 1198s # GValue return_value = G_VALUE_INIT; 1198s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1198s # g_assert (info != NULL); 1198s # num_params = g_variant_n_children (parameters); 1198s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1198s # n = 0; 1198s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1198s # g_value_set_object (¶mv[n++], skeleton); 1198s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1198s # g_value_set_object (¶mv[n++], invocation); 1198s # if (info->pass_fdlist) 1198s # { 1198s # #ifdef G_OS_UNIX 1198s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1198s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1198s # #else 1198s # g_assert_not_reached (); 1198s # #endif 1198s # } 1198s # g_variant_iter_init (&iter, parameters); 1198s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1198s # { 1198s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1198s # if (arg_info->use_gvariant) 1198s # { 1198s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1198s # g_value_set_variant (¶mv[n], child); 1198s # n++; 1198s # } 1198s # else 1198s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1198s # g_variant_unref (child); 1198s # } 1198s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1198s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1198s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1198s # if (!g_value_get_boolean (&return_value)) 1198s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1198s # g_value_unset (&return_value); 1198s # for (n = 0; n < num_params + num_extra; n++) 1198s # g_value_unset (¶mv[n]); 1198s # g_free (paramv); 1198s # } 1198s # 1198s # static GVariant * 1198s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # GVariant *ret; 1198s # ret = NULL; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # g_value_init (&value, pspec->value_type); 1198s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1198s # g_value_unset (&value); 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static gboolean 1198s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1198s # GDBusConnection *connection G_GNUC_UNUSED, 1198s # const gchar *sender G_GNUC_UNUSED, 1198s # const gchar *object_path G_GNUC_UNUSED, 1198s # const gchar *interface_name G_GNUC_UNUSED, 1198s # const gchar *property_name, 1198s # GVariant *variant, 1198s # GError **error, 1198s # gpointer user_data) 1198s # { 1198s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1198s # GValue value = G_VALUE_INIT; 1198s # GParamSpec *pspec; 1198s # _ExtendedGDBusPropertyInfo *info; 1198s # gboolean ret; 1198s # ret = FALSE; 1198s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1198s # g_assert (info != NULL); 1198s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1198s # if (pspec == NULL) 1198s # { 1198s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1198s # } 1198s # else 1198s # { 1198s # if (info->use_gvariant) 1198s # g_value_set_variant (&value, variant); 1198s # else 1198s # g_dbus_gvariant_to_gvalue (variant, &value); 1198s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1198s # g_value_unset (&value); 1198s # ret = TRUE; 1198s # } 1198s # return ret; 1198s # } 1198s # 1198s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1198s # { 1198s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1198s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1198s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1198s # {NULL} 1198s # }; 1198s # 1198s # static GDBusInterfaceInfo * 1198s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return org_project_bar_frobnicator_interface_info (); 1198s # } 1198s # 1198s # static GDBusInterfaceVTable * 1198s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1198s # { 1198s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1198s # } 1198s # 1198s # static GVariant * 1198s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1198s # { 1198s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1198s # 1198s # GVariantBuilder builder; 1198s # guint n; 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1198s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #else 1198s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1198s # #endif 1198s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1198s # goto out; 1198s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1198s # { 1198s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1198s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1198s # { 1198s # GVariant *value; 1198s # 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); 1198s # if (value != NULL) 1198s # { 1198s # g_variant_take_ref (value); 1198s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1198s # g_variant_unref (value); 1198s # } 1198s # } 1198s # } 1198s # out: 1198s # return g_variant_builder_end (&builder); 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1198s # 1198s # #else 1198s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1198s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1198s # 1198s # #endif 1198s # static void 1198s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1198s # { 1198s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1198s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1198s # if (skeleton->priv->changed_properties_idle_source != NULL) 1198s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1198s # g_main_context_unref (skeleton->priv->context); 1198s # g_mutex_clear (&skeleton->priv->lock); 1198s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1198s # { 1198s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1198s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1198s # #else 1198s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1198s # #endif 1198s # 1198s # g_mutex_init (&skeleton->priv->lock); 1198s # skeleton->priv->context = g_main_context_ref_thread_default (); 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1198s # { 1198s # GObjectClass *gobject_class; 1198s # GDBusInterfaceSkeletonClass *skeleton_class; 1198s # 1198s # gobject_class = G_OBJECT_CLASS (klass); 1198s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1198s # 1198s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1198s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1198s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1198s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1198s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1198s # 1198s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1198s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1198s # #endif 1198s # } 1198s # 1198s # static void 1198s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1198s # { 1198s # } 1198s # 1198s # /** 1198s # * org_project_bar_frobnicator_skeleton_new: 1198s # * 1198s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1198s # * 1198s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1198s # */ 1198s # OrgProjectBarFrobnicator * 1198s # org_project_bar_frobnicator_skeleton_new (void) 1198s # { 1198s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1198s # } 1198s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1198s # tmpdir: /tmp/tmp_zy73uex 1198s # codegen: /usr/bin/gdbus-codegen 1198s # /tmp/tmp_zy73uex/tmpcss533sw.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zy73uex/tmpcss533sw.xml', '--output', '-', '--header'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifndef __STDOUT__ 1198s # #define __STDOUT__ 1198s # 1198s # #include 1198s # 1198s # G_BEGIN_DECLS 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # /* Declarations for FDPassing */ 1198s # 1198s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1198s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1198s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1198s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1198s # 1198s # struct _FDPassing; 1198s # typedef struct _FDPassing FDPassing; 1198s # typedef struct _FDPassingIface FDPassingIface; 1198s # 1198s # struct _FDPassingIface 1198s # { 1198s # GTypeInterface parent_iface; 1198s # 1198s # gboolean (*handle_hello_fd) ( 1198s # FDPassing *object, 1198s # GDBusMethodInvocation *invocation, 1198s # GUnixFDList *fd_list, 1198s # const gchar *arg_greeting); 1198s # 1198s # gboolean (*handle_no_annotation) ( 1198s # FDPassing *object, 1198s # GDBusMethodInvocation *invocation, 1198s # GVariant *arg_greeting, 1198s # const gchar *arg_greeting_locale); 1198s # 1198s # gboolean (*handle_no_annotation_nested) ( 1198s # FDPassing *object, 1198s # GDBusMethodInvocation *invocation, 1198s # GVariant *arg_files); 1198s # 1198s # }; 1198s # 1198s # GType fdpassing_get_type (void) G_GNUC_CONST; 1198s # 1198s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1198s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1198s # 1198s # 1198s # /* D-Bus method call completion functions: */ 1198s # void fdpassing_complete_hello_fd ( 1198s # FDPassing *object, 1198s # GDBusMethodInvocation *invocation, 1198s # GUnixFDList *fd_list, 1198s # const gchar *response); 1198s # 1198s # void fdpassing_complete_no_annotation ( 1198s # FDPassing *object, 1198s # GDBusMethodInvocation *invocation, 1198s # GVariant *response, 1198s # const gchar *response_locale); 1198s # 1198s # void fdpassing_complete_no_annotation_nested ( 1198s # FDPassing *object, 1198s # GDBusMethodInvocation *invocation); 1198s # 1198s # 1198s # 1198s # /* D-Bus method calls: */ 1198s # void fdpassing_call_hello_fd ( 1198s # FDPassing *proxy, 1198s # const gchar *arg_greeting, 1198s # GUnixFDList *fd_list, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # 1198s # gboolean fdpassing_call_hello_fd_finish ( 1198s # FDPassing *proxy, 1198s # gchar **out_response, 1198s # GUnixFDList **out_fd_list, 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # 1198s # gboolean fdpassing_call_hello_fd_sync ( 1198s # FDPassing *proxy, 1198s # const gchar *arg_greeting, 1198s # GUnixFDList *fd_list, 1198s # gchar **out_response, 1198s # GUnixFDList **out_fd_list, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # void fdpassing_call_no_annotation ( 1198s # FDPassing *proxy, 1198s # GVariant *arg_greeting, 1198s # const gchar *arg_greeting_locale, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # 1198s # gboolean fdpassing_call_no_annotation_finish ( 1198s # FDPassing *proxy, 1198s # GVariant **out_response, 1198s # gchar **out_response_locale, 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # 1198s # gboolean fdpassing_call_no_annotation_sync ( 1198s # FDPassing *proxy, 1198s # GVariant *arg_greeting, 1198s # const gchar *arg_greeting_locale, 1198s # GVariant **out_response, 1198s # gchar **out_response_locale, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # void fdpassing_call_no_annotation_nested ( 1198s # FDPassing *proxy, 1198s # GVariant *arg_files, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # 1198s # gboolean fdpassing_call_no_annotation_nested_finish ( 1198s # FDPassing *proxy, 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # 1198s # gboolean fdpassing_call_no_annotation_nested_sync ( 1198s # FDPassing *proxy, 1198s # GVariant *arg_files, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # 1198s # 1198s # /* ---- */ 1198s # 1198s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1198s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1198s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1198s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1198s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1198s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1198s # 1198s # typedef struct _FDPassingProxy FDPassingProxy; 1198s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1198s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1198s # 1198s # struct _FDPassingProxy 1198s # { 1198s # /*< private >*/ 1198s # GDBusProxy parent_instance; 1198s # FDPassingProxyPrivate *priv; 1198s # }; 1198s # 1198s # struct _FDPassingProxyClass 1198s # { 1198s # GDBusProxyClass parent_class; 1198s # }; 1198s # 1198s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1198s # 1198s # #if GLIB_CHECK_VERSION(2, 44, 0) 1198s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1198s # #endif 1198s # 1198s # void fdpassing_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # FDPassing *fdpassing_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # FDPassing *fdpassing_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # void fdpassing_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # 1198s # /* ---- */ 1198s # 1198s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1198s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1198s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1198s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1198s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1198s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1198s # 1198s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1198s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1198s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1198s # 1198s # struct _FDPassingSkeleton 1198s # { 1198s # /*< private >*/ 1198s # GDBusInterfaceSkeleton parent_instance; 1198s # FDPassingSkeletonPrivate *priv; 1198s # }; 1198s # 1198s # struct _FDPassingSkeletonClass 1198s # { 1198s # GDBusInterfaceSkeletonClass parent_class; 1198s # }; 1198s # 1198s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1198s # 1198s # #if GLIB_CHECK_VERSION(2, 44, 0) 1198s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1198s # #endif 1198s # 1198s # FDPassing *fdpassing_skeleton_new (void); 1198s # 1198s # 1198s # G_END_DECLS 1198s # 1198s # #endif /* __STDOUT__ */ 1198s # /tmp/tmp_zy73uex/tmpemuizth6.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zy73uex/tmpemuizth6.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifndef __STDOUT__ 1198s # #define __STDOUT__ 1198s # 1198s # #include 1198s # 1198s # G_BEGIN_DECLS 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # /* Declarations for FDPassing */ 1198s # 1198s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1198s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1198s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1198s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1198s # 1198s # struct _FDPassing; 1198s # typedef struct _FDPassing FDPassing; 1198s # typedef struct _FDPassingIface FDPassingIface; 1198s # 1198s # struct _FDPassingIface 1198s # { 1198s # GTypeInterface parent_iface; 1198s # 1198s # gboolean (*handle_hello_fd) ( 1198s # FDPassing *object, 1198s # GDBusMethodInvocation *invocation, 1198s # GUnixFDList *fd_list, 1198s # const gchar *arg_greeting); 1198s # 1198s # gboolean (*handle_no_annotation) ( 1198s # FDPassing *object, 1198s # GDBusMethodInvocation *invocation, 1198s # GVariant *arg_greeting, 1198s # const gchar *arg_greeting_locale); 1198s # 1198s # gboolean (*handle_no_annotation_nested) ( 1198s # FDPassing *object, 1198s # GDBusMethodInvocation *invocation, 1198s # GVariant *arg_files); 1198s # 1198s # }; 1198s # 1198s # GType fdpassing_get_type (void) G_GNUC_CONST; 1198s # 1198s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1198s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1198s # 1198s # 1198s # /* D-Bus method call completion functions: */ 1198s # void fdpassing_complete_hello_fd ( 1198s # FDPassing *object, 1198s # GDBusMethodInvocation *invocation, 1198s # GUnixFDList *fd_list, 1198s # const gchar *response); 1198s # 1198s # void fdpassing_complete_no_annotation ( 1198s # FDPassing *object, 1198s # GDBusMethodInvocation *invocation, 1198s # GVariant *response, 1198s # const gchar *response_locale); 1198s # 1198s # void fdpassing_complete_no_annotation_nested ( 1198s # FDPassing *object, 1198s # GDBusMethodInvocation *invocation); 1198s # 1198s # 1198s # 1198s # /* D-Bus method calls: */ 1198s # void fdpassing_call_hello_fd ( 1198s # FDPassing *proxy, 1198s # const gchar *arg_greeting, 1198s # GUnixFDList *fd_list, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # 1198s # gboolean fdpassing_call_hello_fd_finish ( 1198s # FDPassing *proxy, 1198s # gchar **out_response, 1198s # GUnixFDList **out_fd_list, 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # 1198s # gboolean fdpassing_call_hello_fd_sync ( 1198s # FDPassing *proxy, 1198s # const gchar *arg_greeting, 1198s # GUnixFDList *fd_list, 1198s # gchar **out_response, 1198s # GUnixFDList **out_fd_list, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # void fdpassing_call_no_annotation ( 1198s # FDPassing *proxy, 1198s # GVariant *arg_greeting, 1198s # const gchar *arg_greeting_locale, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # 1198s # gboolean fdpassing_call_no_annotation_finish ( 1198s # FDPassing *proxy, 1198s # GVariant **out_response, 1198s # gchar **out_response_locale, 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # 1198s # gboolean fdpassing_call_no_annotation_sync ( 1198s # FDPassing *proxy, 1198s # GVariant *arg_greeting, 1198s # const gchar *arg_greeting_locale, 1198s # GVariant **out_response, 1198s # gchar **out_response_locale, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # void fdpassing_call_no_annotation_nested ( 1198s # FDPassing *proxy, 1198s # GVariant *arg_files, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # 1198s # gboolean fdpassing_call_no_annotation_nested_finish ( 1198s # FDPassing *proxy, 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # 1198s # gboolean fdpassing_call_no_annotation_nested_sync ( 1198s # FDPassing *proxy, 1198s # GVariant *arg_files, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # 1198s # 1198s # /* ---- */ 1198s # 1198s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1198s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1198s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1198s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1198s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1198s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1198s # 1198s # typedef struct _FDPassingProxy FDPassingProxy; 1198s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1198s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1198s # 1198s # struct _FDPassingProxy 1198s # { 1198s # /*< private >*/ 1198s # GDBusProxy parent_instance; 1198s # FDPassingProxyPrivate *priv; 1198s # }; 1198s # 1198s # struct _FDPassingProxyClass 1198s # { 1198s # GDBusProxyClass parent_class; 1198s # }; 1198s # 1198s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1198s # 1198s # #if GLIB_CHECK_VERSION(2, 44, 0) 1198s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1198s # #endif 1198s # 1198s # void fdpassing_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # FDPassing *fdpassing_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # FDPassing *fdpassing_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # void fdpassing_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # 1198s # /* ---- */ 1198s # 1198s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1198s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1198s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1198s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1198s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1198s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1198s # 1198s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1198s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1198s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1198s # 1198s # struct _FDPassingSkeleton 1198s # { 1198s # /*< private >*/ 1198s # GDBusInterfaceSkeleton parent_instance; 1198s # FDPassingSkeletonPrivate *priv; 1198s # }; 1198s # 1198s # struct _FDPassingSkeletonClass 1198s # { 1198s # GDBusInterfaceSkeletonClass parent_class; 1198s # }; 1198s # 1198s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1198s # 1198s # #if GLIB_CHECK_VERSION(2, 44, 0) 1198s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1198s # #endif 1198s # 1198s # FDPassing *fdpassing_skeleton_new (void); 1198s # 1198s # 1198s # G_END_DECLS 1198s # 1198s # #endif /* __STDOUT__ */ 1198s # /tmp/tmp_zy73uex/tmpqcf2tib_.xml: 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # 1198s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zy73uex/tmpqcf2tib_.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1198s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1198s # Output: /* 1198s # * This file is generated by gdbus-codegen, do not modify it. 1198s # * 1198s # * The license of this code is the same as for the D-Bus interface description 1198s # * it was derived from. Note that it links to GLib, so must comply with the 1198s # * LGPL linking clauses. 1198s # */ 1198s # 1198s # #ifndef __STDOUT__ 1198s # #define __STDOUT__ 1198s # 1198s # #include 1198s # 1198s # G_BEGIN_DECLS 1198s # 1198s # 1198s # /* ------------------------------------------------------------------------ */ 1198s # /* Declarations for FDPassing */ 1198s # 1198s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1198s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1198s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1198s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1198s # 1198s # struct _FDPassing; 1198s # typedef struct _FDPassing FDPassing; 1198s # typedef struct _FDPassingIface FDPassingIface; 1198s # 1198s # struct _FDPassingIface 1198s # { 1198s # GTypeInterface parent_iface; 1198s # 1198s # gboolean (*handle_hello_fd) ( 1198s # FDPassing *object, 1198s # GDBusMethodInvocation *invocation, 1198s # GUnixFDList *fd_list, 1198s # const gchar *arg_greeting); 1198s # 1198s # gboolean (*handle_no_annotation) ( 1198s # FDPassing *object, 1198s # GDBusMethodInvocation *invocation, 1198s # GUnixFDList *fd_list, 1198s # GVariant *arg_greeting, 1198s # const gchar *arg_greeting_locale); 1198s # 1198s # gboolean (*handle_no_annotation_nested) ( 1198s # FDPassing *object, 1198s # GDBusMethodInvocation *invocation, 1198s # GUnixFDList *fd_list, 1198s # GVariant *arg_files); 1198s # 1198s # }; 1198s # 1198s # GType fdpassing_get_type (void) G_GNUC_CONST; 1198s # 1198s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1198s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1198s # 1198s # 1198s # /* D-Bus method call completion functions: */ 1198s # void fdpassing_complete_hello_fd ( 1198s # FDPassing *object, 1198s # GDBusMethodInvocation *invocation, 1198s # GUnixFDList *fd_list, 1198s # const gchar *response); 1198s # 1198s # void fdpassing_complete_no_annotation ( 1198s # FDPassing *object, 1198s # GDBusMethodInvocation *invocation, 1198s # GUnixFDList *fd_list, 1198s # GVariant *response, 1198s # const gchar *response_locale); 1198s # 1198s # void fdpassing_complete_no_annotation_nested ( 1198s # FDPassing *object, 1198s # GDBusMethodInvocation *invocation, 1198s # GUnixFDList *fd_list); 1198s # 1198s # 1198s # 1198s # /* D-Bus method calls: */ 1198s # void fdpassing_call_hello_fd ( 1198s # FDPassing *proxy, 1198s # const gchar *arg_greeting, 1198s # GDBusCallFlags call_flags, 1198s # gint timeout_msec, 1198s # GUnixFDList *fd_list, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # 1198s # gboolean fdpassing_call_hello_fd_finish ( 1198s # FDPassing *proxy, 1198s # gchar **out_response, 1198s # GUnixFDList **out_fd_list, 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # 1198s # gboolean fdpassing_call_hello_fd_sync ( 1198s # FDPassing *proxy, 1198s # const gchar *arg_greeting, 1198s # GDBusCallFlags call_flags, 1198s # gint timeout_msec, 1198s # GUnixFDList *fd_list, 1198s # gchar **out_response, 1198s # GUnixFDList **out_fd_list, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # void fdpassing_call_no_annotation ( 1198s # FDPassing *proxy, 1198s # GVariant *arg_greeting, 1198s # const gchar *arg_greeting_locale, 1198s # GDBusCallFlags call_flags, 1198s # gint timeout_msec, 1198s # GUnixFDList *fd_list, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # 1198s # gboolean fdpassing_call_no_annotation_finish ( 1198s # FDPassing *proxy, 1198s # GVariant **out_response, 1198s # gchar **out_response_locale, 1198s # GUnixFDList **out_fd_list, 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # 1198s # gboolean fdpassing_call_no_annotation_sync ( 1198s # FDPassing *proxy, 1198s # GVariant *arg_greeting, 1198s # const gchar *arg_greeting_locale, 1198s # GDBusCallFlags call_flags, 1198s # gint timeout_msec, 1198s # GUnixFDList *fd_list, 1198s # GVariant **out_response, 1198s # gchar **out_response_locale, 1198s # GUnixFDList **out_fd_list, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # void fdpassing_call_no_annotation_nested ( 1198s # FDPassing *proxy, 1198s # GVariant *arg_files, 1198s # GDBusCallFlags call_flags, 1198s # gint timeout_msec, 1198s # GUnixFDList *fd_list, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # 1198s # gboolean fdpassing_call_no_annotation_nested_finish ( 1198s # FDPassing *proxy, 1198s # GUnixFDList **out_fd_list, 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # 1198s # gboolean fdpassing_call_no_annotation_nested_sync ( 1198s # FDPassing *proxy, 1198s # GVariant *arg_files, 1198s # GDBusCallFlags call_flags, 1198s # gint timeout_msec, 1198s # GUnixFDList *fd_list, 1198s # GUnixFDList **out_fd_list, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # 1198s # 1198s # /* ---- */ 1198s # 1198s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1198s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1198s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1198s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1198s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1198s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1198s # 1198s # typedef struct _FDPassingProxy FDPassingProxy; 1198s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1198s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1198s # 1198s # struct _FDPassingProxy 1198s # { 1198s # /*< private >*/ 1198s # GDBusProxy parent_instance; 1198s # FDPassingProxyPrivate *priv; 1198s # }; 1198s # 1198s # struct _FDPassingProxyClass 1198s # { 1198s # GDBusProxyClass parent_class; 1198s # }; 1198s # 1198s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1198s # 1198s # #if GLIB_CHECK_VERSION(2, 44, 0) 1198s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1198s # #endif 1198s # 1198s # void fdpassing_proxy_new ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # FDPassing *fdpassing_proxy_new_finish ( 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # FDPassing *fdpassing_proxy_new_sync ( 1198s # GDBusConnection *connection, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # void fdpassing_proxy_new_for_bus ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GAsyncReadyCallback callback, 1198s # gpointer user_data); 1198s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1198s # GAsyncResult *res, 1198s # GError **error); 1198s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1198s # GBusType bus_type, 1198s # GDBusProxyFlags flags, 1198s # const gchar *name, 1198s # const gchar *object_path, 1198s # GCancellable *cancellable, 1198s # GError **error); 1198s # 1198s # 1198s # /* ---- */ 1198s # 1198s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1198s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1198s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1198s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1198s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1198s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1198s # 1198s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1198s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1198s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1198s # 1198s # struct _FDPassingSkeleton 1198s # { 1198s # /*< private >*/ 1198s # GDBusInterfaceSkeleton parent_instance; 1198s # FDPassingSkeletonPrivate *priv; 1198s # }; 1198s # 1198s # struct _FDPassingSkeletonClass 1198s # { 1198s # GDBusInterfaceSkeletonClass parent_class; 1198s # }; 1198s # 1198s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1198s # 1198s # #if GLIB_CHECK_VERSION(2, 44, 0) 1198s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1198s # #endif 1198s # 1198s # FDPassing *fdpassing_skeleton_new (void); 1198s # 1198s # 1198s # G_END_DECLS 1198s # 1198s # #endif /* __STDOUT__ */ 1198s 1..39 1198s ok - glib/codegen.py.test 1198s # Running test: glib/atomic-c-11.test 1198s TAP version 14 1198s # random seed: R02S14d300969a28827da63364c8ff7937ce 1198s 1..2 1198s # Start of atomic tests 1198s ok 1 /atomic/types 1198s ok 2 /atomic/threaded 1198s # End of atomic tests 1198s ok - glib/atomic-c-11.test 1198s # Running test: glib/atomic.test 1198s TAP version 14 1198s # random seed: R02S06f47829dc92044bee5f315a18f8a4d6 1198s 1..2 1198s # Start of atomic tests 1198s ok 1 /atomic/types 1198s ok 2 /atomic/threaded 1198s # End of atomic tests 1198s ok - glib/atomic.test 1198s # Running test: glib/gdbus-export.test 1198s TAP version 14 1198s # random seed: R02S22a63c3058dda5ce10487ee543b024de 1198s 1..6 1198s # Start of gdbus tests 1198s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_4BP512/gdbus/object-registration/.dirs/home 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_4BP512/gdbus/object-registration/.dirs/cache 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_4BP512/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_4BP512/gdbus/object-registration/.dirs/system-config2 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_4BP512/gdbus/object-registration/.dirs/config 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_4BP512/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_4BP512/gdbus/object-registration/.dirs/system-data2 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_4BP512/gdbus/object-registration/.dirs/data 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_4BP512/gdbus/object-registration/.dirs/state 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_4BP512/gdbus/object-registration/.dirs/runtime 1198s ok 1 /gdbus/object-registration 1198s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_4BP512/gdbus/object-registration-with-closures/.dirs/home 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_4BP512/gdbus/object-registration-with-closures/.dirs/cache 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_4BP512/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_4BP512/gdbus/object-registration-with-closures/.dirs/system-config2 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_4BP512/gdbus/object-registration-with-closures/.dirs/config 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_4BP512/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_4BP512/gdbus/object-registration-with-closures/.dirs/system-data2 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_4BP512/gdbus/object-registration-with-closures/.dirs/data 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_4BP512/gdbus/object-registration-with-closures/.dirs/state 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_4BP512/gdbus/object-registration-with-closures/.dirs/runtime 1198s ok 2 /gdbus/object-registration-with-closures 1198s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_4BP512/gdbus/registered-interfaces/.dirs/home 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_4BP512/gdbus/registered-interfaces/.dirs/cache 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_4BP512/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_4BP512/gdbus/registered-interfaces/.dirs/system-config2 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_4BP512/gdbus/registered-interfaces/.dirs/config 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_4BP512/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_4BP512/gdbus/registered-interfaces/.dirs/system-data2 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_4BP512/gdbus/registered-interfaces/.dirs/data 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_4BP512/gdbus/registered-interfaces/.dirs/state 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_4BP512/gdbus/registered-interfaces/.dirs/runtime 1198s ok 3 /gdbus/registered-interfaces 1198s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_4BP512/gdbus/async-properties/.dirs/home 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_4BP512/gdbus/async-properties/.dirs/cache 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_4BP512/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_4BP512/gdbus/async-properties/.dirs/system-config2 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_4BP512/gdbus/async-properties/.dirs/config 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_4BP512/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_4BP512/gdbus/async-properties/.dirs/system-data2 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_4BP512/gdbus/async-properties/.dirs/data 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_4BP512/gdbus/async-properties/.dirs/state 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_4BP512/gdbus/async-properties/.dirs/runtime 1198s ok 4 /gdbus/async-properties 1198s # Start of threaded-unregistration tests 1198s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_4BP512/gdbus/threaded-unregistration/object/.dirs/home 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_4BP512/gdbus/threaded-unregistration/object/.dirs/cache 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_4BP512/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_4BP512/gdbus/threaded-unregistration/object/.dirs/system-config2 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_4BP512/gdbus/threaded-unregistration/object/.dirs/config 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_4BP512/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_4BP512/gdbus/threaded-unregistration/object/.dirs/system-data2 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_4BP512/gdbus/threaded-unregistration/object/.dirs/data 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_4BP512/gdbus/threaded-unregistration/object/.dirs/state 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_4BP512/gdbus/threaded-unregistration/object/.dirs/runtime 1198s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1198s # /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 1199s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 1199s # slow test /gdbus/threaded-unregistration/object executed in 0.87 secs 1199s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_4BP512/gdbus/threaded-unregistration/subtree/.dirs/home 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_4BP512/gdbus/threaded-unregistration/subtree/.dirs/cache 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_4BP512/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_4BP512/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_4BP512/gdbus/threaded-unregistration/subtree/.dirs/config 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_4BP512/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_4BP512/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_4BP512/gdbus/threaded-unregistration/subtree/.dirs/data 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_4BP512/gdbus/threaded-unregistration/subtree/.dirs/state 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_4BP512/gdbus/threaded-unregistration/subtree/.dirs/runtime 1199s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1199s # /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 1200s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 1200s # slow test /gdbus/threaded-unregistration/subtree executed in 0.77 secs 1200s # End of threaded-unregistration tests 1200s # End of gdbus tests 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s ok - glib/gdbus-export.test 1200s # Running test: glib/testing.test 1200s TAP version 14 1200s # random seed: R02S01033ef9c6883a94931f17c94b187211 1200s 1..1 1200s # Start of assert tests 1200s ok 1 /assert/finalize_object 1200s # Start of finalize_object tests 1200s # Start of subprocess tests 1200s # End of subprocess tests 1200s # End of finalize_object tests 1200s # End of assert tests 1200s ok - glib/testing.test 1200s # Running test: glib/strfuncs.test 1200s TAP version 14 1200s # random seed: R02Sacfba02e9cee21cfb705789dbd997a89 1200s 1..51 1200s # Start of strfuncs tests 1200s ok 1 /strfuncs/ascii-strcasecmp 1200s ok 2 /strfuncs/ascii_strdown 1200s ok 3 /strfuncs/ascii_strdup 1200s ok 4 /strfuncs/ascii_strtod 1200s ok 5 /strfuncs/bounds-check 1200s ok 6 /strfuncs/has-prefix 1200s ok 7 /strfuncs/has-prefix-macro 1200s ok 8 /strfuncs/has-suffix 1200s ok 9 /strfuncs/has-suffix-macro 1200s ok 10 /strfuncs/memdup 1200s ok 11 /strfuncs/memdup2 1200s ok 12 /strfuncs/set_str 1200s ok 13 /strfuncs/stpcpy 1200s ok 14 /strfuncs/str_match_string 1200s ok 15 /strfuncs/str_tokenize_and_fold 1200s ok 16 /strfuncs/strcanon 1200s ok 17 /strfuncs/strchomp 1200s ok 18 /strfuncs/strchug 1200s ok 19 /strfuncs/strcompress-strescape 1200s ok 20 /strfuncs/strconcat 1200s ok 21 /strfuncs/strdelimit 1200s ok 22 /strfuncs/strdup 1200s ok 23 /strfuncs/strdup-printf 1200s ok 24 /strfuncs/strdupv 1200s ok 25 /strfuncs/strerror 1200s ok 26 /strfuncs/strip-context 1200s ok 27 /strfuncs/strjoin 1200s ok 28 /strfuncs/strjoinv 1200s ok 29 /strfuncs/strlcat 1200s ok 30 /strfuncs/strlcpy 1200s ok 31 /strfuncs/strncasecmp 1200s ok 32 /strfuncs/strndup 1200s ok 33 /strfuncs/strnfill 1200s ok 34 /strfuncs/strreverse 1200s ok 35 /strfuncs/strsignal 1200s ok 36 /strfuncs/strsplit 1200s ok 37 /strfuncs/strsplit-set 1200s ok 38 /strfuncs/strstr 1200s ok 39 /strfuncs/strtod 1200s ok 40 /strfuncs/strtoull-strtoll 1200s ok 41 /strfuncs/strup 1200s ok 42 /strfuncs/strv-contains 1200s ok 43 /strfuncs/strv-equal 1200s ok 44 /strfuncs/strv-length 1200s ok 45 /strfuncs/test-is-to-digit 1200s ok 46 /strfuncs/transliteration 1200s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1200s ok 47 /strfuncs/str-equal 1200s ok 48 /strfuncs/str-is-ascii 1200s # Start of ascii-string-to-num tests 1200s ok 49 /strfuncs/ascii-string-to-num/pathological 1200s ok 50 /strfuncs/ascii-string-to-num/usual 1200s # End of ascii-string-to-num tests 1200s # Start of strdup tests 1200s ok 51 /strfuncs/strdup/inline 1200s # End of strdup tests 1200s # End of strfuncs tests 1200s ok - glib/strfuncs.test 1200s # Running test: glib/gdbus-error.test 1200s TAP version 14 1200s # random seed: R02Sbfba064e32554f67e96aff2fef8eb9d8 1200s 1..4 1200s # Start of gdbus tests 1200s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_QBZK22/gdbus/registered-errors/.dirs/home 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_QBZK22/gdbus/registered-errors/.dirs/cache 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_QBZK22/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_QBZK22/gdbus/registered-errors/.dirs/system-config2 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_QBZK22/gdbus/registered-errors/.dirs/config 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_QBZK22/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_QBZK22/gdbus/registered-errors/.dirs/system-data2 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_QBZK22/gdbus/registered-errors/.dirs/data 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_QBZK22/gdbus/registered-errors/.dirs/state 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_QBZK22/gdbus/registered-errors/.dirs/runtime 1200s ok 1 /gdbus/registered-errors 1200s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_QBZK22/gdbus/unregistered-errors/.dirs/home 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_QBZK22/gdbus/unregistered-errors/.dirs/cache 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_QBZK22/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_QBZK22/gdbus/unregistered-errors/.dirs/system-config2 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_QBZK22/gdbus/unregistered-errors/.dirs/config 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_QBZK22/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_QBZK22/gdbus/unregistered-errors/.dirs/system-data2 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_QBZK22/gdbus/unregistered-errors/.dirs/data 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_QBZK22/gdbus/unregistered-errors/.dirs/state 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_QBZK22/gdbus/unregistered-errors/.dirs/runtime 1200s ok 2 /gdbus/unregistered-errors 1200s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_QBZK22/gdbus/transparent-gerror/.dirs/home 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_QBZK22/gdbus/transparent-gerror/.dirs/cache 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_QBZK22/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_QBZK22/gdbus/transparent-gerror/.dirs/system-config2 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_QBZK22/gdbus/transparent-gerror/.dirs/config 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_QBZK22/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_QBZK22/gdbus/transparent-gerror/.dirs/system-data2 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_QBZK22/gdbus/transparent-gerror/.dirs/data 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_QBZK22/gdbus/transparent-gerror/.dirs/state 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_QBZK22/gdbus/transparent-gerror/.dirs/runtime 1200s ok 3 /gdbus/transparent-gerror 1200s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_QBZK22/gdbus/register-error/.dirs/home 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_QBZK22/gdbus/register-error/.dirs/cache 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_QBZK22/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_QBZK22/gdbus/register-error/.dirs/system-config2 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_QBZK22/gdbus/register-error/.dirs/config 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_QBZK22/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_QBZK22/gdbus/register-error/.dirs/system-data2 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_QBZK22/gdbus/register-error/.dirs/data 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_QBZK22/gdbus/register-error/.dirs/state 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_QBZK22/gdbus/register-error/.dirs/runtime 1200s ok 4 /gdbus/register-error 1200s # End of gdbus tests 1200s ok - glib/gdbus-error.test 1200s # Running test: glib/unicode-normalize.test 1200s TAP version 14 1200s # random seed: R02Sd7322116eb70621557557f5c231df511 1200s 1..3 1200s # Start of unicode tests 1200s # Processing Part0 # Specific cases 1200s # Processing Part1 # Character by character test 1200s # Processing Part2 # Canonical Order Test 1200s # Processing Part3 # PRI #29 Test 1200s # Processing Part4 # Canonical closures (excluding Hangul) 1200s # Processing Part5 # Chained primary composites 1200s ok 1 /unicode/normalize 1200s # Invalid UTF-8 vector 0 1200s # Invalid UTF-8 vector 1 1200s # Invalid UTF-8 vector 2 1200s # Invalid UTF-8 vector 3 1200s # Invalid UTF-8 vector 4 1200s # Invalid UTF-8 vector 5 1200s # Invalid UTF-8 vector 6 1200s # Invalid UTF-8 vector 7 1200s # Invalid UTF-8 vector 8 1200s # Invalid UTF-8 vector 9 1200s # Invalid UTF-8 vector 10 1200s # Invalid UTF-8 vector 11 1200s # Invalid UTF-8 vector 12 1200s ok 2 /unicode/normalize-invalid 1200s # Start of normalize tests 1200s ok 3 /unicode/normalize/bad-length 1200s # End of normalize tests 1200s # End of unicode tests 1200s ok - glib/unicode-normalize.test 1200s # Running test: glib/utf8-performance.test 1200s TAP version 14 1200s # random seed: R02Sc1630294d5ad06af7960ee328d398ad8 1200s 1..36 1200s # Start of utf8 tests 1200s # Start of perf tests 1200s # Start of get_char tests 1200s # max perf: inf MB/s 1200s ok 1 /utf8/perf/get_char/ascii 1200s # max perf: inf MB/s 1200s ok 2 /utf8/perf/get_char/latin1 1200s # max perf: 160.0 MB/s 1200s ok 3 /utf8/perf/get_char/cyrillic 1200s # max perf: 156.0 MB/s 1200s ok 4 /utf8/perf/get_char/han 1200s # End of get_char tests 1200s # Start of get_char-backwards tests 1200s # max perf: 43.0 MB/s 1200s ok 5 /utf8/perf/get_char-backwards/ascii 1200s # max perf: 67.0 MB/s 1200s ok 6 /utf8/perf/get_char-backwards/latin1 1200s # max perf: 160.0 MB/s 1200s ok 7 /utf8/perf/get_char-backwards/cyrillic 1200s # max perf: 156.0 MB/s 1200s ok 8 /utf8/perf/get_char-backwards/han 1200s # End of get_char-backwards tests 1200s # Start of get_char_validated tests 1200s # max perf: inf MB/s 1200s ok 9 /utf8/perf/get_char_validated/ascii 1200s # max perf: inf MB/s 1200s ok 10 /utf8/perf/get_char_validated/latin1 1200s # max perf: 80.0 MB/s 1200s ok 11 /utf8/perf/get_char_validated/cyrillic 1200s # max perf: inf MB/s 1200s ok 12 /utf8/perf/get_char_validated/han 1200s # End of get_char_validated tests 1200s # Start of utf8_to_ucs4 tests 1200s # max perf: 43.0 MB/s 1200s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1200s # max perf: 67.0 MB/s 1200s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1200s # max perf: 160.0 MB/s 1200s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1200s # max perf: 156.0 MB/s 1200s ok 16 /utf8/perf/utf8_to_ucs4/han 1200s # End of utf8_to_ucs4 tests 1200s # Start of utf8_to_ucs4-sized tests 1200s # max perf: 43.0 MB/s 1200s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1200s # max perf: 67.0 MB/s 1200s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1200s # max perf: 160.0 MB/s 1200s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1200s # max perf: 156.0 MB/s 1200s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1200s # End of utf8_to_ucs4-sized tests 1200s # Start of utf8_to_ucs4_fast tests 1200s # max perf: 43.0 MB/s 1200s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1200s # max perf: 67.0 MB/s 1200s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1200s # max perf: 160.0 MB/s 1200s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1200s # max perf: 156.0 MB/s 1200s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1200s # End of utf8_to_ucs4_fast tests 1200s # Start of utf8_to_ucs4_fast-sized tests 1200s # max perf: inf MB/s 1200s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1200s # max perf: 67.0 MB/s 1200s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1200s # max perf: inf MB/s 1200s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1200s # max perf: inf MB/s 1200s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1200s # End of utf8_to_ucs4_fast-sized tests 1200s # Start of utf8_validate tests 1200s # max perf: inf MB/s 1200s ok 29 /utf8/perf/utf8_validate/ascii 1200s # max perf: inf MB/s 1200s ok 30 /utf8/perf/utf8_validate/latin1 1200s # max perf: 160.0 MB/s 1200s ok 31 /utf8/perf/utf8_validate/cyrillic 1200s # max perf: 156.0 MB/s 1200s ok 32 /utf8/perf/utf8_validate/han 1200s # End of utf8_validate tests 1200s # Start of utf8_validate-sized tests 1200s # max perf: inf MB/s 1200s ok 33 /utf8/perf/utf8_validate-sized/ascii 1200s # max perf: 67.0 MB/s 1200s ok 34 /utf8/perf/utf8_validate-sized/latin1 1200s # max perf: inf MB/s 1200s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1200s # max perf: inf MB/s 1200s ok 36 /utf8/perf/utf8_validate-sized/han 1200s # End of utf8_validate-sized tests 1200s # End of perf tests 1200s # End of utf8 tests 1200s ok - glib/utf8-performance.test 1200s # Running test: glib/gvariant.test 1200s TAP version 14 1200s # random seed: R02S9dbfc8a12b06625552b70185160adbb5 1200s 1..68 1200s # Start of gvariant tests 1200s ok 1 /gvariant/type 1200s ok 2 /gvariant/typeinfo 1200s ok 3 /gvariant/string 1200s ok 4 /gvariant/utf8 1200s ok 5 /gvariant/utf8-new-strings 1201s ok 6 /gvariant/containers 1201s # slow test /gvariant/containers executed in 0.99 secs 1201s ok 7 /gvariant/format-strings 1201s ok 8 /gvariant/invalid-varargs 1201s ok 9 /gvariant/varargs 1201s ok 10 /gvariant/valist 1201s ok 11 /gvariant/builder-memory 1201s ok 12 /gvariant/hashing 1201s ok 13 /gvariant/byteswap 1202s ok 14 /gvariant/parser 1202s ok 15 /gvariant/parse-failures 1202s ok 16 /gvariant/parse-positional 1202s ok 17 /gvariant/floating 1202s ok 18 /gvariant/bytestring 1202s ok 19 /gvariant/lookup-value 1202s ok 20 /gvariant/lookup 1202s ok 21 /gvariant/compare 1202s ok 22 /gvariant/equal 1202s ok 23 /gvariant/fixed-array 1202s ok 24 /gvariant/check-format-string 1202s ok 25 /gvariant/checksum-basic 1202s ok 26 /gvariant/checksum-nested 1202s ok 27 /gvariant/gbytes 1202s ok 28 /gvariant/print-context 1202s ok 29 /gvariant/error-quark 1202s ok 30 /gvariant/stack-builder-init 1202s ok 31 /gvariant/stack-builder-init-static 1202s ok 32 /gvariant/stack-builder-init-unset 1202s ok 33 /gvariant/stack-dict-init 1202s ok 34 /gvariant/unaligned-construction 1202s # Start of type tests 1202s # Start of string-scan tests 1202s # Start of recursion tests 1202s ok 35 /gvariant/type/string-scan/recursion/tuple 1202s ok 36 /gvariant/type/string-scan/recursion/array 1202s # End of recursion tests 1202s # End of string-scan tests 1202s # End of type tests 1202s # Start of serialiser tests 1202s ok 37 /gvariant/serialiser/maybe 1202s ok 38 /gvariant/serialiser/array 1202s ok 39 /gvariant/serialiser/tuple 1202s ok 40 /gvariant/serialiser/variant 1202s ok 41 /gvariant/serialiser/strings 1202s ok 42 /gvariant/serialiser/byteswap 1202s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1202s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1202s ok 43 /gvariant/serialiser/children 1202s # Start of fuzz tests 1202s # Executing: glib/gvariant.test 1203s ok 44 /gvariant/serialiser/fuzz/1% 1203s ok 45 /gvariant/serialiser/fuzz/5% 1203s ok 46 /gvariant/serialiser/fuzz/9% 1204s ok 47 /gvariant/serialiser/fuzz/13% 1204s ok 48 /gvariant/serialiser/fuzz/17% 1204s # End of fuzz tests 1204s # End of serialiser tests 1204s # Start of utf8 tests 1204s # Start of subprocess tests 1204s # End of subprocess tests 1204s # End of utf8 tests 1204s # Start of varargs tests 1204s # Start of subprocess tests 1204s # End of subprocess tests 1204s # End of varargs tests 1204s # Start of byteswap tests 1204s # /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. 1204s ok 49 /gvariant/byteswap/non-normal-non-aligned 1204s # End of byteswap tests 1204s # Start of parser tests 1204s ok 50 /gvariant/parser/integer-bounds 1204s ok 51 /gvariant/parser/recursion 1204s # Start of recursion tests 1204s ok 52 /gvariant/parser/recursion/typedecls 1204s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1204s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1204s # Text form 0: @mmmu 5 1204s # Text form 1: @mmmas ['hello'] 1204s # Text form 2: @mmmu just just nothing 1204s # Text form 3: @mmmas just just nothing 1204s # Text form 4: @mmmu just nothing 1204s # Text form 5: @mmmas just nothing 1204s # Text form 6: @mmmu nothing 1204s # Text form 7: @mmmas nothing 1204s ok 53 /gvariant/parser/recursion/maybes 1204s # End of recursion tests 1204s # End of parser tests 1204s # Start of parse tests 1204s # Start of subprocess tests 1204s # End of subprocess tests 1204s # End of parse tests 1204s # Start of normal-checking tests 1204s ok 54 /gvariant/normal-checking/tuples 1204s ok 55 /gvariant/normal-checking/array-offsets 1204s ok 56 /gvariant/normal-checking/array-offsets2 1204s ok 57 /gvariant/normal-checking/tuple-offsets 1204s ok 58 /gvariant/normal-checking/tuple-offsets2 1204s ok 59 /gvariant/normal-checking/tuple-offsets3 1204s ok 60 /gvariant/normal-checking/tuple-offsets4 1204s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1204s ok 61 /gvariant/normal-checking/tuple-offsets5 1204s ok 62 /gvariant/normal-checking/empty-object-path 1204s # Start of array-offsets tests 1204s ok 63 /gvariant/normal-checking/array-offsets/overlapped 1204s ok 64 /gvariant/normal-checking/array-offsets/minimal-sized 1204s # End of array-offsets tests 1204s # Start of tuple-offsets tests 1204s ok 65 /gvariant/normal-checking/tuple-offsets/minimal-sized 1204s # End of tuple-offsets tests 1204s # End of normal-checking tests 1204s # Start of recursion-limits tests 1204s ok 66 /gvariant/recursion-limits/variant-in-variant 1204s ok 67 /gvariant/recursion-limits/array-in-variant 1204s # End of recursion-limits tests 1204s # End of gvariant tests 1204s # Start of gvarianttype tests 1204s ok 68 /gvarianttype/hash 1204s # End of gvarianttype tests 1204s ok - glib/gvariant.test 1204s # Running test: glib/utf8-misc.test 1204s TAP version 14 1204s # random seed: R02S20a12cddc3a529bc05c894297fd39e88 1204s 1..7 1204s # Start of utf8 tests 1204s ok 1 /utf8/strlen 1204s ok 2 /utf8/strncpy 1204s ok 3 /utf8/strrchr 1204s ok 4 /utf8/reverse 1204s ok 5 /utf8/substring 1204s ok 6 /utf8/make-valid 1204s ok 7 /utf8/truncate-middle 1204s # End of utf8 tests 1204s ok - glib/utf8-misc.test 1204s # Running test: glib/filter-streams.test 1204s TAP version 14 1204s # random seed: R02Sc16b326179408483c85913e399c9bae6 1204s 1..4 1204s # Start of filter-stream tests 1204s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1204s ok 1 /filter-stream/input 1204s ok 2 /filter-stream/output 1204s ok 3 /filter-stream/async-input 1204s ok 4 /filter-stream/async-output 1204s # End of filter-stream tests 1204s ok - glib/filter-streams.test 1204s # Running test: glib/gdbus-address-get-session.test 1204s TAP version 14 1204s # random seed: R02S1da7596831d5717901db0735a84641ed 1204s 1..2 1204s # Start of gdbus tests 1204s ok 1 /gdbus/x11-autolaunch 1204s ok 2 /gdbus/xdg-runtime 1204s # End of gdbus tests 1204s ok - glib/gdbus-address-get-session.test 1204s # Running test: glib/gdbus-server-auth.test 1204s TAP version 14 1204s # random seed: R02Sedd1f314671f86a57ff3287efde2b099 1204s 1..9 1204s # Start of gdbus tests 1204s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/.dirs/home 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/.dirs/cache 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/.dirs/system-config2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/.dirs/config 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/.dirs/system-data2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/.dirs/data 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/.dirs/state 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/.dirs/runtime 1204s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LYGD22/gdbus-server-auth-12GD22 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1204s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LYGD22/gdbus-server-auth-12GD22/dbus-vqjd8Q2u 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 13926 1204s ok 1 /gdbus/server-auth 1204s # Start of server-auth tests 1204s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/abstract/.dirs/home 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/abstract/.dirs/cache 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/abstract/.dirs/system-config2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/abstract/.dirs/config 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/abstract/.dirs/system-data2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/abstract/.dirs/data 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/abstract/.dirs/state 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/abstract/.dirs/runtime 1204s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_LYGD22/gdbus-server-auth-2WLD22 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1204s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LYGD22/gdbus-server-auth-2WLD22/dbus-p3epLlWP 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 13926 1204s ok 2 /gdbus/server-auth/abstract 1204s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/tcp/.dirs/home 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/tcp/.dirs/cache 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/tcp/.dirs/system-config2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/tcp/.dirs/config 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/tcp/.dirs/system-data2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/tcp/.dirs/data 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/tcp/.dirs/state 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/tcp/.dirs/runtime 1204s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1204s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1204s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/anonymous/.dirs/home 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/anonymous/.dirs/cache 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/anonymous/.dirs/system-config2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/anonymous/.dirs/config 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/anonymous/.dirs/system-data2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/anonymous/.dirs/data 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/anonymous/.dirs/state 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/anonymous/.dirs/runtime 1204s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LYGD22/gdbus-server-auth-46OD22 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1204s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LYGD22/gdbus-server-auth-46OD22/dbus-U4kpFsO9 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 13926 1204s ok 4 /gdbus/server-auth/anonymous 1204s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/external/.dirs/home 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/external/.dirs/cache 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/external/.dirs/system-config2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/external/.dirs/config 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/external/.dirs/system-data2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/external/.dirs/data 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/external/.dirs/state 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/external/.dirs/runtime 1204s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LYGD22/gdbus-server-auth-GFQC22 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1204s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LYGD22/gdbus-server-auth-GFQC22/dbus-X8u4ysy8 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 13926 1204s ok 5 /gdbus/server-auth/external 1204s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/sha1/.dirs/home 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/sha1/.dirs/cache 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/sha1/.dirs/system-config2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/sha1/.dirs/config 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/sha1/.dirs/system-data2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/sha1/.dirs/data 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/sha1/.dirs/state 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/sha1/.dirs/runtime 1204s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LYGD22/gdbus-server-auth-Q9TC22 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1204s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1204s # Start of anonymous tests 1204s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/anonymous/tcp/.dirs/home 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/anonymous/tcp/.dirs/cache 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/anonymous/tcp/.dirs/config 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/anonymous/tcp/.dirs/data 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/anonymous/tcp/.dirs/state 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1204s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1204s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1204s # End of anonymous tests 1204s # Start of external tests 1204s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/external/require-same-user/.dirs/home 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/external/require-same-user/.dirs/cache 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/external/require-same-user/.dirs/config 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/external/require-same-user/.dirs/data 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/external/require-same-user/.dirs/state 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/external/require-same-user/.dirs/runtime 1204s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LYGD22/gdbus-server-auth-KGUC22 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1204s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LYGD22/gdbus-server-auth-KGUC22/dbus-UrpY7yft 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 13926 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13926,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 13926 1204s ok 8 /gdbus/server-auth/external/require-same-user 1204s # End of external tests 1204s # Start of sha1 tests 1204s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/sha1/tcp/.dirs/home 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/sha1/tcp/.dirs/cache 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/sha1/tcp/.dirs/config 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/sha1/tcp/.dirs/data 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/sha1/tcp/.dirs/state 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LYGD22/gdbus/server-auth/sha1/tcp/.dirs/runtime 1204s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1204s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1204s # End of sha1 tests 1204s # End of server-auth tests 1204s # End of gdbus tests 1204s ok - glib/gdbus-server-auth.test 1204s # Running test: glib/private.test 1204s TAP version 14 1204s # random seed: R02S6e1b0ba7ccb297b1871db4faa535e05f 1204s 1..8 1204s # Start of thread tests 1204s ok 1 /thread/private1 1205s ok 2 /thread/private2 1205s # slow test /thread/private2 executed in 1.09 secs 1205s ok 3 /thread/private3 1205s ok 4 /thread/staticprivate1 1205s ok 5 /thread/staticprivate2 1205s ok 6 /thread/staticprivate3 1206s ok 7 /thread/staticprivate4 1206s # slow test /thread/staticprivate4 executed in 1.09 secs 1206s ok 8 /thread/staticprivate5 1206s # End of thread tests 1206s ok - glib/private.test 1206s # Running test: glib/module-test-plugin.test 1206s TAP version 14 1206s # random seed: R02Sb7af252c8decc7510c27775c78a04f08 1206s 1..3 1206s # Start of module tests 1206s ok 1 /module/basics 1206s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1206s ok 2 /module/invalid-libtool-archive 1206s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1206s ok 3 /module/local-binding 1206s # End of module tests 1206s ok - glib/module-test-plugin.test 1206s # Running test: glib/gdbus-serialization.test 1206s TAP version 14 1206s # random seed: R02S124c29c3dbfef4392dce13524b424bc1 1206s 1..18 1206s # Start of gdbus tests 1206s # Start of message-serialize tests 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/basic/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/basic/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/basic/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/basic/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/basic/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/basic/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/basic/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/basic/.dirs/runtime 1206s ok 1 /gdbus/message-serialize/basic 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/complex/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/complex/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/complex/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/complex/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/complex/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/complex/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/complex/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/complex/.dirs/runtime 1206s ok 2 /gdbus/message-serialize/complex 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/invalid/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/invalid/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/invalid/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/invalid/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/invalid/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/invalid/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/invalid/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/invalid/.dirs/runtime 1206s ok 3 /gdbus/message-serialize/invalid 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/header-checks/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/header-checks/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/header-checks/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/header-checks/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/header-checks/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/header-checks/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/header-checks/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/header-checks/.dirs/runtime 1206s ok 4 /gdbus/message-serialize/header-checks 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/double-array/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/double-array/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/double-array/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/double-array/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/double-array/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/double-array/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/double-array/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/double-array/.dirs/runtime 1206s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1206s ok 5 /gdbus/message-serialize/double-array 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/empty-structure/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/empty-structure/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/empty-structure/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/empty-structure/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/empty-structure/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/empty-structure/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/empty-structure/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/empty-structure/.dirs/runtime 1206s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1206s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1206s ok 6 /gdbus/message-serialize/empty-structure 1206s # Start of header-checks tests 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/header-checks/valid/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/header-checks/valid/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/header-checks/valid/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/header-checks/valid/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/header-checks/valid/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1206s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1206s ok 7 /gdbus/message-serialize/header-checks/valid 1206s # End of header-checks tests 1206s # End of message-serialize tests 1206s # Start of message-parse tests 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1206s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1206s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/non-signature-header/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/non-signature-header/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/non-signature-header/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/non-signature-header/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/non-signature-header/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/non-signature-header/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/non-signature-header/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/non-signature-header/.dirs/runtime 1206s ok 9 /gdbus/message-parse/non-signature-header 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-signature-header/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-signature-header/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-signature-header/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-signature-header/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-signature-header/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-signature-header/.dirs/runtime 1206s ok 10 /gdbus/message-parse/empty-signature-header 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/multiple-signature-header/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/multiple-signature-header/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/multiple-signature-header/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/multiple-signature-header/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/multiple-signature-header/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1206s ok 11 /gdbus/message-parse/multiple-signature-header 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/over-long-signature-header/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/over-long-signature-header/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/over-long-signature-header/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/over-long-signature-header/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/over-long-signature-header/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1206s ok 12 /gdbus/message-parse/over-long-signature-header 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/deep-header-nesting/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/deep-header-nesting/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/deep-header-nesting/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/deep-header-nesting/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/deep-header-nesting/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1206s ok 13 /gdbus/message-parse/deep-header-nesting 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/deep-body-nesting/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/deep-body-nesting/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/deep-body-nesting/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/deep-body-nesting/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/deep-body-nesting/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1206s ok 14 /gdbus/message-parse/deep-body-nesting 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/truncated/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/truncated/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/truncated/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/truncated/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/truncated/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/truncated/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/truncated/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/truncated/.dirs/runtime 1206s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1206s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1206s ok 15 /gdbus/message-parse/truncated 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-structure/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-structure/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-structure/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-structure/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-structure/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-structure/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-structure/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/empty-structure/.dirs/runtime 1206s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1206s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1206s ok 16 /gdbus/message-parse/empty-structure 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/missing-header/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/missing-header/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/missing-header/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/missing-header/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/missing-header/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/missing-header/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/missing-header/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/missing-header/.dirs/runtime 1206s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1206s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1206s ok 17 /gdbus/message-parse/missing-header 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/invalid-header-type/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/invalid-header-type/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/invalid-header-type/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/invalid-header-type/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/invalid-header-type/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IHYG22/gdbus/message-parse/invalid-header-type/.dirs/runtime 1206s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1206s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1206s ok 18 /gdbus/message-parse/invalid-header-type 1206s # End of message-parse tests 1206s # End of gdbus tests 1206s ok - glib/gdbus-serialization.test 1206s # Running test: glib/gmenumodel.test 1206s TAP version 14 1206s # random seed: R02S809f5cfdce33e275e562de744dda2641 1206s 1..15 1206s # Start of gmenu tests 1206s ok 1 /gmenu/equality 1206s # slow test /gmenu/equality executed in 0.53 secs 1207s ok 2 /gmenu/random 1207s # slow test /gmenu/random executed in 0.54 secs 1207s ok 3 /gmenu/attributes 1207s ok 4 /gmenu/links 1207s ok 5 /gmenu/mutable 1207s ok 6 /gmenu/convenience 1207s ok 7 /gmenu/menuitem 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1207s ok 8 /gmenu/input-validation 1207s # Start of dbus tests 1207s # Executing: glib/gmenumodel.test 1208s ok 9 /gmenu/dbus/roundtrip 1208s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1208s ok 10 /gmenu/dbus/subscriptions 1209s ok 11 /gmenu/dbus/threaded 1209s # slow test /gmenu/dbus/threaded executed in 0.53 secs 1209s # Start of peer tests 1210s ok 12 /gmenu/dbus/peer/roundtrip 1210s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1210s ok 13 /gmenu/dbus/peer/subscriptions 1210s # End of peer tests 1210s # Start of export tests 1210s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1210s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1210s ok 14 /gmenu/dbus/export/error-handling 1210s # End of export tests 1210s # End of dbus tests 1210s # Start of attributes tests 1210s ok 15 /gmenu/attributes/iterate 1210s # End of attributes tests 1210s # End of gmenu tests 1210s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1210s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1210s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1210s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1210s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1210s ok - glib/gmenumodel.test 1210s # Running test: glib/cmph-bdz.test 1210s TAP version 14 1210s # random seed: R02Sc0a8651dc0bad25297e14ef5743192b3 1210s 1..2 1210s # Start of cmph-bdz tests 1210s ok 1 /cmph-bdz/search 1210s ok 2 /cmph-bdz/search-packed 1210s # End of cmph-bdz tests 1210s ok - glib/cmph-bdz.test 1210s # Running test: glib/fileutils.test 1210s TAP version 14 1210s # random seed: R02Sde8b95146833ed8c506d05873c823a62 1210s 1..27 1210s # Start of fileutils tests 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/paths/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/paths/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/paths/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/paths/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/paths/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/paths/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/paths/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/paths/.dirs/runtime 1210s ok 1 /fileutils/paths 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/build-path/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/build-path/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/build-path/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/build-path/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/build-path/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/build-path/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/build-path/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/build-path/.dirs/runtime 1210s ok 2 /fileutils/build-path 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/build-pathv/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/build-pathv/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/build-pathv/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/build-pathv/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/build-pathv/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/build-pathv/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/build-pathv/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/build-pathv/.dirs/runtime 1210s ok 3 /fileutils/build-pathv 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/build-filename/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/build-filename/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/build-filename/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/build-filename/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/build-filename/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/build-filename/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/build-filename/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/build-filename/.dirs/runtime 1210s ok 4 /fileutils/build-filename 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/build-filenamev/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/build-filenamev/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/build-filenamev/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/build-filenamev/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/build-filenamev/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/build-filenamev/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/build-filenamev/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/build-filenamev/.dirs/runtime 1210s ok 5 /fileutils/build-filenamev 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/mkdir-with-parents/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/mkdir-with-parents/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/mkdir-with-parents/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/mkdir-with-parents/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/mkdir-with-parents/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/mkdir-with-parents/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/mkdir-with-parents/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/mkdir-with-parents/.dirs/runtime 1210s # We do not have CAP_DAC_OVERRIDE or equivalent 1210s ok 6 /fileutils/mkdir-with-parents 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/mkdir-with-parents-permission/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/mkdir-with-parents-permission/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/mkdir-with-parents-permission/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/mkdir-with-parents-permission/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/mkdir-with-parents-permission/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/mkdir-with-parents-permission/.dirs/runtime 1210s # We do not have CAP_DAC_OVERRIDE or equivalent 1210s ok 7 /fileutils/mkdir-with-parents-permission 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/format-size-for-display/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/format-size-for-display/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/format-size-for-display/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/format-size-for-display/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/format-size-for-display/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/format-size-for-display/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/format-size-for-display/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/format-size-for-display/.dirs/runtime 1210s ok 8 /fileutils/format-size-for-display 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/errors/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/errors/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/errors/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/errors/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/errors/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/errors/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/errors/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/errors/.dirs/runtime 1210s ok 9 /fileutils/errors 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/basename/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/basename/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/basename/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/basename/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/basename/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/basename/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/basename/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/basename/.dirs/runtime 1210s ok 10 /fileutils/basename 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/get-basename/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/get-basename/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/get-basename/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/get-basename/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/get-basename/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/get-basename/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/get-basename/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/get-basename/.dirs/runtime 1210s ok 11 /fileutils/get-basename 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/dirname/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/dirname/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/dirname/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/dirname/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/dirname/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/dirname/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/dirname/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/dirname/.dirs/runtime 1210s ok 12 /fileutils/dirname 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/dir-make-tmp/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/dir-make-tmp/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/dir-make-tmp/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/dir-make-tmp/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/dir-make-tmp/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/dir-make-tmp/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/dir-make-tmp/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/dir-make-tmp/.dirs/runtime 1210s ok 13 /fileutils/dir-make-tmp 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/file-open-tmp/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/file-open-tmp/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/file-open-tmp/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/file-open-tmp/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/file-open-tmp/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/file-open-tmp/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/file-open-tmp/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/file-open-tmp/.dirs/runtime 1210s ok 14 /fileutils/file-open-tmp 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/file-test/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/file-test/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/file-test/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/file-test/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/file-test/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/file-test/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/file-test/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/file-test/.dirs/runtime 1210s ok 15 /fileutils/file-test 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/mkstemp/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/mkstemp/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/mkstemp/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/mkstemp/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/mkstemp/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/mkstemp/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/mkstemp/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/mkstemp/.dirs/runtime 1210s ok 16 /fileutils/mkstemp 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/mkdtemp/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/mkdtemp/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/mkdtemp/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/mkdtemp/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/mkdtemp/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/mkdtemp/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/mkdtemp/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/mkdtemp/.dirs/runtime 1210s ok 17 /fileutils/mkdtemp 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/get-contents/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/get-contents/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/get-contents/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/get-contents/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/get-contents/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/get-contents/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/get-contents/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/get-contents/.dirs/runtime 1210s ok 18 /fileutils/get-contents 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/get-contents-large-file/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/get-contents-large-file/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/get-contents-large-file/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/get-contents-large-file/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/get-contents-large-file/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/get-contents-large-file/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/get-contents-large-file/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/get-contents-large-file/.dirs/runtime 1211s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/set-contents/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/set-contents/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/set-contents/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/set-contents/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/set-contents/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/set-contents/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/set-contents/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/set-contents/.dirs/runtime 1211s ok 20 /fileutils/set-contents 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/set-contents-full/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/set-contents-full/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/.dirs/runtime 1211s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1211s # Flags 0 and test 0 1211s # Flags 0 and test 1 1211s # Flags 0 and test 2 1211s # Flags 0 and test 3 1211s # Flags 0 and test 4 1211s # Flags 0 and test 5 1211s # Flags 1 and test 0 1211s # Flags 1 and test 1 1211s # Flags 1 and test 2 1211s # Flags 1 and test 3 1211s # Flags 1 and test 4 1211s # Flags 1 and test 5 1211s # Flags 2 and test 0 1211s # Flags 2 and test 1 1211s # Flags 2 and test 2 1211s # Flags 2 and test 3 1211s # Flags 2 and test 4 1211s # Flags 2 and test 5 1211s # Flags 3 and test 0 1211s # Flags 3 and test 1 1211s # Flags 3 and test 2 1211s # Flags 3 and test 3 1211s # Flags 3 and test 4 1211s # Flags 3 and test 5 1211s # Flags 4 and test 0 1211s # Flags 4 and test 1 1211s # Flags 4 and test 2 1211s # Flags 4 and test 3 1211s # Flags 4 and test 4 1211s # Flags 4 and test 5 1211s # Flags 5 and test 0 1211s # Flags 5 and test 1 1211s # Flags 5 and test 2 1211s # Flags 5 and test 3 1211s # Flags 5 and test 4 1211s # Flags 5 and test 5 1211s # Flags 6 and test 0 1211s # Flags 6 and test 1 1211s # Flags 6 and test 2 1211s # Flags 6 and test 3 1211s # Flags 6 and test 4 1211s # Flags 6 and test 5 1211s ok 21 /fileutils/set-contents-full 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/read-link/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/read-link/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/read-link/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/read-link/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/read-link/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/read-link/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/read-link/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/read-link/.dirs/runtime 1211s ok 22 /fileutils/read-link 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/stdio-wrappers/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/stdio-wrappers/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/stdio-wrappers/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/stdio-wrappers/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/stdio-wrappers/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/stdio-wrappers/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/stdio-wrappers/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/stdio-wrappers/.dirs/runtime 1211s # We do not have CAP_DAC_OVERRIDE or equivalent 1211s ok 23 /fileutils/stdio-wrappers 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/fopen-modes/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/fopen-modes/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/fopen-modes/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/fopen-modes/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/fopen-modes/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/fopen-modes/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/fopen-modes/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/fopen-modes/.dirs/runtime 1211s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1211s # Testing fopen() mode 'w' 1211s # Testing fopen() mode 'r' 1211s # Testing fopen() mode 'a' 1211s # Testing fopen() mode 'w+' 1211s # Testing fopen() mode 'r+' 1211s # Testing fopen() mode 'a+' 1211s # Testing fopen() mode 'wb' 1211s # Testing fopen() mode 'rb' 1211s # Testing fopen() mode 'ab' 1211s # Testing fopen() mode 'w+b' 1211s # Testing fopen() mode 'r+b' 1211s # Testing fopen() mode 'a+b' 1211s # Testing fopen() mode 'wb+' 1211s # Testing fopen() mode 'rb+' 1211s # Testing fopen() mode 'ab+' 1211s ok 24 /fileutils/fopen-modes 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/clear-fd/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/clear-fd/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/clear-fd/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/clear-fd/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/clear-fd/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/clear-fd/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/clear-fd/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/clear-fd/.dirs/runtime 1211s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1211s # Will be closed by autocleanup: 3, -42 1211s # Testing error handling 1211s ok 25 /fileutils/clear-fd 1211s # Start of set-contents-full tests 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/read-only-file/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/read-only-file/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/read-only-file/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/read-only-file/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/read-only-file/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/read-only-file/.dirs/runtime 1211s # We do not have CAP_DAC_OVERRIDE or equivalent 1211s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1211s ok 26 /fileutils/set-contents-full/read-only-file 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/read-only-directory/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/read-only-directory/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_8QN712/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/read-only-directory/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_8QN712/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/read-only-directory/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/read-only-directory/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_8QN712/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1211s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1211s # Flags 0 1211s # We do not have CAP_DAC_OVERRIDE or equivalent 1211s # Flags 1 1211s # We do not have CAP_DAC_OVERRIDE or equivalent 1211s # Flags 2 1211s # We do not have CAP_DAC_OVERRIDE or equivalent 1211s # Flags 3 1211s # We do not have CAP_DAC_OVERRIDE or equivalent 1211s # Flags 4 1211s # We do not have CAP_DAC_OVERRIDE or equivalent 1211s # Flags 5 1211s # We do not have CAP_DAC_OVERRIDE or equivalent 1211s # Flags 6 1211s # We do not have CAP_DAC_OVERRIDE or equivalent 1211s ok 27 /fileutils/set-contents-full/read-only-directory 1211s # End of set-contents-full tests 1211s # Start of clear-fd tests 1211s # Start of subprocess tests 1211s # End of subprocess tests 1211s # End of clear-fd tests 1211s # End of fileutils tests 1211s Unable to clean up temporary directory /tmp/test_fileutils_8QN712/glib-file-set-contents-full-rodir-0X7612: Directory not empty 1211s Unable to clean up temporary directory /tmp/test_fileutils_8QN712/glib-file-set-contents-full-rodir-XOB712: Directory not empty 1211s Unable to clean up temporary directory /tmp/test_fileutils_8QN712/glib-file-set-contents-full-rodir-4H8612: Directory not empty 1211s Unable to clean up temporary directory /tmp/test_fileutils_8QN712/glib-file-set-contents-full-rodir-8MA712: Directory not empty 1211s Unable to clean up temporary directory /tmp/test_fileutils_8QN712/glib-file-set-contents-full-rodir-P38612: Directory not empty 1211s Unable to clean up temporary directory /tmp/test_fileutils_8QN712/glib-file-set-contents-full-rodir-X0A712: Directory not empty 1211s Unable to clean up temporary directory /tmp/test_fileutils_8QN712/glib-file-set-contents-full-rodir-JU9612: Directory not empty 1211s Unable to clean up temporary directory /tmp/test_fileutils_8QN712: Directory not empty 1211s ok - glib/fileutils.test 1211s # Running test: glib/override.test 1211s TAP version 14 1211s # random seed: R02S1f93b6e833d59d26331a4858d016b97f 1211s 1..1 1211s # Start of gobject tests 1211s # *** emitting foo on a TestA instance 1211s # Expecting: TestA::foo,TestI::foo 1211s # Got: TestA::foo,TestI::foo 1211s # *** emitting bar on a TestA instance 1211s # Expecting: TestA::bar 1211s # Got: TestA::bar 1211s # *** emitting baz on a TestA instance 1211s # Expecting: TestA::baz 1211s # Got: TestA::baz 1211s # *** emitting foo on a TestB instance 1211s # Expecting: TestB::foo,TestA::foo,TestI::foo 1211s # Got: TestB::foo,TestA::foo,TestI::foo 1211s # *** emitting bar on a TestB instance 1211s # Expecting: TestB::bar,TestA::bar 1211s # Got: TestB::bar,TestA::bar 1211s # *** emitting baz on a TestB instance 1211s # Expecting: TestB::baz,TestA::baz 1211s # Got: TestB::baz,TestA::baz 1211s # *** emitting foo on a TestC instance 1211s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1211s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1211s # *** emitting bar on a TestC instance 1211s # Expecting: TestC::bar,TestB::bar,TestA::bar 1211s # Got: TestC::bar,TestB::bar,TestA::bar 1211s # *** emitting baz on a TestC instance 1211s # Expecting: TestC::baz,TestB::baz,TestA::baz 1211s # Got: TestC::baz,TestB::baz,TestA::baz 1211s ok 1 /gobject/override 1211s # End of gobject tests 1211s ok - glib/override.test 1211s # Running test: glib/642026.test 1211s TAP version 14 1211s # random seed: R02Se5234b12e99afd992decd6d37c584dbf 1211s 1..1 1211s # Start of glib tests 1211s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1211s ok 1 /glib/642026 1211s # End of glib tests 1211s ok - glib/642026.test 1211s # Running test: glib/utils-c-89.test 1211s TAP version 14 1211s # random seed: R02Sacebfb4f827ae61341635c1f627988d0 1211s 1..41 1211s # Start of utils tests 1211s ok 1 /utils/language-names 1211s ok 2 /utils/locale-variants 1211s ok 3 /utils/version 1211s ok 4 /utils/appname 1211s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1211s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1211s ok 5 /utils/prgname-thread-safety 1211s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1211s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1211s ok 6 /utils/tmpdir 1211s ok 7 /utils/basic_bits 1211s ok 8 /utils/bits 1211s ok 9 /utils/swap 1211s ok 10 /utils/find-program 1211s ok 11 /utils/find-program-for-path 1211s ok 12 /utils/debug 1211s ok 13 /utils/codeset 1211s ok 14 /utils/codeset2 1211s ok 15 /utils/console-charset 1211s ok 16 /utils/gettext 1211s ok 17 /utils/username 1211s ok 18 /utils/realname 1211s ok 19 /utils/hostname 1211s ok 20 /utils/xdgdirs 1211s ok 21 /utils/specialdir 1211s # NAME: Ubuntu 1211s ok 22 /utils/os-info 1211s ok 23 /utils/clear-pointer 1211s ok 24 /utils/clear-pointer-cast 1211s ok 25 /utils/take-pointer 1211s ok 26 /utils/clear-source 1211s ok 27 /utils/misc-mem 1211s # /utils/aligned-mem summary: Aligned memory allocator 1211s # Alignment must not be zero 1211s # Alignment must be a power of two 1211s # Alignment must be a multiple of sizeof(void*) 1211s ok 28 /utils/aligned-mem 1211s # /utils/free-sized summary: Check that g_free_sized() works 1211s ok 29 /utils/free-sized 1211s ok 30 /utils/nullify 1211s ok 31 /utils/atexit 1211s ok 32 /utils/check-setuid 1211s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1211s ok 33 /utils/int-limits 1211s ok 34 /utils/clear-list 1211s ok 35 /utils/clear-slist 1211s ok 36 /utils/steal-handle-id 1211s # Start of specialdir tests 1211s ok 37 /utils/specialdir/desktop 1211s # End of specialdir tests 1211s # Start of clear-pointer tests 1211s ok 38 /utils/clear-pointer/side-effects 1211s # End of clear-pointer tests 1211s # Start of aligned-mem tests 1211s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1211s ok 39 /utils/aligned-mem/alignment 1211s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1211s ok 40 /utils/aligned-mem/zeroed 1211s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1211s ok 41 /utils/aligned-mem/free-sized 1211s # Start of subprocess tests 1211s # End of subprocess tests 1211s # End of aligned-mem tests 1211s # End of utils tests 1211s ok - glib/utils-c-89.test 1211s # Running test: glib/union-info.test 1211s TAP version 14 1211s # random seed: R02Sbc0573294f55bf174cccdd0dc5636e7b 1211s 1..2 1211s # Start of union-info tests 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_MYDA22/union-info/basic/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_MYDA22/union-info/basic/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_MYDA22/union-info/basic/.dirs/system-config1:/tmp/test_union-info_MYDA22/union-info/basic/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_MYDA22/union-info/basic/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_MYDA22/union-info/basic/.dirs/system-data1:/tmp/test_union-info_MYDA22/union-info/basic/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_MYDA22/union-info/basic/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_MYDA22/union-info/basic/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_MYDA22/union-info/basic/.dirs/runtime 1211s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1211s # /union-info/basic summary: Test basic properties of GIUnionInfo 1211s ok 1 /union-info/basic 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_MYDA22/union-info/methods/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_MYDA22/union-info/methods/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_MYDA22/union-info/methods/.dirs/system-config1:/tmp/test_union-info_MYDA22/union-info/methods/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_MYDA22/union-info/methods/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_MYDA22/union-info/methods/.dirs/system-data1:/tmp/test_union-info_MYDA22/union-info/methods/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_MYDA22/union-info/methods/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_MYDA22/union-info/methods/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_MYDA22/union-info/methods/.dirs/runtime 1211s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1211s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1211s ok 2 /union-info/methods 1211s # End of union-info tests 1211s ok - glib/union-info.test 1211s # Running test: glib/mem-overflow.test 1211s TAP version 14 1211s # random seed: R02S794888b8c18e2b8144f992cf293c6844 1211s 1..2 1211s # Start of mem tests 1211s ok 1 /mem/overflow 1211s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1211s ok 2 /mem/empty-alloc 1211s # Start of overflow tests 1211s # Start of subprocess tests 1211s # End of subprocess tests 1211s # End of overflow tests 1211s # Start of empty-alloc tests 1211s # End of empty-alloc tests 1211s # End of mem tests 1211s ok - glib/mem-overflow.test 1211s # Running test: glib/data-input-stream.test 1211s TAP version 14 1211s # random seed: R02Sb0c7e759acce2a6615a34985f0e9d49b 1211s 1..10 1211s # Start of data-input-stream tests 1211s ok 1 /data-input-stream/basic 1211s ok 2 /data-input-stream/read-lines-LF 1211s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1211s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1211s ok 5 /data-input-stream/read-lines-CR 1211s ok 6 /data-input-stream/read-lines-CR-LF 1211s ok 7 /data-input-stream/read-lines-any 1211s ok 8 /data-input-stream/read-until 1211s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 1211s # Test vector 1: {"key": "value"}? and ? 1211s ok 9 /data-input-stream/read-upto 1211s ok 10 /data-input-stream/read-int 1211s # End of data-input-stream tests 1211s ok - glib/data-input-stream.test 1211s # Running test: glib/genmarshal.py.test 1211s TAP version 13 1211s ok 1 __main__.TestGenmarshal.test_empty_list 1211s # tmpdir: /tmp/tmpepy8ap2y 1211s # genmarshal: /usr/bin/glib-genmarshal 1211s # /tmp/tmpepy8ap2y/tmpq7qtjddb.list: 1211s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpepy8ap2y/tmpq7qtjddb.list', '--header', '--quiet'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # 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. */ 1211s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1211s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1211s # 1211s # #include 1211s # 1211s # G_BEGIN_DECLS 1211s # 1211s # 1211s # G_END_DECLS 1211s # 1211s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1211s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpepy8ap2y/tmpq7qtjddb.list', '--body', '--quiet'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # 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. */ 1211s # #include 1211s # 1211s # #ifdef G_ENABLE_DEBUG 1211s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1211s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1211s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1211s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1211s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1211s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1211s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1211s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1211s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1211s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1211s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1211s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1211s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1211s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1211s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1211s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1211s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1211s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1211s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1211s # #else /* !G_ENABLE_DEBUG */ 1211s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1211s # * Do not access GValues directly in your code. Instead, use the 1211s # * g_value_get_*() functions 1211s # */ 1211s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1211s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1211s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1211s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1211s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1211s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1211s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1211s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1211s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1211s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1211s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1211s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1211s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1211s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1211s # #endif /* !G_ENABLE_DEBUG */ 1211s ok 2 __main__.TestGenmarshal.test_help 1211s # tmpdir: /tmp/tmpj2co401f 1211s # genmarshal: /usr/bin/glib-genmarshal 1211s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1211s # [--internal] [--valist-marshallers] [-v] 1211s # [--g-fatal-warnings] [--include-header [HEADER]] 1211s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1211s # [--prototypes] [--header] [--body] [--stdinc | 1211s # --nostdinc] [--quiet | --verbose] 1211s # [FILE ...] 1211s # 1211s # Generate signal marshallers for GObject 1211s # 1211s # positional arguments: 1211s # FILE Files with lists of marshallers to generate, or "-" 1211s # for standard input 1211s # 1211s # options: 1211s # -h, --help show this help message and exit 1211s # --prefix STRING Specify marshaller prefix 1211s # --output FILE Write output into the specified file 1211s # --skip-source Skip source location comments 1211s # --internal Mark generated functions as internal 1211s # --valist-marshallers Generate va_list marshallers 1211s # -v, --version Print version information, and exit 1211s # --g-fatal-warnings Make warnings fatal 1211s # --include-header [HEADER] 1211s # Include the specified header in the body 1211s # --pragma-once Use "pragma once" as the inclusion guard 1211s # -D CPP_DEFINES Pre-processor define 1211s # -U CPP_UNDEFINES Pre-processor undefine 1211s # --prototypes Generate the marshallers prototype in the C code 1211s # --header Generate C headers 1211s # --body Generate C code 1211s # --stdinc Include standard marshallers 1211s # --nostdinc Use standard marshallers 1211s # --quiet Only print warnings and errors 1211s # --verbose Be verbose, and include debugging information 1211s ok 3 __main__.TestGenmarshal.test_no_args 1211s # tmpdir: /tmp/tmpb03d78z0 1211s # genmarshal: /usr/bin/glib-genmarshal 1211s # Running: ['/usr/bin/glib-genmarshal'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # Output: 1211s ok 4 __main__.TestGenmarshal.test_void_boolean 1211s # tmpdir: /tmp/tmprxvr2xuk 1211s # genmarshal: /usr/bin/glib-genmarshal 1211s # /tmp/tmprxvr2xuk/tmpambmgoxq.list: VOID:BOOLEAN 1211s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmprxvr2xuk/tmpambmgoxq.list', '--header', '--quiet'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # 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. */ 1211s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1211s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1211s # 1211s # #include 1211s # 1211s # G_BEGIN_DECLS 1211s # 1211s # /* VOID:BOOLEAN (/tmp/tmprxvr2xuk/tmpambmgoxq.list:1) */ 1211s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1211s # 1211s # 1211s # G_END_DECLS 1211s # 1211s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1211s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmprxvr2xuk/tmpambmgoxq.list', '--body', '--quiet'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # 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. */ 1211s # #include 1211s # 1211s # #ifdef G_ENABLE_DEBUG 1211s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1211s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1211s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1211s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1211s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1211s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1211s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1211s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1211s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1211s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1211s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1211s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1211s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1211s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1211s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1211s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1211s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1211s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1211s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1211s # #else /* !G_ENABLE_DEBUG */ 1211s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1211s # * Do not access GValues directly in your code. Instead, use the 1211s # * g_value_get_*() functions 1211s # */ 1211s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1211s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1211s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1211s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1211s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1211s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1211s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1211s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1211s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1211s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1211s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1211s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1211s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1211s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1211s # #endif /* !G_ENABLE_DEBUG */ 1211s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1211s # tmpdir: /tmp/tmp2ww318xw 1211s # genmarshal: /usr/bin/glib-genmarshal 1211s # /tmp/tmp2ww318xw/tmpn7to3c9o.list: VOID:BOOLEAN,INT64 1211s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2ww318xw/tmpn7to3c9o.list', '--header', '--quiet'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # 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. */ 1211s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1211s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1211s # 1211s # #include 1211s # 1211s # G_BEGIN_DECLS 1211s # 1211s # /* VOID:BOOLEAN,INT64 (/tmp/tmp2ww318xw/tmpn7to3c9o.list:1) */ 1211s # extern 1211s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1211s # GValue *return_value, 1211s # guint n_param_values, 1211s # const GValue *param_values, 1211s # gpointer invocation_hint, 1211s # gpointer marshal_data); 1211s # 1211s # 1211s # G_END_DECLS 1211s # 1211s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1211s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2ww318xw/tmpn7to3c9o.list', '--body', '--quiet'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # 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. */ 1211s # #include 1211s # 1211s # #ifdef G_ENABLE_DEBUG 1211s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1211s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1211s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1211s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1211s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1211s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1211s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1211s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1211s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1211s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1211s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1211s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1211s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1211s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1211s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1211s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1211s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1211s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1211s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1211s # #else /* !G_ENABLE_DEBUG */ 1211s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1211s # * Do not access GValues directly in your code. Instead, use the 1211s # * g_value_get_*() functions 1211s # */ 1211s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1211s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1211s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1211s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1211s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1211s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1211s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1211s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1211s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1211s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1211s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1211s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1211s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1211s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1211s # #endif /* !G_ENABLE_DEBUG */ 1211s # 1211s # /* VOID:BOOLEAN,INT64 (/tmp/tmp2ww318xw/tmpn7to3c9o.list:1) */ 1211s # void 1211s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1211s # GValue *return_value G_GNUC_UNUSED, 1211s # guint n_param_values, 1211s # const GValue *param_values, 1211s # gpointer invocation_hint G_GNUC_UNUSED, 1211s # gpointer marshal_data) 1211s # { 1211s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1211s # gboolean arg1, 1211s # gint64 arg2, 1211s # gpointer data2); 1211s # GCClosure *cc = (GCClosure *) closure; 1211s # gpointer data1, data2; 1211s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1211s # 1211s # g_return_if_fail (n_param_values == 3); 1211s # 1211s # if (G_CCLOSURE_SWAP_DATA (closure)) 1211s # { 1211s # data1 = closure->data; 1211s # data2 = g_value_peek_pointer (param_values + 0); 1211s # } 1211s # else 1211s # { 1211s # data1 = g_value_peek_pointer (param_values + 0); 1211s # data2 = closure->data; 1211s # } 1211s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1211s # 1211s # callback (data1, 1211s # g_marshal_value_peek_boolean (param_values + 1), 1211s # g_marshal_value_peek_int64 (param_values + 2), 1211s # data2); 1211s # } 1211s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1211s # tmpdir: /tmp/tmph2si8hdw 1211s # genmarshal: /usr/bin/glib-genmarshal 1211s # /tmp/tmph2si8hdw/tmp26v_8zvj.list: VOID:PARAM 1211s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmph2si8hdw/tmp26v_8zvj.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # 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. */ 1211s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1211s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1211s # 1211s # G_BEGIN_DECLS 1211s # 1211s # /* VOID:PARAM (/tmp/tmph2si8hdw/tmp26v_8zvj.list:1) */ 1211s # extern 1211s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1211s # GValue *return_value, 1211s # guint n_param_values, 1211s # const GValue *param_values, 1211s # gpointer invocation_hint, 1211s # gpointer marshal_data); 1211s # extern 1211s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1211s # GValue *return_value, 1211s # gpointer instance, 1211s # va_list args, 1211s # gpointer marshal_data, 1211s # int n_params, 1211s # GType *param_types); 1211s # 1211s # 1211s # G_END_DECLS 1211s # 1211s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1211s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmph2si8hdw/tmp26v_8zvj.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # 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. */ 1211s # #ifdef G_ENABLE_DEBUG 1211s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1211s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1211s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1211s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1211s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1211s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1211s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1211s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1211s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1211s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1211s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1211s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1211s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1211s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1211s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1211s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1211s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1211s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1211s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1211s # #else /* !G_ENABLE_DEBUG */ 1211s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1211s # * Do not access GValues directly in your code. Instead, use the 1211s # * g_value_get_*() functions 1211s # */ 1211s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1211s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1211s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1211s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1211s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1211s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1211s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1211s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1211s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1211s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1211s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1211s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1211s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1211s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1211s # #endif /* !G_ENABLE_DEBUG */ 1211s # 1211s # /* VOID:PARAM (/tmp/tmph2si8hdw/tmp26v_8zvj.list:1) */ 1211s # void 1211s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1211s # GValue *return_value G_GNUC_UNUSED, 1211s # guint n_param_values, 1211s # const GValue *param_values, 1211s # gpointer invocation_hint G_GNUC_UNUSED, 1211s # gpointer marshal_data) 1211s # { 1211s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1211s # gpointer arg1, 1211s # gpointer data2); 1211s # GCClosure *cc = (GCClosure *) closure; 1211s # gpointer data1, data2; 1211s # GMarshalFunc_VOID__PARAM callback; 1211s # 1211s # g_return_if_fail (n_param_values == 2); 1211s # 1211s # if (G_CCLOSURE_SWAP_DATA (closure)) 1211s # { 1211s # data1 = closure->data; 1211s # data2 = g_value_peek_pointer (param_values + 0); 1211s # } 1211s # else 1211s # { 1211s # data1 = g_value_peek_pointer (param_values + 0); 1211s # data2 = closure->data; 1211s # } 1211s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1211s # 1211s # callback (data1, 1211s # g_marshal_value_peek_param (param_values + 1), 1211s # data2); 1211s # } 1211s # 1211s # void 1211s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1211s # GValue *return_value G_GNUC_UNUSED, 1211s # gpointer instance, 1211s # va_list args, 1211s # gpointer marshal_data, 1211s # int n_params, 1211s # GType *param_types) 1211s # { 1211s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1211s # gpointer arg1, 1211s # gpointer data2); 1211s # GCClosure *cc = (GCClosure *) closure; 1211s # gpointer data1, data2; 1211s # GMarshalFunc_VOID__PARAM callback; 1211s # gpointer arg0; 1211s # va_list args_copy; 1211s # 1211s # va_copy (args_copy, args); 1211s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1211s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1211s # arg0 = g_param_spec_ref (arg0); 1211s # va_end (args_copy); 1211s # 1211s # 1211s # if (G_CCLOSURE_SWAP_DATA (closure)) 1211s # { 1211s # data1 = closure->data; 1211s # data2 = instance; 1211s # } 1211s # else 1211s # { 1211s # data1 = instance; 1211s # data2 = closure->data; 1211s # } 1211s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1211s # 1211s # callback (data1, 1211s # arg0, 1211s # data2); 1211s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1211s # g_param_spec_unref (arg0); 1211s # } 1211s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1211s # tmpdir: /tmp/tmp9dt5nhzu 1211s # genmarshal: /usr/bin/glib-genmarshal 1211s # /tmp/tmp9dt5nhzu/tmph4_6sfu_.list: VOID:STRING 1211s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp9dt5nhzu/tmph4_6sfu_.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # 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. */ 1211s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1211s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1211s # 1211s # G_BEGIN_DECLS 1211s # 1211s # /* VOID:STRING (/tmp/tmp9dt5nhzu/tmph4_6sfu_.list:1) */ 1211s # extern 1211s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1211s # GValue *return_value, 1211s # guint n_param_values, 1211s # const GValue *param_values, 1211s # gpointer invocation_hint, 1211s # gpointer marshal_data); 1211s # extern 1211s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1211s # GValue *return_value, 1211s # gpointer instance, 1211s # va_list args, 1211s # gpointer marshal_data, 1211s # int n_params, 1211s # GType *param_types); 1211s # 1211s # 1211s # G_END_DECLS 1211s # 1211s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1211s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp9dt5nhzu/tmph4_6sfu_.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # 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. */ 1211s # #ifdef G_ENABLE_DEBUG 1211s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1211s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1211s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1211s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1211s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1211s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1211s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1211s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1211s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1211s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1211s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1211s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1211s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1211s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1211s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1211s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1211s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1211s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1211s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1211s # #else /* !G_ENABLE_DEBUG */ 1211s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1211s # * Do not access GValues directly in your code. Instead, use the 1211s # * g_value_get_*() functions 1211s # */ 1211s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1211s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1211s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1211s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1211s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1211s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1211s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1211s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1211s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1211s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1211s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1211s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1211s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1211s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1211s # #endif /* !G_ENABLE_DEBUG */ 1211s # 1211s # /* VOID:STRING (/tmp/tmp9dt5nhzu/tmph4_6sfu_.list:1) */ 1211s # void 1211s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1211s # GValue *return_value G_GNUC_UNUSED, 1211s # guint n_param_values, 1211s # const GValue *param_values, 1211s # gpointer invocation_hint G_GNUC_UNUSED, 1211s # gpointer marshal_data) 1211s # { 1211s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1211s # gpointer arg1, 1211s # gpointer data2); 1211s # GCClosure *cc = (GCClosure *) closure; 1211s # gpointer data1, data2; 1211s # GMarshalFunc_VOID__STRING callback; 1211s # 1211s # g_return_if_fail (n_param_values == 2); 1211s # 1211s # if (G_CCLOSURE_SWAP_DATA (closure)) 1211s # { 1211s # data1 = closure->data; 1211s # data2 = g_value_peek_pointer (param_values + 0); 1211s # } 1211s # else 1211s # { 1211s # data1 = g_value_peek_pointer (param_values + 0); 1211s # data2 = closure->data; 1211s # } 1211s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1211s # 1211s # callback (data1, 1211s # g_marshal_value_peek_string (param_values + 1), 1211s # data2); 1211s # } 1211s # 1211s # void 1211s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1211s # GValue *return_value G_GNUC_UNUSED, 1211s # gpointer instance, 1211s # va_list args, 1211s # gpointer marshal_data, 1211s # int n_params, 1211s # GType *param_types) 1211s # { 1211s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1211s # gpointer arg1, 1211s # gpointer data2); 1211s # GCClosure *cc = (GCClosure *) closure; 1211s # gpointer data1, data2; 1211s # GMarshalFunc_VOID__STRING callback; 1211s # gpointer arg0; 1211s # va_list args_copy; 1211s # 1211s # va_copy (args_copy, args); 1211s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1211s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1211s # arg0 = g_strdup (arg0); 1211s # va_end (args_copy); 1211s # 1211s # 1211s # if (G_CCLOSURE_SWAP_DATA (closure)) 1211s # { 1211s # data1 = closure->data; 1211s # data2 = instance; 1211s # } 1211s # else 1211s # { 1211s # data1 = instance; 1211s # data2 = closure->data; 1211s # } 1211s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1211s # 1211s # callback (data1, 1211s # arg0, 1211s # data2); 1211s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1211s # g_free (arg0); 1211s # } 1211s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1211s # tmpdir: /tmp/tmppae4dpi9 1211s # genmarshal: /usr/bin/glib-genmarshal 1211s # /tmp/tmppae4dpi9/tmpwvn9tjpz.list: VOID:VARIANT 1211s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmppae4dpi9/tmpwvn9tjpz.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # 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. */ 1211s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1211s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1211s # 1211s # G_BEGIN_DECLS 1211s # 1211s # /* VOID:VARIANT (/tmp/tmppae4dpi9/tmpwvn9tjpz.list:1) */ 1211s # extern 1211s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1211s # GValue *return_value, 1211s # guint n_param_values, 1211s # const GValue *param_values, 1211s # gpointer invocation_hint, 1211s # gpointer marshal_data); 1211s # extern 1211s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1211s # GValue *return_value, 1211s # gpointer instance, 1211s # va_list args, 1211s # gpointer marshal_data, 1211s # int n_params, 1211s # GType *param_types); 1211s # 1211s # 1211s # G_END_DECLS 1211s # 1211s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1211s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmppae4dpi9/tmpwvn9tjpz.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-c24UBXb9vI,guid=1533fb7728bc070382c4508b67b87f3c', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.yKsP97/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.zXyil72Jkn', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Auf660/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.yKsP97/wrapper.sh --artifacts=/tmp/autopkgtest.yKsP97/installed-tests-artifacts --chdir=/tmp/autopkgtest.yKsP97/build.cqb/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.yKsP97/installed-tests-stderr --stdout=/tmp/autopkgtest.yKsP97/installed-tests-stdout --tmp=/tmp/autopkgtest.yKsP97/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests -- /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.yKsP97/build.cqb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.yKsP97/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # 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. */ 1211s # #ifdef G_ENABLE_DEBUG 1211s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1211s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1211s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1211s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1211s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1211s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1211s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1211s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1211s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1211s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1211s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1211s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1211s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1211s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1211s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1211s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1211s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1211s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1211s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1211s # #else /* !G_ENABLE_DEBUG */ 1211s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1211s # * Do not access GValues directly in your code. Instead, use the 1211s # * g_value_get_*() functions 1211s # */ 1211s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1211s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1211s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1211s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1211s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1211s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1211s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1211s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1211s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1211s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1211s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1211s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1211s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1211s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1211s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1211s # #endif /* !G_ENABLE_DEBUG */ 1211s # 1211s # /* VOID:VARIANT (/tmp/tmppae4dpi9/tmpwvn9tjpz.list:1) */ 1211s # void 1211s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1211s # GValue *return_value G_GNUC_UNUSED, 1211s # guint n_param_values, 1211s # const GValue *param_values, 1211s # gpointer invocation_hint G_GNUC_UNUSED, 1211s # gpointer marshal_data) 1211s # { 1211s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1211s # gpointer arg1, 1211s # gpointer data2); 1211s # GCClosure *cc = (GCClosure *) closure; 1211s # gpointer data1, data2; 1211s # GMarshalFunc_VOID__VARIANT callback; 1211s # 1211s # g_return_if_fail (n_param_values == 2); 1211s # 1211s # if (G_CCLOSURE_SWAP_DATA (closure)) 1211s # { 1211s # data1 = closure->data; 1211s # data2 = g_value_peek_pointer (param_values + 0); 1211s # } 1211s # else 1211s # { 1211s # data1 = g_value_peek_pointer (param_values + 0); 1211s # data2 = closure->data; 1211s # } 1211s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1211s # 1211s # callback (data1, 1211s # g_marshal_value_peek_variant (param_values + 1), 1211s # data2); 1211s # } 1211s # 1211s # void 1211s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1211s # GValue *return_value G_GNUC_UNUSED, 1211s # gpointer instance, 1211s # va_list args, 1211s # gpointer marshal_data, 1211s # int n_params, 1211s # GType *param_types) 1211s # { 1211s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1211s # gpointer arg1, 1211s # gpointer data2); 1211s # GCClosure *cc = (GCClosure *) closure; 1211s # gpointer data1, data2; 1211s # GMarshalFunc_VOID__VARIANT callback; 1211s # gpointer arg0; 1211s # va_list args_copy; 1211s # 1211s # va_copy (args_copy, args); 1211s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1211s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1211s # arg0 = g_variant_ref_sink (arg0); 1211s # va_end (args_copy); 1211s # 1211s # 1211s # if (G_CCLOSURE_SWAP_DATA (closure)) 1211s # { 1211s # data1 = closure->data; 1211s # data2 = instance; 1211s # } 1211s # else 1211s # { 1211s # data1 = instance; 1211s # data2 = closure->data; 1211s # } 1211s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1211s # 1211s # callback (data1, 1211s # arg0, 1211s # data2); 1211s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1211s # g_variant_unref (arg0); 1211s # } 1211s 1..8 1211s ok - glib/genmarshal.py.test 1211s # Running test: glib/once.test 1211s TAP version 14 1211s # random seed: R02S5d934472c9a447d674be225ab7bc475b 1211s 1..5 1211s # Start of once tests 1211s # /once/single-threaded summary: Test g_once() usage from a single thread 1211s ok 1 /once/single-threaded 1211s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1211s ok 2 /once/multi-threaded 1211s # End of once tests 1211s # Start of once-init tests 1211s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1211s ok 3 /once-init/single-threaded 1211s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1211s ok 4 /once-init/multi-threaded 1211s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1211s ok 5 /once-init/string 1211s # End of once-init tests 1211s ok - glib/once.test 1211s # Running test: glib/hostutils.test 1211s TAP version 14 1211s # random seed: R02Sb72b1e5c5b60e56b7cbad13a3becdddb 1211s 1..3 1211s # Start of hostutils tests 1211s ok 1 /hostutils/to_ascii 1211s ok 2 /hostutils/to_unicode 1211s ok 3 /hostutils/is_ip_addr 1211s # End of hostutils tests 1211s ok - glib/hostutils.test 1211s # Running test: glib/buffered-input-stream.test 1211s TAP version 14 1211s # random seed: R02S627f4b13a1c56962c46aec67a0d04374 1211s 1..10 1211s # Start of buffered-input-stream tests 1211s ok 1 /buffered-input-stream/peek 1211s ok 2 /buffered-input-stream/peek-buffer 1211s ok 3 /buffered-input-stream/set-buffer-size 1211s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1211s ok 4 /buffered-input-stream/read-byte 1211s ok 5 /buffered-input-stream/read 1211s ok 6 /buffered-input-stream/read-async 1211s ok 7 /buffered-input-stream/skip 1211s ok 8 /buffered-input-stream/skip-async 1211s ok 9 /buffered-input-stream/seek 1211s # End of buffered-input-stream tests 1211s # Start of filter-input-stream tests 1211s ok 10 /filter-input-stream/close 1211s # End of filter-input-stream tests 1211s ok - glib/buffered-input-stream.test 1211s # Running test: glib/protocol.test 1211s TAP version 14 1211s # random seed: R02Sba95be2ab3fd18092a8b268d379def4d 1211s 1..9 1211s # Start of glib tests 1211s # Start of testing tests 1211s # Start of protocol tests 1211s ok 1 /glib/testing/protocol/debug 1211s ok 2 /glib/testing/protocol/info 1211s ok 3 /glib/testing/protocol/message 1211s ok 4 /glib/testing/protocol/warning 1211s ok 5 /glib/testing/protocol/critical 1211s ok 6 /glib/testing/protocol/error 1211s ok 7 /glib/testing/protocol/gtest-message 1211s ok 8 /glib/testing/protocol/test-message 1211s ok 9 /glib/testing/protocol/test-error 1211s # End of protocol tests 1211s # End of testing tests 1211s # End of glib tests 1211s ok - glib/protocol.test 1211s # Running test: glib/module-test-library.test 1211s TAP version 14 1211s # random seed: R02Se27af8a0459f0983d4f15ae89deac7c7 1211s 1..3 1211s # Start of module tests 1211s ok 1 /module/basics 1211s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1211s ok 2 /module/invalid-libtool-archive 1211s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1211s ok 3 /module/local-binding 1211s # End of module tests 1211s ok - glib/module-test-library.test 1211s # Running test: glib/trash.test 1211s TAP version 14 1211s # random seed: R02S47613d64ce0f9a5824ffb02ed4679823 1211s 1..3 1211s # Start of trash tests 1211s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1211s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1211s # File: /tmp/test-trashD83Z12 (parent st_dev: 64769) 1211s # Home: /home/ubuntu (st_dev: 64769) 1211s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1211s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1211s # Target: /home/ubuntu/.local (mount: /) 1211s # Tmp: /tmp/test-trash4R4Z12 (mount: /) 1211s ok 2 /trash/symlinks # SKIP The tmp has to be on another mount than the home to run this test 1211s ok 3 /trash/long-filename 1211s # End of trash tests 1211s ok - glib/trash.test 1211s # Running test: glib/io-channel-basic.test 1211s TAP version 14 1211s # random seed: R02Sf8a0d9290ea714221fbbeead9749c806 1211s 1..1 1211s # Start of gio tests 1211s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1211s # random seed: R02Sa0c05089b077b16ad273096c0c6b65b9 1211s # GLib-DEBUG: io-channel-basic: child writing 8+602 bytes to 6 1211s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 5: 602 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1212s # GLib-DEBUG: io-channel-basic: child writing 8+3491 bytes to 6 1212s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 5: 3491 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1212s # GLib-DEBUG: io-channel-basic: child writing 8+2063 bytes to 6 1212s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 5: 2063 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1212s # GLib-DEBUG: io-channel-basic: child writing 8+4478 bytes to 6 1212s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 5: 4478 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1212s # GLib-DEBUG: io-channel-basic: child writing 8+4442 bytes to 6 1212s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 5: 4442 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1212s # Executing: glib/io-channel-basic.test 1213s # GLib-DEBUG: io-channel-basic: child writing 8+4538 bytes to 6 1213s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 5: 4538 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1213s # GLib-DEBUG: io-channel-basic: child writing 8+3982 bytes to 6 1213s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 5: 3982 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1213s # GLib-DEBUG: io-channel-basic: child writing 8+874 bytes to 6 1213s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 5: 874 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1213s # GLib-DEBUG: io-channel-basic: child writing 8+4713 bytes to 6 1213s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 5: 4713 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1214s # GLib-DEBUG: io-channel-basic: child writing 8+577 bytes to 6 1214s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 5: 577 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1214s # GLib-DEBUG: io-channel-basic: child writing 8+2482 bytes to 6 1214s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 5: 2482 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1214s # GLib-DEBUG: io-channel-basic: child writing 8+4168 bytes to 6 1214s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 5: 4168 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1215s # GLib-DEBUG: io-channel-basic: child writing 8+573 bytes to 6 1215s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 5: 573 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1215s # GLib-DEBUG: io-channel-basic: child writing 8+4496 bytes to 6 1215s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 5: 4496 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1215s # GLib-DEBUG: io-channel-basic: child writing 8+2566 bytes to 6 1215s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 5: 2566 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1215s # GLib-DEBUG: io-channel-basic: child writing 8+1713 bytes to 6 1215s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 5: 1713 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1216s # GLib-DEBUG: io-channel-basic: child writing 8+506 bytes to 6 1216s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1216s # GLib-DEBUG: io-channel-basic: ...from 5: 506 bytes 1216s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1216s # GLib-DEBUG: io-channel-basic: child writing 8+810 bytes to 6 1216s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1216s # GLib-DEBUG: io-channel-basic: ...from 5: 810 bytes 1216s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1216s # GLib-DEBUG: io-channel-basic: child writing 8+2607 bytes to 6 1216s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1216s # GLib-DEBUG: io-channel-basic: ...from 5: 2607 bytes 1216s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1216s # GLib-DEBUG: io-channel-basic: child writing 8+3882 bytes to 6 1216s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1216s # GLib-DEBUG: io-channel-basic: ...from 5: 3882 bytes 1216s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1217s # GLib-DEBUG: io-channel-basic: child writing 8+3926 bytes to 6 1217s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1217s # GLib-DEBUG: io-channel-basic: ...from 5: 3926 bytes 1217s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1217s # GLib-DEBUG: io-channel-basic: child writing 8+694 bytes to 6 1217s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1217s # GLib-DEBUG: io-channel-basic: ...from 5: 694 bytes 1217s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1217s # GLib-DEBUG: io-channel-basic: child writing 8+1790 bytes to 6 1217s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1217s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1217s # GLib-DEBUG: io-channel-basic: ...from 5: 1790 bytes 1217s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1217s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1217s # random seed: R02S0f13ca248045b48ff8b55382aaa537e0 1217s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1217s # random seed: R02S5d39ee334d6ec940c7ecc2e97bcfcd72 1217s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1217s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1217s # random seed: R02S6a43442f485fe88079911bb68d7c3c69 1217s # random seed: R02Sbe2bb1438fc5846dc0d5b2f395edb01b 1217s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1217s # random seed: R02Sa19f4fc7601837ae1cfdea2c9f558f43 1217s # GLib-DEBUG: io-channel-basic: child writing 8+2648 bytes to 15 1217s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1217s # GLib-DEBUG: io-channel-basic: ...from 14: 2648 bytes 1217s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1217s # GLib-DEBUG: io-channel-basic: child writing 8+86 bytes to 11 1217s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1217s # GLib-DEBUG: io-channel-basic: ...from 10: 86 bytes 1217s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1217s # GLib-DEBUG: io-channel-basic: child writing 8+2013 bytes to 13 1217s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1217s # GLib-DEBUG: io-channel-basic: ...from 12: 2013 bytes 1217s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1217s # GLib-DEBUG: io-channel-basic: child writing 8+2546 bytes to 17 1217s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1217s # GLib-DEBUG: io-channel-basic: ...from 16: 2546 bytes 1217s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1217s # GLib-DEBUG: io-channel-basic: child writing 8+1402 bytes to 9 1217s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1217s # GLib-DEBUG: io-channel-basic: ...from 8: 1402 bytes 1217s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1217s # Executing: glib/io-channel-basic.test 1218s # GLib-DEBUG: io-channel-basic: child writing 8+936 bytes to 11 1218s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 10: 936 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+76 bytes to 15 1218s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 14: 76 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+493 bytes to 13 1218s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 12: 493 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+913 bytes to 9 1218s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 8: 913 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+2373 bytes to 17 1218s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 16: 2373 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+836 bytes to 15 1218s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 14: 836 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+579 bytes to 13 1218s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 12: 579 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+459 bytes to 11 1218s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 10: 459 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+3282 bytes to 9 1218s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 8: 3282 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+4186 bytes to 17 1218s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 16: 4186 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+4036 bytes to 15 1218s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 14: 4036 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+3966 bytes to 11 1218s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 10: 3966 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+311 bytes to 13 1218s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 12: 311 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+3314 bytes to 9 1218s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 8: 3314 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+3042 bytes to 17 1218s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 16: 3042 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+607 bytes to 15 1218s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 14: 607 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+4555 bytes to 9 1218s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 8: 4555 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+4026 bytes to 11 1218s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 10: 4026 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+2725 bytes to 13 1218s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 12: 2725 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+1156 bytes to 17 1218s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 16: 1156 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+4144 bytes to 15 1219s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 14: 4144 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+317 bytes to 11 1219s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 10: 317 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+421 bytes to 13 1219s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 12: 421 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+2202 bytes to 9 1219s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 8: 2202 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+2174 bytes to 17 1219s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 16: 2174 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+2819 bytes to 15 1219s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 14: 2819 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+2191 bytes to 11 1219s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 10: 2191 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+2032 bytes to 9 1219s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 8: 2032 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+3212 bytes to 13 1219s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 12: 3212 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+2208 bytes to 17 1219s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 16: 2208 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+2046 bytes to 15 1219s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 14: 2046 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+778 bytes to 9 1219s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 8: 778 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+16 bytes to 11 1219s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 10: 16 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+443 bytes to 13 1219s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 12: 443 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+2393 bytes to 17 1219s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 16: 2393 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+4013 bytes to 11 1219s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 10: 4013 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+2433 bytes to 9 1219s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 8: 2433 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+4558 bytes to 13 1219s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 12: 4558 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+1738 bytes to 15 1219s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 14: 1738 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+4873 bytes to 17 1219s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 16: 4873 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+631 bytes to 15 1220s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 14: 631 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+3199 bytes to 13 1220s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 12: 3199 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+580 bytes to 11 1220s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 10: 580 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+3968 bytes to 9 1220s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 8: 3968 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+3510 bytes to 17 1220s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 16: 3510 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+2906 bytes to 13 1220s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 12: 2906 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+1246 bytes to 11 1220s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 10: 1246 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+262 bytes to 15 1220s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 14: 262 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+487 bytes to 9 1220s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 8: 487 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+2508 bytes to 17 1220s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 16: 2508 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+1811 bytes to 13 1220s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 12: 1811 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+3800 bytes to 11 1220s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 10: 3800 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+348 bytes to 15 1220s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 14: 348 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+3894 bytes to 9 1220s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 8: 3894 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+2897 bytes to 17 1220s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 16: 2897 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+1395 bytes to 13 1220s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 12: 1395 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+3069 bytes to 11 1221s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 10: 3069 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+2039 bytes to 15 1221s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 14: 2039 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+4367 bytes to 9 1221s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 8: 4367 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+3182 bytes to 17 1221s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 16: 3182 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+4343 bytes to 13 1221s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 12: 4343 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+4553 bytes to 11 1221s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 10: 4553 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+4499 bytes to 15 1221s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 14: 4499 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+2389 bytes to 9 1221s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 8: 2389 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+2927 bytes to 17 1221s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 16: 2927 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+4674 bytes to 13 1221s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 12: 4674 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+3494 bytes to 9 1221s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 8: 3494 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+1935 bytes to 15 1221s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 14: 1935 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+3671 bytes to 11 1221s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 10: 3671 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+84 bytes to 17 1221s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 16: 84 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+3705 bytes to 13 1221s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 12: 3705 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+4927 bytes to 15 1221s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 14: 4927 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+240 bytes to 9 1221s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 8: 240 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+4182 bytes to 11 1221s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 10: 4182 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+3590 bytes to 17 1221s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 16: 3590 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+2601 bytes to 13 1222s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 12: 2601 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+1521 bytes to 9 1222s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 8: 1521 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+1785 bytes to 15 1222s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 14: 1785 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+2897 bytes to 11 1222s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 10: 2897 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+810 bytes to 17 1222s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 16: 810 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+1406 bytes to 13 1222s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 12: 1406 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+1993 bytes to 9 1222s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 8: 1993 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+3514 bytes to 11 1222s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 10: 3514 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+3888 bytes to 15 1222s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 14: 3888 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+203 bytes to 17 1222s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 16: 203 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+3520 bytes to 13 1222s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 12: 3520 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+2102 bytes to 9 1222s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 8: 2102 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+4137 bytes to 11 1222s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 10: 4137 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+2709 bytes to 15 1222s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 14: 2709 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+1461 bytes to 17 1222s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 16: 1461 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+2622 bytes to 13 1222s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 12: 2622 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+1626 bytes to 11 1222s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 10: 1626 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+3579 bytes to 9 1222s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 8: 3579 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+820 bytes to 15 1222s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 14: 820 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+370 bytes to 17 1222s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1222s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1222s # GLib-DEBUG: io-channel-basic: ...from 16: 370 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1222s # Executing: glib/io-channel-basic.test 1223s # GLib-DEBUG: io-channel-basic: child writing 8+2196 bytes to 13 1223s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1223s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1223s # GLib-DEBUG: io-channel-basic: ...from 12: 2196 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+2000 bytes to 9 1223s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1223s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1223s # GLib-DEBUG: io-channel-basic: ...from 8: 2000 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+3847 bytes to 11 1223s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 10: 3847 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+2787 bytes to 15 1223s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 14: 2787 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+3434 bytes to 11 1223s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 10: 3434 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+4105 bytes to 15 1223s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 14: 4105 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+2573 bytes to 15 1223s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 14: 2573 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+4143 bytes to 11 1223s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 10: 4143 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+2866 bytes to 11 1223s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1223s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1223s # GLib-DEBUG: io-channel-basic: ...from 10: 2866 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+3845 bytes to 15 1223s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 14: 3845 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1224s # GLib-DEBUG: io-channel-basic: child writing 8+651 bytes to 15 1224s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1224s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1224s # GLib-DEBUG: io-channel-basic: ...from 14: 651 bytes 1224s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1224s ok 1 /gio/io-basics 1224s # slow test /gio/io-basics executed in 12.54 secs 1224s # End of gio tests 1224s ok - glib/io-channel-basic.test 1224s # Running test: glib/init.test 1224s TAP version 14 1224s # random seed: R02S3be8f84a357db691d4a49115edbc4f76 1224s 1..2 1224s # Start of thread tests 1224s # Start of deprecated tests 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_5PXC22/thread/deprecated/init/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_5PXC22/thread/deprecated/init/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_5PXC22/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_5PXC22/thread/deprecated/init/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_5PXC22/thread/deprecated/init/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_5PXC22/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_5PXC22/thread/deprecated/init/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_5PXC22/thread/deprecated/init/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_5PXC22/thread/deprecated/init/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_5PXC22/thread/deprecated/init/.dirs/runtime 1224s ok 1 /thread/deprecated/init 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_5PXC22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_5PXC22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_5PXC22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_5PXC22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_5PXC22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_5PXC22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_5PXC22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_5PXC22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_5PXC22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_5PXC22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1224s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1224s # End of deprecated tests 1224s # End of thread tests 1224s ok - glib/init.test 1224s # Running test: glib/basic-signals.test 1224s TAP version 14 1224s # random seed: R02S7ce4497981e03603676f4d3a3101186a 1224s 1..1 1224s # Start of gobject tests 1224s ok 1 /gobject/basic-signals 1224s # End of gobject tests 1224s ok - glib/basic-signals.test 1224s # Running test: glib/task.test 1224s TAP version 14 1224s # random seed: R02Sad8304e4da975f12bd63c56af3997469 1224s 1..36 1224s # Start of gtask tests 1224s ok 1 /gtask/basic 1224s ok 2 /gtask/error 1224s ok 3 /gtask/error-literal 1224s ok 4 /gtask/error-literal-from-variable 1224s ok 5 /gtask/return-from-same-iteration 1224s ok 6 /gtask/return-from-toplevel 1224s ok 7 /gtask/return-from-anon-thread 1224s ok 8 /gtask/return-from-wrong-thread 1224s ok 9 /gtask/no-callback 1224s ok 10 /gtask/report-error 1224s ok 11 /gtask/priority 1224s ok 12 /gtask/name 1224s ok 13 /gtask/static-name 1224s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1224s ok 14 /gtask/asynchronous-cancellation 1224s ok 15 /gtask/check-cancellable 1224s ok 16 /gtask/return-if-cancelled 1224s ok 17 /gtask/run-in-thread 1224s ok 18 /gtask/run-in-thread-sync 1224s ok 19 /gtask/run-in-thread-priority 1224s ok 20 /gtask/run-in-thread-nested 1225s ok 21 /gtask/run-in-thread-overflow 1225s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 1225s # GLib-GIO-DEBUG: GTask 0x2aa2b56b7d0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1225s # GLib-GIO-DEBUG: GTask 0x2aa2b56aa30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1225s ok 22 /gtask/return-on-cancel 1225s # GLib-GIO-DEBUG: GTask 0x2aa2b56af60 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1225s # GLib-GIO-DEBUG: GTask 0x2aa2b56b120 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1225s ok 23 /gtask/return-on-cancel-sync 1225s ok 24 /gtask/return-on-cancel-atomic 1225s ok 25 /gtask/return-pointer 1225s ok 26 /gtask/return-value 1225s ok 27 /gtask/return-prefixed-error 1225s ok 28 /gtask/object-keepalive 1225s ok 29 /gtask/legacy-error 1225s ok 30 /gtask/finalize-without-return 1225s # Start of name tests 1225s ok 31 /gtask/name/macro-wrapper 1225s # End of name tests 1225s # Start of return tests 1225s ok 32 /gtask/return/error-first 1225s ok 33 /gtask/return/value-first 1225s # Start of in-idle tests 1225s ok 34 /gtask/return/in-idle/error-first 1225s ok 35 /gtask/return/in-idle/value-first 1225s # End of in-idle tests 1225s # End of return tests 1225s # Start of attach-source tests 1225s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1225s ok 36 /gtask/attach-source/set-name 1225s # End of attach-source tests 1225s # End of gtask tests 1225s ok - glib/task.test 1225s # Running test: glib/memchunk.test 1225s TAP version 14 1225s # random seed: R02S2bdc249f6befe319b4698cc3947d76ed 1225s 1..1 1225s # Start of memchunk tests 1225s ok 1 /memchunk/basic 1225s # End of memchunk tests 1225s ok - glib/memchunk.test 1225s # Running test: glib/properties-refcount2.test 1225s TAP version 14 1225s # random seed: R02S2195626e2fd00da48225e203b36775b4 1225s 1..1 1225s # Start of gobject tests 1225s # Start of refcount tests 1225s # init 0x2aa372f0770 1225s # 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # dispose 0x2aa372f0770! 1225s # 1225s ok 1 /gobject/refcount/properties-2 1225s # slow test /gobject/refcount/properties-2 executed in 0.66 secs 1225s # End of refcount tests 1225s # End of gobject tests 1225s ok - glib/properties-refcount2.test 1225s # Running test: glib/cxx-17.test 1225s TAP version 14 1225s # random seed: R02Se46ef5d47a09aeb110b1c0f78b42819c 1225s 1..2 1225s # Start of gtask tests 1225s # 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. 1225s ok 1 /gtask/name 1225s # Start of name tests 1225s # 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. 1225s ok 2 /gtask/name/macro-wrapper 1225s # End of name tests 1225s # End of gtask tests 1225s ok - glib/cxx-17.test 1225s # Running test: glib/macros-c-89.test 1225s TAP version 14 1225s # random seed: R02S0e34ebe9848c4d8a6b2b8fcbcddedc8a 1225s 1..4 1225s # Start of C tests 1225s ok 1 /C/standard-89 1225s # End of C tests 1225s # Start of alignof tests 1225s ok 2 /alignof/fallback 1225s # End of alignof tests 1225s # Start of assert tests 1225s ok 3 /assert/static 1225s # End of assert tests 1225s # Start of struct tests 1225s ok 4 /struct/sizeof_member 1225s # End of struct tests 1225s ok - glib/macros-c-89.test 1225s # SUMMARY: total=321; passed=320; skipped=1; failed=0; user=177.0s; system=43.6s; maxrss=164780 1226s autopkgtest [13:31:03]: test installed-tests: -----------------------] 1227s autopkgtest [13:31:04]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1227s installed-tests PASS 1227s autopkgtest [13:31:04]: test closure-refcount: preparing testbed 1227s Reading package lists... 1227s Building dependency tree... 1227s Reading state information... 1228s Starting pkgProblemResolver with broken count: 0 1228s Starting 2 pkgProblemResolver with broken count: 0 1228s Done 1228s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1229s autopkgtest [13:31:06]: test closure-refcount: [----------------------- 1229s Running test: glib/closure-refcount.test 1229s TAP version 14 1229s # random seed: R02S4ed9ebd6cc2eee8772ae1d474e3fdcb7 1229s 1..1 1229s # Start of closure tests 1229s # Init 0x2aa140300a0 1229s # Yielding from main thread 1229s # Yielding from thread2 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from thread2 1229s # Yielding from main thread 1229s # Yielding from main thread 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from thread2 1229s # Yielding from main thread 1229s # Yielding from main thread 1229s # Yielding from main thread 1229s # Yielding from thread2 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from thread2 1229s # Yielding from main thread 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from main thread 1229s # Yielding from thread2 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from thread2 1229s # Yielding from main thread 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from thread2 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from thread2 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from thread2 1229s # Yielding from main thread 1229s # Yielding from thread2 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from thread2 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from thread2 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from thread2 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from thread2 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from thread2 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from main thread 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from main thread 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from thread1 1230s # Yielding from main thread 1230s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from thread1 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from thread1 1230s # Yielding from main thread 1230s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from main thread 1230s # Yielding from main thread 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from main thread 1230s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from main thread 1230s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from thread1 1230s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from thread1 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from thread2 1230s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from main thread 1230s # Yielding from thread1 1230s # Yielding from thread2 1230s # Stopping 1230s # Stopped 1230s ok 1 /closure/refcount 1230s # slow test /closure/refcount executed in 1.65 secs 1230s # End of closure tests 1230s PASS: glib/closure-refcount.test 1230s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=3.3s; system=0.0s; maxrss=3608 1231s autopkgtest [13:31:08]: test closure-refcount: -----------------------] 1231s closure-refcount PASS 1231s autopkgtest [13:31:08]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1232s autopkgtest [13:31:09]: test debugcontroller: preparing testbed 1232s Reading package lists... 1232s Building dependency tree... 1232s Reading state information... 1232s Starting pkgProblemResolver with broken count: 0 1232s Starting 2 pkgProblemResolver with broken count: 0 1232s Done 1232s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1233s autopkgtest [13:31:10]: test debugcontroller: [----------------------- 1233s Running test: glib/debugcontroller.test 1233s TAP version 14 1233s # random seed: R02Sea166e601c007a89517cfb3a41e98b65 1233s 1..3 1233s # Start of debug-controller tests 1233s # Start of dbus tests 1233s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1233s # GLib-GIO-DEBUG: Debug output enabled 1233s # GLib-GIO-DEBUG: Debug output disabled 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s ok 1 /debug-controller/dbus/basic 1233s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s ok 2 /debug-controller/dbus/duplicate 1233s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1233s # GLib-GIO-DEBUG: Debug output enabled 1233s # GLib-GIO-DEBUG: Debug output disabled 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1233s ok 3 /debug-controller/dbus/properties 1233s # End of dbus tests 1233s # End of debug-controller tests 1233s PASS: glib/debugcontroller.test 1233s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6340 1234s autopkgtest [13:31:11]: test debugcontroller: -----------------------] 1234s autopkgtest [13:31:11]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1234s debugcontroller PASS 1235s autopkgtest [13:31:12]: test gdbus-server-auth: preparing testbed 1235s Reading package lists... 1235s Building dependency tree... 1235s Reading state information... 1235s Starting pkgProblemResolver with broken count: 0 1235s Starting 2 pkgProblemResolver with broken count: 0 1235s Done 1236s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1236s autopkgtest [13:31:13]: test gdbus-server-auth: [----------------------- 1237s Running test: glib/gdbus-server-auth.test 1237s TAP version 14 1237s # random seed: R02S55a7abe26c01d5c8c5ddd4203dfc4bb7 1237s 1..9 1237s # Start of gdbus tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/.dirs/runtime 1237s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_J6FA22/gdbus-server-auth-RGGA22 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1237s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_J6FA22/gdbus-server-auth-RGGA22/dbus-dB9x4kJg 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15813 1237s ok 1 /gdbus/server-auth 1237s # Start of server-auth tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/abstract/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/abstract/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/abstract/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/abstract/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/abstract/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/abstract/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/abstract/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/abstract/.dirs/runtime 1237s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_J6FA22/gdbus-server-auth-GLKA22 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1237s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_J6FA22/gdbus-server-auth-GLKA22/dbus-I9rJbVbw 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15813 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1237s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15813 1237s ok 2 /gdbus/server-auth/abstract 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/tcp/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/tcp/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/tcp/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/tcp/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/tcp/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/tcp/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/tcp/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/tcp/.dirs/runtime 1237s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1237s # Connectable address: tcp:host=127.0.0.1,port=37365 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1237s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1237s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1237s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1237s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1237s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1238s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1238s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1238s ok 3 /gdbus/server-auth/tcp 1238s # slow test /gdbus/server-auth/tcp executed in 1.05 secs 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/anonymous/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/anonymous/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/anonymous/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/anonymous/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/anonymous/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/anonymous/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/anonymous/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/anonymous/.dirs/runtime 1238s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_J6FA22/gdbus-server-auth-H5EB22 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1238s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_J6FA22/gdbus-server-auth-H5EB22/dbus-vOyMX53n 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15813 1238s ok 4 /gdbus/server-auth/anonymous 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/external/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/external/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/external/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/external/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/external/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/external/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/external/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/external/.dirs/runtime 1238s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_J6FA22/gdbus-server-auth-CWJB22 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1238s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_J6FA22/gdbus-server-auth-CWJB22/dbus-M5x4NVqU 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1238s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15813 1238s ok 5 /gdbus/server-auth/external 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/sha1/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/sha1/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/sha1/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/sha1/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/sha1/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/sha1/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/sha1/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/sha1/.dirs/runtime 1238s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_J6FA22/gdbus-server-auth-6H2C22 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1238s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_J6FA22/gdbus-server-auth-6H2C22/dbus-BfNJfy8u 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15813 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1238s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15813 1238s ok 6 /gdbus/server-auth/sha1 1238s # Start of anonymous tests 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/anonymous/tcp/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/anonymous/tcp/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/anonymous/tcp/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/anonymous/tcp/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/anonymous/tcp/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1238s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1238s # Connectable address: tcp:host=127.0.0.1,port=37125 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1238s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1238s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1238s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1239s ok 7 /gdbus/server-auth/anonymous/tcp 1239s # slow test /gdbus/server-auth/anonymous/tcp executed in 1.03 secs 1239s # End of anonymous tests 1239s # Start of external tests 1239s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/external/require-same-user/.dirs/home 1239s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/external/require-same-user/.dirs/cache 1239s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1239s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/external/require-same-user/.dirs/config 1239s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1239s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/external/require-same-user/.dirs/data 1239s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/external/require-same-user/.dirs/state 1239s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/external/require-same-user/.dirs/runtime 1239s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_J6FA22/gdbus-server-auth-79WC22 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1239s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_J6FA22/gdbus-server-auth-79WC22/dbus-CXdCOt2K 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15813 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15813 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15813 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15813 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15813 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15813 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15813 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15813 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15813 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15813 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15813 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15813 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15813 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15813 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15813 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15813 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15813 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15813 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15813 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15813 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1239s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15813,uid=1000,gid=1000 1239s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15813 1239s ok 8 /gdbus/server-auth/external/require-same-user 1239s # End of external tests 1239s # Start of sha1 tests 1239s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/sha1/tcp/.dirs/home 1239s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/sha1/tcp/.dirs/cache 1239s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1239s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/sha1/tcp/.dirs/config 1239s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1239s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/sha1/tcp/.dirs/data 1239s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/sha1/tcp/.dirs/state 1239s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_J6FA22/gdbus/server-auth/sha1/tcp/.dirs/runtime 1239s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1239s # Connectable address: tcp:host=127.0.0.1,port=40347 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1239s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1239s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1239s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1239s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1239s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1240s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1240s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1240s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1240s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1240s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1240s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1240s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1240s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1240s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1240s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1240s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1240s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1240s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1240s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1240s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1240s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1240s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1240s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1240s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1240s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1240s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1240s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1240s ok 9 /gdbus/server-auth/sha1/tcp 1240s # slow test /gdbus/server-auth/sha1/tcp executed in 1.01 secs 1240s # End of sha1 tests 1240s # End of server-auth tests 1240s # End of gdbus tests 1240s PASS: glib/gdbus-server-auth.test 1240s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8516 1240s autopkgtest [13:31:17]: test gdbus-server-auth: -----------------------] 1240s gdbus-server-auth PASS 1240s autopkgtest [13:31:17]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1241s autopkgtest [13:31:18]: test gdbus-threading: preparing testbed 1241s Reading package lists... 1241s Building dependency tree... 1241s Reading state information... 1241s Starting pkgProblemResolver with broken count: 0 1241s Starting 2 pkgProblemResolver with broken count: 0 1241s Done 1242s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1242s autopkgtest [13:31:19]: test gdbus-threading: [----------------------- 1242s Running test: glib/gdbus-threading.test 1242s TAP version 14 1242s # random seed: R02Sc8e4b7884f84020b9c57c77e03ede8ee 1242s 1..3 1242s # Start of gdbus tests 1242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_V8X512/gdbus/delivery-in-thread/.dirs/home 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_V8X512/gdbus/delivery-in-thread/.dirs/cache 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_V8X512/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_V8X512/gdbus/delivery-in-thread/.dirs/system-config2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_V8X512/gdbus/delivery-in-thread/.dirs/config 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_V8X512/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_V8X512/gdbus/delivery-in-thread/.dirs/system-data2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_V8X512/gdbus/delivery-in-thread/.dirs/data 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_V8X512/gdbus/delivery-in-thread/.dirs/state 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_V8X512/gdbus/delivery-in-thread/.dirs/runtime 1242s ok 1 /gdbus/delivery-in-thread 1242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_V8X512/gdbus/method-calls-in-thread/.dirs/home 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_V8X512/gdbus/method-calls-in-thread/.dirs/cache 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_V8X512/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_V8X512/gdbus/method-calls-in-thread/.dirs/system-config2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_V8X512/gdbus/method-calls-in-thread/.dirs/config 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_V8X512/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_V8X512/gdbus/method-calls-in-thread/.dirs/system-data2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_V8X512/gdbus/method-calls-in-thread/.dirs/data 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_V8X512/gdbus/method-calls-in-thread/.dirs/state 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_V8X512/gdbus/method-calls-in-thread/.dirs/runtime 1243s ok 2 /gdbus/method-calls-in-thread 1243s # slow test /gdbus/method-calls-in-thread executed in 0.81 secs 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_V8X512/gdbus/threaded-singleton/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_V8X512/gdbus/threaded-singleton/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_V8X512/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_V8X512/gdbus/threaded-singleton/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_V8X512/gdbus/threaded-singleton/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_V8X512/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_V8X512/gdbus/threaded-singleton/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_V8X512/gdbus/threaded-singleton/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_V8X512/gdbus/threaded-singleton/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_V8X512/gdbus/threaded-singleton/.dirs/runtime 1243s # GLib-GIO-DEBUG: refcount of 0x3ff9c003b40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1244s ok 3 /gdbus/threaded-singleton 1244s # End of gdbus tests 1244s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1244s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1244s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1244s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1244s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1244s PASS: glib/gdbus-threading.test 1244s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.1s; maxrss=6236 1244s autopkgtest [13:31:21]: test gdbus-threading: -----------------------] 1244s gdbus-threading PASS 1244s autopkgtest [13:31:21]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1245s autopkgtest [13:31:22]: test gmenumodel: preparing testbed 1245s Reading package lists... 1245s Building dependency tree... 1245s Reading state information... 1245s Starting pkgProblemResolver with broken count: 0 1245s Starting 2 pkgProblemResolver with broken count: 0 1245s Done 1245s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1246s autopkgtest [13:31:23]: test gmenumodel: [----------------------- 1246s Running test: glib/gmenumodel.test 1246s TAP version 14 1246s # random seed: R02S05b2e291f098afddacfe58fa94b71199 1246s 1..15 1246s # Start of gmenu tests 1247s ok 1 /gmenu/equality 1247s ok 2 /gmenu/random 1247s # slow test /gmenu/random executed in 0.64 secs 1247s ok 3 /gmenu/attributes 1247s ok 4 /gmenu/links 1247s ok 5 /gmenu/mutable 1247s ok 6 /gmenu/convenience 1247s ok 7 /gmenu/menuitem 1247s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1248s ok 8 /gmenu/input-validation 1248s # Start of dbus tests 1249s ok 9 /gmenu/dbus/roundtrip 1249s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1249s ok 10 /gmenu/dbus/subscriptions 1249s ok 11 /gmenu/dbus/threaded 1249s # Start of peer tests 1250s ok 12 /gmenu/dbus/peer/roundtrip 1250s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1251s ok 13 /gmenu/dbus/peer/subscriptions 1251s # End of peer tests 1251s # Start of export tests 1251s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1251s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1251s ok 14 /gmenu/dbus/export/error-handling 1251s # End of export tests 1251s # End of dbus tests 1251s # Start of attributes tests 1251s ok 15 /gmenu/attributes/iterate 1251s # End of attributes tests 1251s # End of gmenu tests 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s PASS: glib/gmenumodel.test 1251s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.0s; system=0.1s; maxrss=53892 1251s autopkgtest [13:31:28]: test gmenumodel: -----------------------] 1252s gmenumodel PASS 1252s autopkgtest [13:31:29]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1252s autopkgtest [13:31:29]: test mainloop: preparing testbed 1252s Reading package lists... 1252s Building dependency tree... 1252s Reading state information... 1252s Starting pkgProblemResolver with broken count: 0 1252s Starting 2 pkgProblemResolver with broken count: 0 1252s Done 1253s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1253s autopkgtest [13:31:30]: test mainloop: [----------------------- 1254s Running test: glib/mainloop.test 1254s TAP version 14 1254s # random seed: R02S491ba5d4892608a64ab5d2176ab62768 1254s 1..45 1254s # Start of maincontext tests 1254s ok 1 /maincontext/basic 1254s # Add same-priority sources: 12 1254s # Find each source: 0 1254s # Remove in random order: 10 1254s ok 2 /maincontext/nsources_same_priority 1254s # Add different-priority sources: 12 1254s # Find each source: 0 1254s # Remove in random order: 12 1254s ok 3 /maincontext/nsources_different_priority 1254s # Add sources from threads: 25 1254s # Remove sources from threads: 11 1254s ok 4 /maincontext/nsources_threadpool 1254s ok 5 /maincontext/source_finalization 1254s # /maincontext/idle-once summary: Test g_idle_add_once() works 1254s ok 6 /maincontext/idle-once 1254s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1254s ok 7 /maincontext/timeout-once 1254s # Start of source_finalization_from_source tests 1254s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1254s ok 8 /maincontext/source_finalization_from_source/0 1254s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1254s ok 9 /maincontext/source_finalization_from_source/1 1254s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1254s ok 10 /maincontext/source_finalization_from_source/2 1254s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1254s ok 11 /maincontext/source_finalization_from_source/3 1254s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1254s ok 12 /maincontext/source_finalization_from_source/4 1254s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1254s ok 13 /maincontext/source_finalization_from_source/5 1254s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1254s ok 14 /maincontext/source_finalization_from_source/6 1254s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1254s ok 15 /maincontext/source_finalization_from_source/7 1254s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1254s ok 16 /maincontext/source_finalization_from_source/8 1254s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1254s ok 17 /maincontext/source_finalization_from_source/9 1254s # End of source_finalization_from_source tests 1254s # Start of source_finalization_from_dispatch tests 1254s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1254s ok 18 /maincontext/source_finalization_from_dispatch/0 1254s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1254s ok 19 /maincontext/source_finalization_from_dispatch/1 1254s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1254s ok 20 /maincontext/source_finalization_from_dispatch/2 1254s # End of source_finalization_from_dispatch tests 1254s # End of maincontext tests 1254s # Start of mainloop tests 1254s ok 21 /mainloop/basic 1254s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1254s ok 23 /mainloop/priorities 1254s ok 24 /mainloop/invoke 1254s # slow test /mainloop/invoke executed in 0.50 secs 1255s ok 25 /mainloop/child_sources 1255s # slow test /mainloop/child_sources executed in 1.19 secs 1258s ok 26 /mainloop/recursive_child_sources 1258s # slow test /mainloop/recursive_child_sources executed in 2.15 secs 1258s ok 27 /mainloop/recursive_loop_child_sources 1258s ok 28 /mainloop/swapping_child_sources 1258s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1258s ok 29 /mainloop/blocked_child_sources 1259s ok 30 /mainloop/source_time 1259s # slow test /mainloop/source_time executed in 1.00 secs 1259s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1259s ok 31 /mainloop/overflow 1259s Executing: glib/mainloop.test 1259s ok 32 /mainloop/ready-time 1259s # slow test /mainloop/ready-time executed in 0.50 secs 1259s ok 33 /mainloop/wakeup 1259s ok 34 /mainloop/remove-invalid 1259s ok 35 /mainloop/unref-while-pending 1259s ok 36 /mainloop/unix-fd 1259s ok 37 /mainloop/unix-fd-source 1259s ok 38 /mainloop/source-unix-fd-api 1260s ok 39 /mainloop/wait 1260s ok 40 /mainloop/unix-file-poll 1260s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1260s ok 41 /mainloop/unix-fd-priority 1260s ok 42 /mainloop/nfds 1260s ok 43 /mainloop/steal-fd 1260s # Start of ownerless-polling tests 1260s ok 44 /mainloop/ownerless-polling/attach-first 1260s ok 45 /mainloop/ownerless-polling/pop-first 1260s # End of ownerless-polling tests 1260s # End of mainloop tests 1260s PASS: glib/mainloop.test 1260s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.2s; maxrss=16024 1260s autopkgtest [13:31:37]: test mainloop: -----------------------] 1260s mainloop PASS 1260s autopkgtest [13:31:37]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1261s autopkgtest [13:31:38]: test memory-monitor-dbus: preparing testbed 1261s Reading package lists... 1261s Building dependency tree... 1261s Reading state information... 1261s Starting pkgProblemResolver with broken count: 0 1261s Starting 2 pkgProblemResolver with broken count: 0 1261s Done 1261s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1262s autopkgtest [13:31:39]: test memory-monitor-dbus: [----------------------- 1262s Running test: glib/memory-monitor-dbus.test 1263s TAP version 13 1263s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1263s # Received memory warning signal, level 1263s # Received memory warning signal, level 1263s # Received memory warning signal, level 1263s 1..1 1263s PASS: glib/memory-monitor-dbus.test 1263s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=30444 1263s autopkgtest [13:31:40]: test memory-monitor-dbus: -----------------------] 1263s autopkgtest [13:31:40]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1263s memory-monitor-dbus PASS 1264s autopkgtest [13:31:41]: test socket: preparing testbed 1264s Reading package lists... 1264s Building dependency tree... 1264s Reading state information... 1264s Starting pkgProblemResolver with broken count: 0 1264s Starting 2 pkgProblemResolver with broken count: 0 1264s Done 1265s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1265s autopkgtest [13:31:42]: test socket: [----------------------- 1265s Running test: glib/socket.test 1265s TAP version 14 1265s # random seed: R02Sba854e2db2998b920e5fb86b2530047e 1265s 1..28 1265s # Start of socket tests 1266s ok 1 /socket/ipv4_sync 1266s # slow test /socket/ipv4_sync executed in 1.00 secs 1267s ok 2 /socket/ipv4_async 1267s # slow test /socket/ipv4_async executed in 1.00 secs 1267s ok 3 /socket/ipv6_sync 1267s ok 4 /socket/ipv6_async 1267s ok 5 /socket/ipv6_v4mapped 1268s ok 6 /socket/close_graceful 1268s # slow test /socket/close_graceful executed in 1.00 secs 1268s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1268s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1268s ok 8 /socket/fd_reuse 1268s ok 9 /socket/address 1268s ok 10 /socket/unix-from-fd 1268s ok 11 /socket/unix-connection 1268s ok 12 /socket/unix-connection-ancillary-data 1268s ok 13 /socket/source-postmortem 1268s ok 14 /socket/read_write 1268s ok 15 /socket/read_writev 1269s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1269s ok 16 /socket/receive_bytes 1269s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1269s ok 17 /socket/receive_bytes_from 1269s # Start of ipv4_sync tests 1269s ok 18 /socket/ipv4_sync/datagram 1269s # Start of datagram tests 1270s ok 19 /socket/ipv4_sync/datagram/timeouts 1270s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1270s # End of datagram tests 1270s # End of ipv4_sync tests 1270s # Start of ipv6_sync tests 1270s ok 20 /socket/ipv6_sync/datagram 1270s # Start of datagram tests 1271s ok 21 /socket/ipv6_sync/datagram/timeouts 1271s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1271s # End of datagram tests 1271s # End of ipv6_sync tests 1271s # Start of reuse tests 1271s ok 22 /socket/reuse/tcp 1271s ok 23 /socket/reuse/udp 1271s # End of reuse tests 1271s # Start of get_available tests 1271s ok 24 /socket/get_available/datagram 1271s ok 25 /socket/get_available/stream 1271s # End of get_available tests 1271s # Start of credentials tests 1271s # Supported on this OS: GCredentials:linux-ucred:pid=0 1271s ok 26 /socket/credentials/tcp_client 1271s # Supported on this OS: GCredentials:linux-ucred:pid=0 1271s ok 27 /socket/credentials/tcp_server 1271s # Supported on this OS: GCredentials:linux-ucred:pid=17648,uid=1000,gid=1000 1271s ok 28 /socket/credentials/unix_socketpair 1271s # End of credentials tests 1271s # End of socket tests 1271s PASS: glib/socket.test 1271s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5832 1271s autopkgtest [13:31:48]: test socket: -----------------------] 1272s socket PASS 1272s autopkgtest [13:31:49]: test socket: - - - - - - - - - - results - - - - - - - - - - 1272s autopkgtest [13:31:49]: test testfilemonitor: preparing testbed 1272s Reading package lists... 1272s Building dependency tree... 1272s Reading state information... 1272s Starting pkgProblemResolver with broken count: 0 1272s Starting 2 pkgProblemResolver with broken count: 0 1272s Done 1273s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1273s autopkgtest [13:31:50]: test testfilemonitor: [----------------------- 1274s Running test: glib/testfilemonitor.test 1274s TAP version 14 1274s # random seed: R02S05dade114359e6ee1709a2fd4c48d61e 1274s 1..8 1274s # Start of monitor tests 1274s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1274s # Using temporary directory: /tmp/gio-test-testfilemonitor_RELB22 1274s # Using GFileMonitor GInotifyFileMonitor 1276s ok 1 /monitor/atomic-replace 1276s # slow test /monitor/atomic-replace executed in 2.00 secs 1276s # Using temporary directory: /tmp/gio-test-testfilemonitor_HC2C22 1276s # Using GFileMonitor GInotifyFileMonitor 1278s ok 2 /monitor/file-changes 1278s # slow test /monitor/file-changes executed in 2.50 secs 1278s # Using temporary directory: /tmp/gio-test-testfilemonitor_68YZ12 1278s # Using GFileMonitor GInotifyFileMonitor 1279s Executing: glib/testfilemonitor.test 1282s ok 3 /monitor/dir-monitor 1282s # slow test /monitor/dir-monitor executed in 3.50 secs 1282s # Using temporary directory: /tmp/gio-test-testfilemonitor_IV8C22 1282s # Using GFileMonitor GInotifyFileMonitor 1284s Executing: glib/testfilemonitor.test 1289s Executing: glib/testfilemonitor.test 1294s Executing: glib/testfilemonitor.test 1299s Executing: glib/testfilemonitor.test 1304s Executing: glib/testfilemonitor.test 1307s ok 4 /monitor/dir-not-existent 1307s # slow test /monitor/dir-not-existent executed in 25.02 secs 1307s # Using temporary directory: /tmp/gio-test-testfilemonitor_19ND22 1307s # Using GFileMonitor 0 GInotifyFileMonitor 1307s # Using GFileMonitor 1 GInotifyFileMonitor 1309s ok 5 /monitor/cross-dir-moves 1309s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1309s # Using temporary directory: /tmp/gio-test-testfilemonitor_M0BC22 1309s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1309s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1309s ok 6 /monitor/finalize-in-callback 1309s # Using temporary directory: /tmp/gio-test-testfilemonitor_6FDC22 1309s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1309s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1309s ok 7 /monitor/root 1309s # Start of file tests 1309s # Using temporary directory: /tmp/gio-test-testfilemonitor_UCDC22 1309s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1309s # Running with hard link tests 1309s # Using GFileMonitor GInotifyFileMonitor 1309s Executing: glib/testfilemonitor.test 1312s # Event 0 at expected index 7 skipped because it is marked as optional 1312s # Event 2 at expected index 11 skipped because it is marked as optional 1312s ok 8 /monitor/file/hard-links 1312s # slow test /monitor/file/hard-links executed in 3.50 secs 1312s # End of file tests 1312s # End of monitor tests 1312s PASS: glib/testfilemonitor.test 1312s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5988 1312s autopkgtest [13:32:29]: test testfilemonitor: -----------------------] 1313s testfilemonitor PASS 1313s autopkgtest [13:32:30]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1313s autopkgtest [13:32:30]: test thread-pool-slow: preparing testbed 1314s Reading package lists... 1314s Building dependency tree... 1314s Reading state information... 1314s Starting pkgProblemResolver with broken count: 0 1314s Starting 2 pkgProblemResolver with broken count: 0 1314s Done 1314s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1315s autopkgtest [13:32:32]: test thread-pool-slow: [----------------------- 1315s Running test: glib/thread-pool-slow.test 1315s TAP version 14 1315s # random seed: R02S05753d48eeb4edf7c8dbee00ec24e7cc 1315s 1..7 1315s # Start of threadpool tests 1315s ok 1 /threadpool/functions 1315s ok 2 /threadpool/stop-unused 1315s # slow test /threadpool/stop-unused executed in 0.51 secs 1316s ok 3 /threadpool/pools 1316s # [unsorted] ===> pushed new thread with id:64, number of threads:1, unprocessed:1 1316s # [unsorted] ===> pushed new thread with id:34, number of threads:2, unprocessed:1 1316s # [unsorted] ===> pushed new thread with id:96, number of threads:3, unprocessed:2 1316s # [unsorted] ===> pushed new thread with id:37, number of threads:4, unprocessed:3 1316s # [unsorted] ===> pushed new thread with id:81, number of threads:5, unprocessed:4 1316s # [unsorted] ===> pushed new thread with id:90, number of threads:6, unprocessed:4 1316s # [unsorted] ===> pushed new thread with id:24, number of threads:7, unprocessed:5 1316s # [unsorted] ===> pushed new thread with id:85, number of threads:8, unprocessed:5 1316s # [unsorted] ===> pushed new thread with id:19, number of threads:9, unprocessed:5 1316s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:5 1316s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:5 1316s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:5 1316s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:5 1316s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:5 1316s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:6 1316s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:7 1316s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:8 1316s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:8 1316s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:9 1316s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:10 1316s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:11 1316s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:12 1316s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:13 1316s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:14 1316s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:15 1316s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:16 1316s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:17 1316s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:18 1316s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:19 1316s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:20 1316s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:21 1316s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:22 1316s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:23 1316s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:24 1316s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:25 1316s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:26 1316s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:27 1316s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:28 1316s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:29 1316s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:30 1316s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:31 1316s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:32 1316s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:33 1316s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:34 1316s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:35 1316s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:36 1316s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:37 1316s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:38 1316s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:39 1316s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:40 1316s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:41 1316s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:42 1316s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:43 1316s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:44 1316s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:45 1316s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:46 1316s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:47 1316s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:48 1316s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:49 1316s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:50 1316s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:51 1316s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:52 1316s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:53 1316s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:54 1316s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:55 1316s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:56 1316s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:57 1316s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:58 1316s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:59 1316s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:60 1316s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:61 1316s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:62 1316s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:63 1316s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:64 1316s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:65 1316s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:66 1316s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:67 1316s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:68 1316s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:69 1316s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:70 1316s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:71 1316s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:72 1316s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:73 1316s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:74 1316s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:75 1316s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:76 1316s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:77 1316s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:78 1316s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:79 1316s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:80 1316s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:81 1316s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:82 1316s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:83 1316s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:84 1316s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:85 1316s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:86 1316s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:87 1316s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:88 1316s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:89 1316s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:90 1316s ok 4 /threadpool/no-sort 1316s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:1 1316s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:2 1316s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:3 1316s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:4 1316s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:5 1316s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:6 1316s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:7 1316s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:8 1316s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:9 1316s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:10 1316s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:11 1316s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:12 1316s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:13 1316s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:14 1316s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:15 1316s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:16 1316s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:17 1316s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:18 1316s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:19 1316s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:20 1316s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:21 1316s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:22 1316s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:23 1316s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:24 1316s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:25 1316s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:26 1316s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:27 1316s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:28 1316s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:29 1316s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:30 1316s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:31 1316s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:32 1316s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:33 1316s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:34 1316s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:35 1316s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:36 1316s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:37 1316s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:38 1316s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:39 1316s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:40 1316s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:41 1316s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:42 1316s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:43 1316s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:44 1316s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:45 1316s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:46 1316s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:47 1316s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:48 1316s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:49 1316s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:50 1316s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:51 1316s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:52 1316s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:53 1316s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:54 1316s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:55 1316s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:56 1316s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:57 1316s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:58 1316s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:59 1316s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:60 1316s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:61 1316s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:62 1316s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:63 1316s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:64 1316s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:65 1316s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:66 1316s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:67 1316s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:68 1316s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:69 1316s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:70 1316s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:71 1316s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:72 1316s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:73 1316s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:74 1316s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:75 1316s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:76 1316s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:77 1316s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:78 1316s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:79 1316s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:80 1316s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:81 1316s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:82 1316s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:83 1316s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:84 1316s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:85 1316s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:86 1316s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:87 1316s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:88 1316s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:89 1316s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:90 1316s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:91 1316s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:92 1316s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:93 1316s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:94 1316s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:95 1316s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:96 1316s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:97 1316s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:98 1316s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:99 1316s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:100 1316s # Starting thread pool processing 1316s ok 5 /threadpool/sort 1316s ok 6 /threadpool/stop-unused-multiple 1316s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1316s # Pool idle thread count: 0, unprocessed jobs: 41 1317s # Pool idle thread count: 0, unprocessed jobs: 0 1317s # Pool idle thread count: 0, unprocessed jobs: 0 1317s # Pool idle thread count: 10, unprocessed jobs: 0 1317s # Pool idle thread count: 10, unprocessed jobs: 0 1318s # Pool idle thread count: 10, unprocessed jobs: 0 1318s # Pool idle thread count: 10, unprocessed jobs: 0 1318s # Pool idle thread count: 10, unprocessed jobs: 0 1318s # Pool idle thread count: 10, unprocessed jobs: 0 1319s # Pool idle thread count: 10, unprocessed jobs: 0 1319s # Pool idle thread count: 10, unprocessed jobs: 0 1319s # Pool idle thread count: 10, unprocessed jobs: 0 1319s # Pool idle thread count: 10, unprocessed jobs: 0 1320s # Pool idle thread count: 10, unprocessed jobs: 0 1320s # Pool idle thread count: 10, unprocessed jobs: 0 1320s Executing: glib/thread-pool-slow.test 1320s # Pool idle thread count: 10, unprocessed jobs: 0 1320s # Pool idle thread count: 10, unprocessed jobs: 0 1321s # Pool idle thread count: 10, unprocessed jobs: 0 1321s # Pool idle thread count: 10, unprocessed jobs: 0 1321s # Pool idle thread count: 10, unprocessed jobs: 0 1321s # Pool idle thread count: 10, unprocessed jobs: 0 1322s # Pool idle thread count: 10, unprocessed jobs: 0 1322s # Pool idle thread count: 10, unprocessed jobs: 0 1322s # Pool idle thread count: 10, unprocessed jobs: 0 1322s # Pool idle thread count: 10, unprocessed jobs: 0 1323s # Pool idle thread count: 10, unprocessed jobs: 0 1323s # Pool idle thread count: 10, unprocessed jobs: 0 1323s # Pool idle thread count: 10, unprocessed jobs: 0 1323s # Pool idle thread count: 10, unprocessed jobs: 0 1324s # Pool idle thread count: 10, unprocessed jobs: 0 1324s # Pool idle thread count: 10, unprocessed jobs: 0 1324s # Pool idle thread count: 10, unprocessed jobs: 0 1324s # Pool idle thread count: 10, unprocessed jobs: 0 1325s # Pool idle thread count: 10, unprocessed jobs: 0 1325s # Pool idle thread count: 10, unprocessed jobs: 0 1325s Executing: glib/thread-pool-slow.test 1325s # Pool idle thread count: 10, unprocessed jobs: 2 1325s # Pool idle thread count: 8, unprocessed jobs: 0 1325s # Pool idle thread count: 8, unprocessed jobs: 0 1325s # Pool idle thread count: 8, unprocessed jobs: 0 1326s # Pool idle thread count: 10, unprocessed jobs: 0 1326s # Pool idle thread count: 10, unprocessed jobs: 0 1326s # Pool idle thread count: 10, unprocessed jobs: 0 1326s # Pool idle thread count: 10, unprocessed jobs: 0 1327s # Pool idle thread count: 10, unprocessed jobs: 0 1327s # Pool idle thread count: 10, unprocessed jobs: 0 1327s # Pool idle thread count: 2, unprocessed jobs: 0 1327s # Pool idle thread count: 2, unprocessed jobs: 0 1328s # Pool idle thread count: 2, unprocessed jobs: 0 1328s # Pool idle thread count: 2, unprocessed jobs: 0 1328s # Pool idle thread count: 2, unprocessed jobs: 0 1328s # Pool idle thread count: 2, unprocessed jobs: 0 1329s # Pool idle thread count: 2, unprocessed jobs: 0 1329s # Pool idle thread count: 2, unprocessed jobs: 0 1329s # Pool idle thread count: 2, unprocessed jobs: 0 1329s # Pool idle thread count: 2, unprocessed jobs: 0 1330s # Pool idle thread count: 2, unprocessed jobs: 0 1330s # Pool idle thread count: 2, unprocessed jobs: 0 1330s Executing: glib/thread-pool-slow.test 1330s # Pool idle thread count: 2, unprocessed jobs: 0 1330s # Pool idle thread count: 2, unprocessed jobs: 0 1331s # Pool idle thread count: 2, unprocessed jobs: 0 1331s # Pool idle thread count: 2, unprocessed jobs: 0 1331s # Pool idle thread count: 2, unprocessed jobs: 0 1331s # Pool idle thread count: 2, unprocessed jobs: 0 1332s # Pool idle thread count: 2, unprocessed jobs: 0 1332s # Pool idle thread count: 2, unprocessed jobs: 0 1332s # Pool idle thread count: 2, unprocessed jobs: 0 1332s # Pool idle thread count: 2, unprocessed jobs: 0 1333s # Pool idle thread count: 2, unprocessed jobs: 0 1333s # Pool idle thread count: 2, unprocessed jobs: 0 1333s # Pool idle thread count: 2, unprocessed jobs: 0 1333s # Pool idle thread count: 2, unprocessed jobs: 0 1334s # Pool idle thread count: 2, unprocessed jobs: 0 1334s # Pool idle thread count: 2, unprocessed jobs: 0 1334s # Pool idle thread count: 2, unprocessed jobs: 0 1334s # Pool idle thread count: 2, unprocessed jobs: 0 1335s # Pool idle thread count: 2, unprocessed jobs: 0 1335s # Pool idle thread count: 2, unprocessed jobs: 0 1335s Executing: glib/thread-pool-slow.test 1335s # Pool idle thread count: 2, unprocessed jobs: 0 1335s # Pool idle thread count: 2, unprocessed jobs: 0 1336s ok 7 /threadpool/idle-time 1336s # slow test /threadpool/idle-time executed in 19.52 secs 1336s # End of threadpool tests 1336s PASS: glib/thread-pool-slow.test 1336s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=4024 1336s autopkgtest [13:32:53]: test thread-pool-slow: -----------------------] 1336s autopkgtest [13:32:53]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1336s thread-pool-slow PASS 1337s autopkgtest [13:32:54]: test threadtests: preparing testbed 1337s Reading package lists... 1337s Building dependency tree... 1337s Reading state information... 1337s Starting pkgProblemResolver with broken count: 0 1337s Starting 2 pkgProblemResolver with broken count: 0 1337s Done 1337s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1338s autopkgtest [13:32:55]: test threadtests: [----------------------- 1338s Running test: glib/threadtests.test 1338s TAP version 14 1338s # random seed: R02S90815263ec97343bbed2c3fdc7db087b 1338s 1..5 1338s # Start of GObject tests 1338s ok 1 /GObject/threaded-object-init 1339s ok 2 /GObject/threaded-weak-ref 1339s # slow test /GObject/threaded-weak-ref executed in 0.77 secs 1339s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1339s # /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 1339s ok 3 /GObject/threaded-toggle-notify 1339s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1339s # Start of threaded-weak-ref tests 1339s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1339s # /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. 1339s ok 5 /GObject/threaded-weak-ref/on-finalization 1339s # End of threaded-weak-ref tests 1339s # End of GObject tests 1339s PASS: glib/threadtests.test 1339s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.2s; maxrss=3612 1339s autopkgtest [13:32:56]: test threadtests: -----------------------] 1340s autopkgtest [13:32:57]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1340s threadtests PASS 1340s autopkgtest [13:32:57]: test timeout: preparing testbed 1340s Reading package lists... 1340s Building dependency tree... 1340s Reading state information... 1341s Starting pkgProblemResolver with broken count: 0 1341s Starting 2 pkgProblemResolver with broken count: 0 1341s Done 1341s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1341s autopkgtest [13:32:58]: test timeout: [----------------------- 1342s Running test: glib/timeout.test 1342s TAP version 14 1342s # random seed: R02S989cae943e1b9871453e5eebf8a74b74 1342s 1..5 1342s # Start of timeout tests 1342s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1344s ok 1 /timeout/seconds 1344s # slow test /timeout/seconds executed in 2.10 secs 1346s ok 2 /timeout/seconds-once 1346s # slow test /timeout/seconds-once executed in 2.10 secs 1346s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1347s Executing: glib/timeout.test 1348s ok 3 /timeout/weeks-overflow 1348s # slow test /timeout/weeks-overflow executed in 2.10 secs 1348s ok 4 /timeout/far-future-ready-time 1352s Executing: glib/timeout.test 1357s Executing: glib/timeout.test 1358s ok 5 /timeout/rounding 1358s # slow test /timeout/rounding executed in 9.97 secs 1358s # End of timeout tests 1358s PASS: glib/timeout.test 1358s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3120 1358s autopkgtest [13:33:15]: test timeout: -----------------------] 1359s timeout PASS 1359s autopkgtest [13:33:16]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1359s autopkgtest [13:33:16]: test timer: preparing testbed 1359s Reading package lists... 1359s Building dependency tree... 1359s Reading state information... 1360s Starting pkgProblemResolver with broken count: 0 1360s Starting 2 pkgProblemResolver with broken count: 0 1360s Done 1360s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1361s autopkgtest [13:33:18]: test timer: [----------------------- 1361s Running test: glib/timer.test 1361s TAP version 14 1361s # random seed: R02Sb3d2bfd03eb90e0c7d0835a9f3623b02 1361s 1..10 1361s # Start of timer tests 1361s ok 1 /timer/basic 1361s ok 2 /timer/stop 1361s ok 3 /timer/continue 1361s ok 4 /timer/reset 1361s ok 5 /timer/is_active 1361s # End of timer tests 1361s # Start of timeval tests 1361s ok 6 /timeval/add 1361s ok 7 /timeval/from-iso8601 1361s ok 8 /timeval/to-iso8601 1361s # Start of to-iso8601 tests 1361s ok 9 /timeval/to-iso8601/overflow 1361s # End of to-iso8601 tests 1361s # End of timeval tests 1361s # Start of usleep tests 1361s ok 10 /usleep/with-zero-wait 1361s # End of usleep tests 1361s PASS: glib/timer.test 1361s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3256 1361s autopkgtest [13:33:18]: test timer: -----------------------] 1361s autopkgtest [13:33:18]: test timer: - - - - - - - - - - results - - - - - - - - - - 1361s timer PASS 1362s autopkgtest [13:33:19]: test 1065022-futureproofing: preparing testbed 1510s autopkgtest [13:35:47]: testbed dpkg architecture: s390x 1510s autopkgtest [13:35:47]: testbed apt version: 2.9.30ubuntu1 1510s autopkgtest [13:35:47]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1510s autopkgtest [13:35:47]: testbed release detected to be: plucky 1511s autopkgtest [13:35:48]: updating testbed package index (apt update) 1511s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 1512s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1512s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1512s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1512s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [719 kB] 1512s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 1512s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [90.3 kB] 1512s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.8 kB] 1512s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [131 kB] 1512s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [760 B] 1512s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [637 kB] 1512s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4436 B] 1512s Fetched 1711 kB in 1s (1762 kB/s) 1513s Reading package lists... 1514s Reading package lists... 1514s Building dependency tree... 1514s Reading state information... 1514s Calculating upgrade... 1514s Calculating upgrade... 1514s The following packages were automatically installed and are no longer required: 1514s libnsl2 libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 1514s linux-headers-6.11.0-8 linux-headers-6.11.0-8-generic 1514s linux-modules-6.11.0-8-generic linux-tools-6.11.0-8 1514s linux-tools-6.11.0-8-generic 1514s Use 'sudo apt autoremove' to remove them. 1514s The following packages will be upgraded: 1514s base-files gcc-14-base motd-news-config 1514s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1514s Need to get 134 kB of archives. 1514s After this operation, 0 B of additional disk space will be used. 1514s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x motd-news-config all 13.6ubuntu1 [5168 B] 1514s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x base-files s390x 13.6ubuntu1 [75.4 kB] 1514s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-base s390x 14.2.0-17ubuntu3 [53.6 kB] 1515s Fetched 134 kB in 0s (312 kB/s) 1515s (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 ... 81030 files and directories currently installed.) 1515s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ... 1515s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ... 1515s Preparing to unpack .../base-files_13.6ubuntu1_s390x.deb ... 1515s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ... 1515s Setting up base-files (13.6ubuntu1) ... 1515s Updating /root/.profile to current default. 1515s motd-news.service is a disabled or a static unit not running, not starting it. 1515s (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 ... 81030 files and directories currently installed.) 1515s Preparing to unpack .../gcc-14-base_14.2.0-17ubuntu3_s390x.deb ... 1515s Unpacking gcc-14-base:s390x (14.2.0-17ubuntu3) over (14.2.0-17ubuntu1) ... 1515s Setting up motd-news-config (13.6ubuntu1) ... 1515s Setting up gcc-14-base:s390x (14.2.0-17ubuntu3) ... 1515s Processing triggers for plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ... 1515s Processing triggers for install-info (7.1.1-1) ... 1516s Processing triggers for man-db (2.13.0-1) ... 1516s Processing triggers for initramfs-tools (0.145ubuntu2) ... 1516s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic 1516s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 1519s Using config file '/etc/zipl.conf' 1519s Building bootmap in '/boot' 1519s Adding IPL section 'ubuntu' (default) 1520s Preparing boot device for LD-IPL: vda (0000). 1520s Done. 1520s Reading package lists... 1520s Building dependency tree... 1520s Reading state information... 1520s Solving dependencies... 1520s The following packages will be REMOVED: 1520s libnsl2* libpython3.12-minimal* libpython3.12-stdlib* libpython3.12t64* 1520s linux-headers-6.11.0-8* linux-headers-6.11.0-8-generic* 1520s linux-modules-6.11.0-8-generic* linux-tools-6.11.0-8* 1520s linux-tools-6.11.0-8-generic* 1520s 0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded. 1520s After this operation, 167 MB disk space will be freed. 1520s (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 ... 81030 files and directories currently installed.) 1520s Removing linux-tools-6.11.0-8-generic (6.11.0-8.8) ... 1520s Removing linux-tools-6.11.0-8 (6.11.0-8.8) ... 1520s Removing libpython3.12t64:s390x (3.12.9-1) ... 1520s Removing libpython3.12-stdlib:s390x (3.12.9-1) ... 1520s Removing libnsl2:s390x (1.3.0-3build3) ... 1520s Removing libpython3.12-minimal:s390x (3.12.9-1) ... 1520s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 1520s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 1521s Removing linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 1521s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1521s (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 ... 55930 files and directories currently installed.) 1521s Purging configuration files for libpython3.12-minimal:s390x (3.12.9-1) ... 1521s Purging configuration files for linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 1521s autopkgtest [13:35:58]: upgrading testbed (apt dist-upgrade and autopurge) 1522s Reading package lists... 1522s Building dependency tree... 1522s Reading state information... 1522s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1522s Starting 2 pkgProblemResolver with broken count: 0 1522s Done 1522s Entering ResolveByKeep 1522s 1522s Calculating upgrade... 1522s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1523s Reading package lists... 1523s Building dependency tree... 1523s Reading state information... 1523s Starting pkgProblemResolver with broken count: 0 1523s Starting 2 pkgProblemResolver with broken count: 0 1523s Done 1523s Solving dependencies... 1523s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1523s autopkgtest [13:36:00]: rebooting testbed after setup commands that affected boot 1546s Reading package lists... 1546s Building dependency tree... 1546s Reading state information... 1546s Starting pkgProblemResolver with broken count: 0 1546s Starting 2 pkgProblemResolver with broken count: 0 1546s Done 1547s The following NEW packages will be installed: 1547s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1547s libdconf1 1547s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1547s Need to get 140 kB of archives. 1547s After this operation, 638 kB of additional disk space will be used. 1547s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libdconf1 s390x 0.40.0-5 [40.0 kB] 1547s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x dconf-service s390x 0.40.0-5 [28.4 kB] 1547s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x dconf-gsettings-backend s390x 0.40.0-5 [22.8 kB] 1547s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x dpkg-repack all 1.54 [11.2 kB] 1547s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x gsettings-desktop-schemas all 48~beta-1ubuntu1 [37.4 kB] 1547s Fetched 140 kB in 0s (373 kB/s) 1547s Selecting previously unselected package libdconf1:s390x. 1547s (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 ... 55928 files and directories currently installed.) 1547s Preparing to unpack .../libdconf1_0.40.0-5_s390x.deb ... 1547s Unpacking libdconf1:s390x (0.40.0-5) ... 1547s Selecting previously unselected package dconf-service. 1547s Preparing to unpack .../dconf-service_0.40.0-5_s390x.deb ... 1547s Unpacking dconf-service (0.40.0-5) ... 1547s Selecting previously unselected package dconf-gsettings-backend:s390x. 1547s Preparing to unpack .../dconf-gsettings-backend_0.40.0-5_s390x.deb ... 1547s Unpacking dconf-gsettings-backend:s390x (0.40.0-5) ... 1547s Selecting previously unselected package dpkg-repack. 1547s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1547s Unpacking dpkg-repack (1.54) ... 1547s Selecting previously unselected package gsettings-desktop-schemas. 1547s Preparing to unpack .../gsettings-desktop-schemas_48~beta-1ubuntu1_all.deb ... 1547s Unpacking gsettings-desktop-schemas (48~beta-1ubuntu1) ... 1547s Setting up dpkg-repack (1.54) ... 1547s Setting up libdconf1:s390x (0.40.0-5) ... 1547s Setting up dconf-service (0.40.0-5) ... 1547s Setting up dconf-gsettings-backend:s390x (0.40.0-5) ... 1547s Setting up gsettings-desktop-schemas (48~beta-1ubuntu1) ... 1547s Processing triggers for man-db (2.13.0-1) ... 1548s Processing triggers for libglib2.0-0t64:s390x (2.83.3-2) ... 1548s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1558s autopkgtest [13:36:35]: test 1065022-futureproofing: [----------------------- 1558s + export DEBIAN_FRONTEND=noninteractive 1558s + n=0 1558s + failed=0 1558s + binary_package=libglib2.0-0t64 1558s + future_binary_package=libglib2.0-0xyz 1558s + pwd 1558s + srcdir=/tmp/autopkgtest.yKsP97/build.cqb/src 1558s + mktemp -d 1558s + tmpdir=/tmp/tmp.MYsOZsFg9x 1558s + cd /tmp/tmp.MYsOZsFg9x 1558s + [ -e /tmp/autopkgtest.yKsP97/build.cqb/src/debian/tests/manual/local-1065022.sources ] 1558s + dpkg-query -W dpkg-repack 1558s + dpkg-repack --generate libglib2.0-0t64 1558s dpkg-repack 1.54 1558s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1558s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.jdCVId for libglib2.0-0t64 1558s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.jdCVId ." 1558s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.jdCVId/DEBIAN/control 1558s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.jdCVId/DEBIAN/control 1558s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.jdCVId/DEBIAN/control 1558s + 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.jdCVId/DEBIAN/control 1558s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.jdCVId libglib2.0-0xyz.deb 1558s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1559s + apt-get -y install ./libglib2.0-0xyz.deb 1559s Reading package lists... 1560s Building dependency tree... 1560s Reading state information... 1560s Solving dependencies... 1560s The following packages were automatically installed and are no longer required: 1560s apport-symptoms exfatprogs fuse3 jq libatasmart4 libbytesize-common 1560s libbytesize1 libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 1560s libfuse3-3 libgpgme11t64 libicu76 libinih1 libjq1 libjson-glib-1.0-common 1560s libnspr4 libnss3 libnvme1t64 libonig5 libprotobuf-c1 python3-apport 1560s python3-certifi python3-chardet python3-configobj python3-debconf 1560s python3-markdown-it python3-mdurl python3-openssl python3-problem-report 1560s python3-pygments python3-requests python3-rich python3-systemd 1560s python3-urllib3 s390-tools-data s390-tools-signed 1560s Use 'sudo apt autoremove' to remove them. 1560s The following additional packages will be installed: 1560s xdg-user-dirs 1560s Suggested packages: 1560s low-memory-monitor 1560s Recommended packages: 1560s shared-mime-info 1560s The following packages will be REMOVED: 1560s apport apport-core-dump-handler bolt cloud-init cloud-init-base 1560s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0 1560s gir1.2-glib-2.0 gsettings-desktop-schemas libblockdev-crypto3 1560s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 1560s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 1560s libdconf1 libfwupd3 libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 1560s libjcat1 libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 1560s libnetplan1 libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 1560s libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 1560s netplan-generator netplan.io networkd-dispatcher python3-dbus python3-gi 1560s python3-netplan s390-tools shared-mime-info sysconfig-hardware 1560s ubuntu-minimal udisks2 xfsprogs 1560s The following NEW packages will be installed: 1560s libglib2.0-0xyz xdg-user-dirs 1560s 0 upgraded, 2 newly installed, 51 to remove and 0 not upgraded. 1560s Need to get 19.2 kB/1603 kB of archives. 1560s After this operation, 65.9 MB disk space will be freed. 1560s Get:1 /tmp/tmp.MYsOZsFg9x/libglib2.0-0xyz.deb libglib2.0-0xyz s390x 2.83.3-2 [1584 kB] 1560s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x xdg-user-dirs s390x 0.18-2 [19.2 kB] 1560s Fetched 19.2 kB in 0s (86.2 kB/s) 1560s (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 ... 55997 files and directories currently installed.) 1560s Removing bolt (0.9.8-1) ... 1561s Removing cloud-init (25.1-0ubuntu1) ... 1561s Removing cloud-init-base (25.1-0ubuntu1) ... 1561s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1561s for fn in glob1(directory, "%s.*" % fname): 1561s Removing gsettings-desktop-schemas (48~beta-1ubuntu1) ... 1561s Removing dconf-gsettings-backend:s390x (0.40.0-5) ... 1561s Removing dconf-service (0.40.0-5) ... 1561s Removing fwupd (2.0.6-3) ... 1561s Removing networkd-dispatcher (2.2.4-1.1) ... 1561s Removing udisks2 (2.10.1-11ubuntu2) ... 1562s Removing libblockdev-crypto3:s390x (3.3.0-1) ... 1562s Removing libblockdev-fs3:s390x (3.3.0-1) ... 1562s Removing libblockdev-loop3:s390x (3.3.0-1) ... 1562s Removing libblockdev-mdraid3:s390x (3.3.0-1) ... 1562s Removing libblockdev-nvme3:s390x (3.3.0-1) ... 1562s Removing libblockdev-part3:s390x (3.3.0-1) ... 1562s Removing libblockdev-swap3:s390x (3.3.0-1) ... 1562s Removing libblockdev3:s390x (3.3.0-1) ... 1562s Removing libblockdev-utils3:s390x (3.3.0-1) ... 1562s Removing libdconf1:s390x (0.40.0-5) ... 1562s Removing libfwupd3:s390x (2.0.6-3) ... 1562s Removing shared-mime-info (2.4-5) ... 1562s Removing sysconfig-hardware (0.0.14+nmu2ubuntu1) ... 1562s Removing s390-tools (2.37.0-0ubuntu2) ... 1562s Removing libgudev-1.0-0:s390x (1:238-6) ... 1562s Removing libjcat1:s390x (0.2.0-2build3) ... 1562s Removing libjson-glib-1.0-0:s390x (1.10.6+ds-1) ... 1562s Removing libqmi-proxy (1.35.6-1) ... 1562s Removing libqmi-glib5:s390x (1.35.6-1) ... 1562s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 1562s Removing libmbim-glib4:s390x (1.31.2-0ubuntu4) ... 1562s Removing libmm-glib0:s390x (1.23.4-0ubuntu2) ... 1562s Removing ubuntu-minimal (1.547) ... 1562s Removing netplan.io (1.1.2-2ubuntu1) ... 1562s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1562s Removing python3-netplan (1.1.2-2ubuntu1) ... 1562s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1562s for fn in glob1(directory, "%s.*" % fname): 1562s Removing netplan-generator (1.1.2-2ubuntu1) ... 1562s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1562s Removing libnetplan1:s390x (1.1.2-2ubuntu1) ... 1562s Removing libpolkit-agent-1-0:s390x (126-2) ... 1563s Removing libpolkit-gobject-1-0:s390x (126-2) ... 1563s Removing libqrtr-glib0:s390x (1.2.2-1ubuntu4) ... 1563s Removing libudisks2-0:s390x (2.10.1-11ubuntu2) ... 1563s Removing libvolume-key1:s390x (0.3.12-9) ... 1563s Removing libxmlb2:s390x (0.3.21-1) ... 1563s Removing xfsprogs (6.12.0-1ubuntu1) ... 1563s Removing python3-dbus (1.3.2-5build4) ... 1563s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1563s for fn in glob1(directory, "%s.*" % fname): 1563s Removing apport (2.31.0+git20250220-0ubuntu1) ... 1563s Removing apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) ... 1563s Removing python3-gi (3.50.0-4) ... 1563s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1563s for fn in glob1(directory, "%s.*" % fname): 1563s Removing gir1.2-girepository-2.0:s390x (1.82.0-4) ... 1563s Removing gir1.2-glib-2.0:s390x (2.83.3-2) ... 1563s Removing libgirepository-1.0-1:s390x (1.82.0-4) ... 1563s Removing libglib2.0-0t64:s390x (2.83.3-2) ... 1563s Selecting previously unselected package libglib2.0-0xyz:s390x. 1563s (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 ... 54560 files and directories currently installed.) 1563s Preparing to unpack .../libglib2.0-0xyz.deb ... 1563s Unpacking libglib2.0-0xyz:s390x (2.83.3-2) ... 1563s Selecting previously unselected package xdg-user-dirs. 1563s Preparing to unpack .../xdg-user-dirs_0.18-2_s390x.deb ... 1563s Unpacking xdg-user-dirs (0.18-2) ... 1563s Setting up xdg-user-dirs (0.18-2) ... 1563s Setting up libglib2.0-0xyz:s390x (2.83.3-2) ... 1563s No schema files found: removed existing output file. 1563s Processing triggers for dbus (1.16.0-1ubuntu1) ... 1563s Processing triggers for initramfs-tools (0.145ubuntu2) ... 1563s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic 1563s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 1567s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1567s Processing triggers for man-db (2.13.0-1) ... 1568s + assert testnot ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1568s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1568s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1568s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1568s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1568s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1568s Reading package lists... -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1568s + n=1 1568s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1568s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1568s + failed=1 1568s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1568s + n=2 1568s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1568s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1568s + failed=1 1568s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1568s + n=3 1568s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1568s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1568s + failed=1 1568s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1568s + n=4 1568s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1568s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1568s + failed=1 1568s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1568s + n=5 1568s + test -e /usr/lib/*/gio/modules/giomodule.cache 1568s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1568s + failed=1 1568s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1568s + n=6 1568s + test -s /usr/lib/*/gio/modules/giomodule.cache 1568s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1568s + failed=1 1568s + apt-get -y purge libglib2.0-0t64 1568s 1568s Building dependency tree... 1568s Reading state information... 1568s The following packages were automatically installed and are no longer required: 1568s apport-symptoms exfatprogs fuse3 jq libatasmart4 libbytesize-common 1568s libbytesize1 libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 1568s libfuse3-3 libgpgme11t64 libicu76 libinih1 libjq1 libjson-glib-1.0-common 1568s libnspr4 libnss3 libnvme1t64 libonig5 libprotobuf-c1 python3-apport 1568s python3-certifi python3-chardet python3-configobj python3-debconf 1568s python3-markdown-it python3-mdurl python3-openssl python3-problem-report 1568s python3-pygments python3-requests python3-rich python3-systemd 1568s python3-urllib3 s390-tools-data s390-tools-signed 1568s Use 'sudo apt autoremove' to remove them. 1568s The following packages will be REMOVED: 1568s libglib2.0-0t64* 1568s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1568s After this operation, 0 B of additional disk space will be used. 1568s (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 ... 54595 files and directories currently installed.) 1568s Purging configuration files for libglib2.0-0t64:s390x (2.83.3-2) ... 1568s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1568s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1568s + n=7 1568s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1568s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1568s + failed=1 1568s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1568s + n=8 1568s + test -s /usr/share/glib-2.0/schemas/gschemas.compilednot ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1568s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1568s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1568s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1568s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1568s Reading package lists... 1568s Building dependency tree... 1568s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1568s + failed=1 1568s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1568s + n=9 1568s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1568s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1568s + failed=1 1568s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1568s + n=10 1568s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1568s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1568s + failed=1 1568s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1568s + n=11 1568s + test -e /usr/lib/*/gio/modules/giomodule.cache 1568s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1568s + failed=1 1568s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1568s + n=12 1568s + test -s /usr/lib/*/gio/modules/giomodule.cache 1568s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1568s + failed=1 1568s + apt-get -y purge libglib2.0-0xyz 1568s 1568s Reading state information... 1569s The following packages were automatically installed and are no longer required: 1569s apport-symptoms exfatprogs fuse3 jq libatasmart4 libatomic1 1569s libbytesize-common libbytesize1 libcurl3t64-gnutls libdrm-amdgpu1 1569s libflashrom1 libftdi1-2 libfuse3-3 libglib2.0-data libgpgme11t64 libicu76 1569s libinih1 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 1569s libonig5 libprotobuf-c1 python3-apport python3-certifi python3-chardet 1569s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1569s python3-openssl python3-problem-report python3-pygments python3-requests 1569s python3-rich python3-systemd python3-urllib3 s390-tools-data 1569s s390-tools-signed xdg-user-dirs 1569s Use 'sudo apt autoremove' to remove them. 1569s The following packages will be REMOVED: 1569s libglib2.0-0xyz* 1569s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1569s After this operation, 4676 kB disk space will be freed. 1569s (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 ... 54595 files and directories currently installed.) 1569s Removing libglib2.0-0xyz:s390x (2.83.3-2) ... 1569s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1569s (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 ... 54570 files and directories currently installed.) 1569s Purging configuration files for libglib2.0-0xyz:s390x (2.83.3-2) ... 1569s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1569s + n=13 1569s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1569s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1569s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1569s + n=14 1569s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1569s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1569s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1569s + n=15 1569s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1569s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1569s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1569s + n=16 1569s + test -e /usr/lib/*/gio/modules/giomodule.cache 1569s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1569s + echo 1..16 1569s + exit 1 1569s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1569s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1569s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1569s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1569s 1..16 1569s autopkgtest [13:36:46]: test 1065022-futureproofing: -----------------------] 1570s 1065022-futureproofing FLAKY non-zero exit status 1 1570s autopkgtest [13:36:47]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1572s autopkgtest [13:36:47]: @@@@@@@@@@@@@@@@@@@@ summary 1572s build PASS (superficial) 1572s build-static PASS (superficial) 1572s girepository-tools PASS (superficial) 1572s libgio-2.0-dev-bin PASS (superficial) 1572s libglib2.0-dev PASS (superficial) 1572s installed-tests PASS 1572s closure-refcount PASS 1572s debugcontroller PASS 1572s gdbus-server-auth PASS 1572s gdbus-threading PASS 1572s gmenumodel PASS 1572s mainloop PASS 1572s memory-monitor-dbus PASS 1572s socket PASS 1572s testfilemonitor PASS 1572s thread-pool-slow PASS 1572s threadtests PASS 1572s timeout PASS 1572s timer PASS 1572s 1065022-futureproofing FLAKY non-zero exit status 1 1576s nova [W] Using flock in prodstack6-s390x 1576s flock: timeout while waiting to get lock 1576s Creating nova instance adt-plucky-s390x-glib2.0-20250221-131036-juju-7f2275-prod-proposed-migration-environment-20-5a8bdd53-6444-4d7c-850a-57bdb1b70f3c from image adt/ubuntu-plucky-s390x-server-20250221.img (UUID 911778ad-2250-45eb-bdc8-6f3429c92c46)... 1576s nova [W] Timed out waiting for f0ea4b09-2fcd-46c5-9a8b-6343ba569153 to get deleted. 1576s nova [W] Using flock in prodstack6-s390x 1576s Creating nova instance adt-plucky-s390x-glib2.0-20250221-131036-juju-7f2275-prod-proposed-migration-environment-20-5a8bdd53-6444-4d7c-850a-57bdb1b70f3c from image adt/ubuntu-plucky-s390x-server-20250221.img (UUID 911778ad-2250-45eb-bdc8-6f3429c92c46)... 1576s nova [W] Timed out waiting for 8f82b6e5-cffb-4737-8f2f-90fd3f6cb0d7 to get deleted. 1576s nova [W] Using flock in prodstack6-s390x 1576s flock: timeout while waiting to get lock 1576s Creating nova instance adt-plucky-s390x-glib2.0-20250221-131036-juju-7f2275-prod-proposed-migration-environment-20-5a8bdd53-6444-4d7c-850a-57bdb1b70f3c from image adt/ubuntu-plucky-s390x-server-20250221.img (UUID 911778ad-2250-45eb-bdc8-6f3429c92c46)... 1576s nova [W] Timed out waiting for 6614e8ad-e4b3-4e0b-8bfd-972c7a7ba6de to get deleted. 1576s nova [W] Using flock in prodstack6-s390x 1576s flock: timeout while waiting to get lock 1576s Creating nova instance adt-plucky-s390x-glib2.0-20250221-131036-juju-7f2275-prod-proposed-migration-environment-20-5a8bdd53-6444-4d7c-850a-57bdb1b70f3c from image adt/ubuntu-plucky-s390x-server-20250221.img (UUID 911778ad-2250-45eb-bdc8-6f3429c92c46)... 1576s nova [W] Timed out waiting for 26b2f200-c109-43ed-9bf5-2829bffd6b83 to get deleted. 1576s nova [W] Using flock in prodstack6-s390x 1576s flock: timeout while waiting to get lock 1576s Creating nova instance adt-plucky-s390x-glib2.0-20250221-131036-juju-7f2275-prod-proposed-migration-environment-20-5a8bdd53-6444-4d7c-850a-57bdb1b70f3c from image adt/ubuntu-plucky-s390x-server-20250221.img (UUID 911778ad-2250-45eb-bdc8-6f3429c92c46)... 1576s nova [W] Timed out waiting for 53c41996-71b6-49d3-9e85-8ef023714276 to get deleted. 1576s nova [W] Using flock in prodstack6-s390x 1576s Creating nova instance adt-plucky-s390x-glib2.0-20250221-131036-juju-7f2275-prod-proposed-migration-environment-20-5a8bdd53-6444-4d7c-850a-57bdb1b70f3c from image adt/ubuntu-plucky-s390x-server-20250221.img (UUID 911778ad-2250-45eb-bdc8-6f3429c92c46)... 1576s nova [W] Timed out waiting for 82172f53-83f0-4c66-928e-1c977833bc0f to get deleted.